Skip to main content

Sanitization policies

Skpr provides developers with a set of commands for orchestrating volume backup and restoring workflows

Using environment configuration, you can configure how to file backups. For example, you might not want to backup system files that are autogenerated or are assets downloaded or maintained elsewhere like CSS, JS or style folder.

Methods​

Profiles​

Profiles are predefined rules curated by the Skpr platform team, which you can apply to your project.

Example​

volumes:
public:
backup:
sanitize:
policies:
- no-policy
rules:
exclude:
- my-private-file.txt
private:
backup:
sanitize:
policies:
- drupal-private
rules:
exclude:
- my-private-file.txt

Sanitization Policy Custom Rules​

Available Profile(s)​

Drupal​

By default, our Drupal policy will automatically be applied to both public and private volumes when they are created.

---
drupal-public:
exclude:
- "styles/*"
- "css/*"
- "js/*"
- ".htaccess"
drupal-private:
exclude:
- ".php/*"
- "*.sql"
- ".htaccess"

More Information​

View our blog post on sanitization policies