--- name: backup-automator description: Use this skill when the user asks to "setup backups", "automated backup", "backup to cloud", "backup database", "schedule backup", "encrypted backup", "backup to S3/B2", or mentions backing up data. version: 1.0.0 --- # Backup Automator Skill Sets up automated, encrypted backups to cloud storage with scheduling and retention policies. ## What It Does 1. **Scheduled Backups**: Automatic backup at defined intervals 2. **Encryption**: AES-256 encryption for all backup data 3. **Cloud Storage**: S3, Backblaze B2, SFTP 4. **Retention Policies**: Keep daily/weekly/monthly backups 5. **Database Support**: MySQL, PostgreSQL, MongoDB ## Quick Start ```bash # Install restic sudo apt install -y restic # Initialize repository restic init -r s3:s3.amazonaws.com/my-bucket # Backup files restic backup -r s3:bucket /home /var/www /etc # Apply retention restic forget -r s3:bucket --keep-daily 7 --keep-weekly 4 --prune ``` ## Usage ``` "Setup automated backups to S3" "Backup my database to Backblaze B2" "Create encrypted backup schedule" ```