backup-recovery

Implement comprehensive backup strategies.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "backup-recovery" with this command: npx skills add bagelhole/devops-security-agent-skills/bagelhole-devops-security-agent-skills-backup-recovery

Backup and Recovery

Implement comprehensive backup strategies.

rsync Backups

Basic sync

rsync -avz --delete /source/ /backup/

Remote backup

rsync -avz -e ssh /data/ user@backup:/backups/

Incremental with hard links

rsync -avz --delete --link-dest=/backup/latest /source/ /backup/$(date +%Y%m%d)/

Restic Backup

Initialize repository

restic init --repo /backups

Backup

restic backup /data --repo /backups

List snapshots

restic snapshots --repo /backups

Restore

restic restore latest --target /restore --repo /backups

Prune old backups

restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --prune

Cloud Backup

AWS S3 with restic

restic init --repo s3:s3.amazonaws.com/bucket-name restic backup /data --repo s3:s3.amazonaws.com/bucket-name

GCS

restic init --repo gs:bucket-name:/

Best Practices

  • Follow 3-2-1 rule

  • Test recovery regularly

  • Encrypt backups

  • Document procedures

  • Monitor backup success

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

linux-administration

No summary provided by upstream source.

Repository SourceNeeds Review
Security

sops-encryption

No summary provided by upstream source.

Repository SourceNeeds Review
Security

linux-hardening

No summary provided by upstream source.

Repository SourceNeeds Review
Security

windows-server

No summary provided by upstream source.

Repository SourceNeeds Review