borgbackup

Deduplicating backup tool with compression and encryption

brewmacoslinux
Try with needOr install directly
Source

About

Deduplicating archiver with compression and authenticated encryption

Commands

borg

Examples

backup a folder to an encrypted archive$ borg create /path/to/backup/repo::backup-name /home/user/documents
list all backups in a repository$ borg list /path/to/backup/repo
restore files from a backup$ borg extract /path/to/backup/repo::backup-name /path/to/restore
show backup size and deduplication savings$ borg info /path/to/backup/repo::backup-name
delete old backups to free up space$ borg prune /path/to/backup/repo --keep-daily 7 --keep-weekly 4