Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

mozilla/deis-backup-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup daily Deis backups

  1. SSH into a Deis instance
  2. git clone https://github.com/glogiotatidis/deis-backup-service
  3. Edit units/deis-backup.service
  • AWS_ACCESS_KEY: AWS S3 Access Key
  • AWS_SECRET_KEY: AWS S3 Secret Key
  • AWS_BACKUP_BUCKET: AWS S3 Backup Bucket. Example masterfirefoxos-backup/deis
  • DEIS_DOMAIN: Deis Domain. Example masterfirefoxos.com
  • PASSPHRASE: Passphrase for gpg encryption of data uploaded to S3. Optional.
  • AWS_HTTPS: Use HTTPS to connect to S3. True or False. Optional defaults to True.
  • AWS_REDUCED_REDUNDANCY: Use AWS Reduced Redundancy. True or False. Optional defaults to False.
  1. fleetctl load deis-backup.service
  2. fleetctl load deis-backup.timer
  3. fleetctl start deis-backup.timer

You don't need to start deis-backup.service, timer service will take care of that when it's time.

fleectl list-units should list both services like this

  • deis-backup.service 5277b5e9.../10.21.2.84 inactive dead
  • deis-backup.timer 5277b5e9.../10.21.2.84 inactive waiting

If you want to change the frequency of the backups, edit deis-backup.timer unit and adjust OnCalendar entry to your needs. You can read more about the Timer format on systemd.timer documenation.

About

Fleet units and dockerfile to backup Deis

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published