From: Rob Browning Date: Sat, 27 Apr 2013 16:35:35 +0000 (-0500) Subject: bup-save.md: note that restoration requires --name or the commit/tree id. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=92f68b03ca764f37e9dcb163cbce1dc8547f2911;p=packages%2Fb%2Fbup.git bup-save.md: note that restoration requires --name or the commit/tree id. Signed-off-by: Rob Browning --- diff --git a/Documentation/bup-save.md b/Documentation/bup-save.md index 3926f1b..e71cb1f 100644 --- a/Documentation/bup-save.md +++ b/Documentation/bup-save.md @@ -16,6 +16,10 @@ bup save [-r *host*:*path*] \<-t|-c|-n *name*\> [-#] [-f *indexfile*] `bup save` saves the contents of the given files or paths into a new backup set and optionally names that backup set. +Note that in order to refer to your backup set later (i.e. for +restoration), you must either specify `--name` (the normal case), or +record the tree or commit id printed by `--tree` or `--commit`. + Before trying to save files using `bup save`, you should first update the index using `bup index`. The reasons for separating the two steps are described in the man page