1bup-ftp(1) bup-ftp(1)
2
3
4
6 bup-ftp - ftp-like client for navigating bup repositories
7
9 bup ftp
10
12 bup ftp is a command-line tool for navigating bup repositories. It has
13 commands similar to the Unix ftp(1) command. The file hierarchy is the
14 same as that shown by bup-fuse(1) and bup-ls(1).
15
16 Note: if your system has the python-readline library installed, you can
17 use the <tab> key to complete filenames while navigating your backup
18 data. This will save you a lot of typing.
19
21 The following commands are available inside bup ftp:
22
23 ls [-s] [-a] [path]
24 print the contents of a directory. If no path argument is giv‐
25 en, the current directory's contents are listed. If -a is giv‐
26 en, also include hidden files (files which start with a . char‐
27 acter). If -s is given, each file is displayed with its hash
28 from the bup archive to its left.
29
30 cd dirname
31 change to a different working directory
32
33 pwd print the path of the current working directory
34
35 cat filenames...
36 print the contents of one or more files to stdout
37
38 get filename localname
39 download the contents of filename and save it to disk as local‐
40 name. If localname is omitted, uses filename as the local name.
41
42 mget filenames...
43 download the contents of the given filenames and stores them to
44 disk under the same names. The filenames may contain Unix file‐
45 name globs (*, ?, etc.)
46
47 help print a list of available commands
48
49 quit exit the bup ftp client
50
52 $ bup ftp
53 bup> ls
54 mybackup/ yourbackup/
55
56 bup> cd mybackup/
57 bup> ls
58 2010-02-05-185507@ 2010-02-05-185508@ latest@
59
60 bup> cd latest/
61 bup> ls
62 (...etc...)
63
64 bup> get myfile
65 Saving 'myfile'
66 bup> quit
67
69 bup-fuse(1), bup-ls(1), bup-save(1), bup-restore(1)
70
72 Part of the bup(1) suite.
73
75 Avery Pennarun <apenwarr@gmail.com>.
76
77
78
79Bup 0.29.1 2017-03-26 bup-ftp(1)