Configure backups

  1. Create and configure an S3 backup bucket

  2. Configure the AWS CLI

  3. In the server’s Pillar file, set backup.location to a bucket and prefix, and backup.directories to a list of paths. You can annotate what a path must match, for example:

    backup:
      location: ocp-coalition-backup/site
      directories:
        # Must match directory in coalition/init.sls.
        - /home/coalition/public_html/
    
  4. Deploy the server