recovery block. (This is also guaranteed if you use
`-s 1`.)
-# EXAMPLE
-
+# EXAMPLES
# make a backup in case things go horribly wrong
cp -a ~/.bup/objects/pack ~/bup-packs.bak
: print profiling information upon completion. Useful
when testing performance of the traversal algorithms.
-# EXAMPLE
-
+# EXAMPLES
bup drecurse -x /
# SEE ALSO
recovery blocks.
-# EXAMPLE
-
+# EXAMPLES
# generate recovery blocks for all packs that don't
# have them
bup fsck -g
: exit the `bup ftp` client
-# EXAMPLE
-
+# EXAMPLES
$ bup ftp
bup> ls
mybackup/ yourbackup/
: permit other users to access the filesystem. Necessary for
exporting the filesystem via Samba, for example.
-# EXAMPLE
-
+# EXAMPLES
rm -rf /tmp/buptest
mkdir /tmp/buptest
sudo bup fuse -d /tmp/buptest
This is currently equivalent to typing `man bup-<command>`.
-# EXAMPLE
-
+# EXAMPLES
+
$ bup help help
(Imagine that this man page was pasted below,
recursively. Since that would cause an endless loop
is updated; with two `-v`, print each file too.
-# EXAMPLE
-
+# EXAMPLES
bup index -vux /etc /var /usr
`~/.ssh/config` file.
-# EXAMPLE
-
+# EXAMPLES
bup init
`~/.ssh/config` file. Even though the data source is remote, a
local bup repository is still required.
-# EXAMPLE
-
+# EXAMPLES
# split and then rejoin a file using its tree id
TREE=$(tar -cvf - /etc | bup split -t)
bup join $TREE | tar -tf -
\--numeric-ids
: display numeric IDs (user, group, etc.) rather than names.
-# EXAMPLE
-
+# EXAMPLES
bup ls /myserver/latest/etc/profile
bup ls -a /
only really useful when used with `--predict`.
-# EXAMPLE
-
+# EXAMPLES
$ bup margin
Reading indexes: 100.00% (1612581/1612581), done.
40
searching for existing objects much worse than before.
-# EXAMPLE
-
+# EXAMPLES
$ bup memtest -n300 -c5
PackIdxList: using 1 index.
VmSize VmRSS VmData VmStk
be useful for debugging.
-# EXAMPLE
-
+# EXAMPLES
$ bup midx -a
Merging 21 indexes (2278559 objects).
Table size: 524288 (17 bits)
a tty, a progress display is printed that shows the
total number of files restored.
-# EXAMPLE
-
+# EXAMPLES
+
Create a simple test backup set:
$ bup index -u /etc
is 1 (fast, loose compression)
-# EXAMPLE
-
+# EXAMPLES
$ bup index -ux /etc
Indexing: 1981, done.
is 1 (fast, loose compression)
-# EXAMPLE
-
+# EXAMPLES
+
$ tar -cf - /etc | bup split -r myserver: -n mybackup-tar
tar: Removing leading /' from member names
Indexing objects: 100% (196/196), done.
: Overwrite the named tag even if it already exists. With -f, don't
report a missing tag as an error.
-# EXAMPLE
-
+# EXAMPLES
+
$ bup tag new-puppet-version hostx-backup
$ bup tag
slightly better than `sleep`(1) since it sometimes waits
for less than one second.
-# EXAMPLE
-
+# EXAMPLES
+
$ date; bup tick; date
Sat Feb 6 16:59:58 EST 2010
Sat Feb 6 16:59:59 EST 2010
--human-readable
: display human readable file sizes (i.e. 3.9K, 4.7M)
-# EXAMPLE
+# EXAMPLES
$ bup web
Serving HTTP on 127.0.0.1:8080...