borg
all
Deduplicating backup tool. Create local or remote backups that are mountable as filesystems.
More info →Examples (7)
Backup a directory into the repository, creating an archive called "Monday"
borg create --progress path/to/repo_directory::Monday path/to/source_directoryList all archives in a repository
borg list path/to/repo_directoryExtract a specific directory from the "Monday" archive in a remote repository, excluding all `*.ext` files
borg extract user@host:path/to/repo_directory::Monday path/to/target_directory --exclude '*.ext'Prune a repository by deleting all archives older than 7 days, listing changes
borg prune --keep-within 7d --list path/to/repo_directoryDisplay help on creating archives
borg create --helpmade by @shridhargupta | data from tldr-pages