Configure Kopia Backup System #41

Open
opened 2025-09-14 08:10:48 +00:00 by tonym · 0 comments
Owner

Kopia Backup System Configuration

Repository Setup

  • Initialize local repository:
    kopia repository create filesystem \
      --path=/backups/kopia-repo
    
  • Set repository password (store securely)
  • Configure compression (zstd recommended)

Snapshot Configuration

  • Create snapshot policy for appdata:
    kopia policy set --global \
      --keep-daily 7 \
      --keep-weekly 4 \
      --keep-monthly 3
    
  • Add paths to snapshot:
    • /mnt/cache/appdata/
    • /mnt/boot/config/
    • Database dumps directory

Schedule Setup

  • Configure automatic snapshots:
    kopia snapshot create /mnt/cache/appdata \
      --parallel=4 \
      --description="Daily appdata backup"
    
  • Set up cron/scheduler (every 4 hours)

Backblaze B2 Integration (Phase 3)

  • Create B2 bucket
  • Generate application key
  • Configure B2 repository:
    kopia repository create b2 \
      --bucket=unraid-backup \
      --key-id=YOUR_KEY_ID \
      --key=YOUR_KEY
    

Exclusions

  • Configure ignore rules:
    • *.tmp
    • *.cache
    • transcoding-temp/
    • downloads/incomplete/

Web UI Configuration

  • Enable web UI on port 51515
  • Set up authentication
  • Configure HTTPS (via NPM)

Testing & Validation

  • Perform test snapshot
  • Verify deduplication ratio
  • Test restore to alternate location
  • Verify file integrity
  • Document restore procedure
## Kopia Backup System Configuration ### Repository Setup - [ ] Initialize local repository: ```bash kopia repository create filesystem \ --path=/backups/kopia-repo ``` - [ ] Set repository password (store securely) - [ ] Configure compression (zstd recommended) ### Snapshot Configuration - [ ] Create snapshot policy for appdata: ```bash kopia policy set --global \ --keep-daily 7 \ --keep-weekly 4 \ --keep-monthly 3 ``` - [ ] Add paths to snapshot: - [ ] /mnt/cache/appdata/ - [ ] /mnt/boot/config/ - [ ] Database dumps directory ### Schedule Setup - [ ] Configure automatic snapshots: ```bash kopia snapshot create /mnt/cache/appdata \ --parallel=4 \ --description="Daily appdata backup" ``` - [ ] Set up cron/scheduler (every 4 hours) ### Backblaze B2 Integration (Phase 3) - [ ] Create B2 bucket - [ ] Generate application key - [ ] Configure B2 repository: ```bash kopia repository create b2 \ --bucket=unraid-backup \ --key-id=YOUR_KEY_ID \ --key=YOUR_KEY ``` ### Exclusions - [ ] Configure ignore rules: - *.tmp - *.cache - transcoding-temp/ - downloads/incomplete/ ### Web UI Configuration - [ ] Enable web UI on port 51515 - [ ] Set up authentication - [ ] Configure HTTPS (via NPM) ### Testing & Validation - [ ] Perform test snapshot - [ ] Verify deduplication ratio - [ ] Test restore to alternate location - [ ] Verify file integrity - [ ] Document restore procedure
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tonym/NastyNAS#41
No description provided.