Sodamhan.com

TL;DR

bup

Backup system based on the Git packfile format, providing incremental saves and global deduplication. More information: https://github.com/bup/bup.

  • Initialize a backup repository in a given 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 specifying its name:

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

This document was created using the contents of the tldr project.