auberge backup sync
Create backup, push to restic, prune, and clean up local staging
auberge backup sync [OPTIONS]# Alias: auberge b sOptions
Section titled “Options”-H, --host- Target host (interactive if omitted)-a, --apps- Apps to backup (comma-separated, default: all)-k, --ssh-key- SSH private key (default: ~/.ssh/identities/{host}/{user})--include-music- Include music files in Navidrome backup-n, --dry-run- Preview the full pipeline without making changes
Pipeline
Section titled “Pipeline”- Create — rsync app data from VPS to local timestamped directory
- Push — push the local backup to the offsite restic repository
- Prune — apply retention policy (7 daily, 4 weekly, 12 monthly)
- Cleanup — delete the local timestamped staging directory
The local staging copy is ephemeral — restic handles long-term retention with content-addressable, deduplicated storage.
Prerequisites
Section titled “Prerequisites”Same as backup push — requires restic_repository and restic_password config values, plus restic and rclone installed.
Examples
Section titled “Examples”# Full sync for a specific hostauberge backup sync --host myserver
# Sync specific apps onlyauberge backup sync --host myserver --apps baikal,freshrss
# Dry run (only runs create in dry-run mode, shows what would happen next)auberge backup sync --host myserver --dry-run
# Include music in Navidrome backupauberge backup sync --host myserver --include-music