Don
[don@Lenovo-i5
~]$ bup
Usage:
bup [-?|--help] [-d BUP_DIR] [--debug] [--profile]
[options...]
Common
commands:
fsck
Check backup sets for damage and add redundancy information
ftp
Browse backup sets using an ftp-like client
fuse
Mount your backup sets as a filesystem
help
Print detailed help for the given command
index
Create or display the index of files to back up
on
Backup a remote machine to the local one
restore
Extract files from a backup set
save
Save files into a backup set (note: run "bup index"
first)
tag
Tag commits for easier access
web
Launch a web server to examine backup sets
Other
available commands:
bloom
damage import-rdiff-backup join
margin midx on--server
split xstat
cat-file
drecurse import-rsnapshot list-idx
memtest mux random
tick
daemon
import-duplicity init ls
meta newliner server
version
See
'bup help COMMAND' for more information on a specific command.
[don@Lenovo-i5
~]$ bup index
error:
'/home/don/.bup/' is not a bup repository; run "bup init"
[don@Lenovo-i5
~]$ bup init
Initialized
empty Git repository in /home/don/.bup/
[don@Lenovo-i5
~]$ bup index
usage:
bup index <-p check="" clear="" m="" s="" u=""> [options...]
-p>
Modes:
-p,
--print print the index entries for the given names (also
works with -u)
-m,
--modified print only added/deleted/modified files (implies
-p)
-s,
--status print each filename with a status char (A/M/D)
(implies -p)
-u,
--update recursively update the index entries for the given
file/dir names (default if no mode is specified)
--check
carefully check index file integrity
--clear
clear the default index
Options:
-H,
--hash print the hash for each object next to its name
-l,
--long print more information about each file
--no-check-device don't
invalidate an entry if the containing device changes
--fake-valid
mark all index entries as up-to-date even if they aren't
--fake-invalid
mark all index entries as invalid
-f,
--indexfile ... the name of the index file (normally
BUP_DIR/bupindex)
--exclude
... a path to exclude from the backup (may be repeated)
--exclude-from
... skip --exclude paths in file (may be repeated)
--exclude-rx
... skip paths matching the unanchored regex (may be repeated)
--exclude-rx-from ... skip
--exclude-rx patterns in file (may be repeated)
-v,
--verbose increase log output (can be used more than once)
-x,
--xdev, --one-file-system don't cross filesystem boundaries
error:
update mode (-u) requested but no paths given
[don@Lenovo-i5
~]$ bup index /home/don/.bup/
Indexing:
25, done (2859 paths/s).
[don@Lenovo-i5
~]$ ftp
ftp>
192.168.1.100
?Invalid
command
ftp>
ftp 192.168.1.100
?Invalid
command
ftp>
list
?Invalid
command
ftp>
dir
Not
connected.
ftp>
exit
[don@Lenovo-i5
~]$ web
bash:
web: command not found
[don@Lenovo-i5
~]$ bup web
Serving
HTTP on 127.0.0.1:8080...
Handling
request for /
WARNING:tornado.access:404
GET /favicon.ico (127.0.0.1) 26.99ms
WARNING:tornado.access:404
GET /favicon.ico (127.0.0.1) 0.68ms
Handling
request for /
Handling
request for /.commit/
Handling
request for /.tag/
Handling
request for /
Handling
request for /
Handling
request for /.commit/
Handling
request for /.tag/
exit
bup
ftp
Handling
request for /
Handling
request for /
Handling
request for /
Go there...