cogboard
cogboard copied to clipboard
Setup backups
Short Description
We want to backup internal boards.
Solution (optional)
Use S3.
Acceptance Criteria
- [x] Backups are created automatically once a day
- [x] X number of backups stored and rotated
- [x] Admin can restore the boards form backup
Additional context (optional)
N/A
Done. Currently, 10 backups are stored on S3. Restoring procedure brings back board data and starts boards that were active during backup creation.
Backup script is called ./backup.sh - it can be called manually and it's called automatically every day at 3am.
Restoring script is called ./restore.sh - it can be called manually. It requires one argument - the name of the backup to use.
Tested & accepted