dar

Archive and backup directory trees with compression and encryption support.

brewmacoslinux
Try with needOr install directly
Source

About

Backup directory tree and files

Commands

dardar_managerdar_slavedar_xfs

Examples

backup entire folder to compressed archive$ dar -c backup_name -R /path/to/folder
restore files from backup archive$ dar -x backup_name -R /restore/destination
encrypt backup with password$ dar -c backup_name -R /path/to/folder -K aes256 -J gzip
list files inside backup archive$ dar -l backup_name
create incremental backup from previous backup$ dar -c backup_incremental -R /path/to/folder -A backup_previous