From 604875cfd5f9c974b56d2d671c08ad8ce17ced3e Mon Sep 17 00:00:00 2001 From: Raffaele Mignone Date: Sat, 20 Oct 2018 13:12:30 +0200 Subject: [PATCH] bup: add page (#2454) --- pages/common/bup.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/bup.md diff --git a/pages/common/bup.md b/pages/common/bup.md new file mode 100644 index 0000000000..bd5e112fed --- /dev/null +++ b/pages/common/bup.md @@ -0,0 +1,23 @@ +# 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 folder before taking a backup: + +`bup -d {{path/to/repository}} index {{path/to/folder}}` + +- Backup a folder to the repository: + +`bup -d {{path/to/repository}} save -n {{backup_name}} {{path/to/folder}}` + +- 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}}`