Skip to content

feat(backup): Add 3-2-1 backup strategy with Duplicati + Restic#324

Open
ljapptest-art wants to merge 1 commit intoillbnm:masterfrom
ljapptest-art:feature/backup-stack
Open

feat(backup): Add 3-2-1 backup strategy with Duplicati + Restic#324
ljapptest-art wants to merge 1 commit intoillbnm:masterfrom
ljapptest-art:feature/backup-stack

Conversation

@ljapptest-art
Copy link

Implements Issue #12 - 3-2-1 backup strategy with Duplicati, Restic, unified backup script, and disaster recovery documentation.

Services

  • Duplicati 2.0.8 (encrypted cloud backup)
  • Restic REST Server 0.13.0 (local repository)

Backup Script Features

  • 5 backup targets: local, S3, B2, SFTP, R2
  • 4 operations: backup, list, verify, restore
  • Dry-run mode
  • Notification via ntfy

Documentation

  • Disaster recovery guide (4 scenarios)
  • Scheduled backup configuration
  • Monitoring checklist

Validation

  • ✅ YAML syntax verified
  • ✅ Script syntax verified (bash -n)
  • ✅ Image versions match Issue requirements

Closes #12

- Docker Compose with exact versions per Issue illbnm#12:
  - lscr.io/linuxserver/duplicati:2.0.8
  - restic/rest-server:0.13.0

- Unified backup script (scripts/backup.sh):
  - 5 backup targets: local, S3, B2, SFTP, R2
  - 4 operation modes: backup, list, verify, restore
  - Dry-run support
  - Notification via ntfy

- Disaster recovery documentation:
  - 4 recovery scenarios
  - Step-by-step procedures
  - Scheduled backup configuration
  - Monitoring checklist

- Features:
  - PostgreSQL, Redis, MariaDB backup
  - Configuration backup
  - Combined archives
  - Retention policy (configurable)
  - Cloud upload support

Closes illbnm#12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOUNTY $150] Backup & DR — 自动备份 + 灾难恢复

1 participant