Skip to content

Sanitization policies

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

Using environment configuration, you can configure how file backups. for eg. you might not want to backup system files which are autogenerated or are assets downloaded or are 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