Appearance
Backup
Backup of server files (source files, image files, video files, etc)
- Source files: We have our own repo on GitHub.
- Image/video files: They all are in buckets on AWS.
- nginx/PHP/supervisor/LetsEncrypt configurations: See
config/backup.phpand\App\Console\Commands\Tools\Backup - Database: See
config/backup.phpand\App\Console\Commands\Tools\Backup
Database Backup Details
This is using Spatie Laravel-Backup
The config file is noted config/backup.php
There is a ci script .github/workflows/database_recovery_check.yaml that can be run via the GitHub UI to test the integrity of the latest backup.
This will run per the schedule it has set as well run automatically on the first day of each month at 14:00 UTC.
Database Backup Recovery
The docs can be seen here it will use the features offered by Laravel Backup Restore
If it fails it will show up in GitHub actions as a fail and notify the team via
Database Backup TODO
- Setup notifications for failed backup integrity checks
- Verify these are working with S3 on a nightly basis