tldr/pages/common/bup.md
Marco Bonelli 2599a6de48 Refactor: change "folder" to "directory" where needed.
This commit fixes every instance in which the word "folder" is
incorrectly used instead of "directory".
2019-02-13 20:51:04 +05:30

707 B

bup

Backup system based on the git packfile format, providing fast incremental saves and global deduplication.

  • Initialize a backup repository in the specified local directory:

bup -d {{path/to/repository}} init

  • Prepare a given directory before taking a backup:

bup -d {{path/to/repository}} index {{path/to/directory}}

  • Backup a directory to the repository:

bup -d {{path/to/repository}} save -n {{backup_name}} {{path/to/directory}}

  • Show the backup snapshots currently stored in the repository:

bup -d {{path/to/repository}} ls

  • Restore a specific backup snapshot to a target directory:

bup -d {{path/to/repository}} restore -C {{path/to/target_directory}} {{backup_name}}