1bup-ftp(1) bup-ftp(1)
2
3
4
6 bup-web - Start web server to browse bup repositiory
7
9 bup web [[hostname]:port]
10
11 bup web unix://path
12
14 bup web starts a web server that can browse bup repositories. The file
15 hierarchy is the same as that shown by bup-fuse(1), bup-ls(1) and
16 bup-ftp(1).
17
18 hostname and port default to 127.0.0.1 and 8080, respectively, and
19 hence bup web will only offer up the web server to locally running
20 clients. If you'd like to expose the web server to anyone on your net‐
21 work (dangerous!) you can omit the bind address to bind to all avail‐
22 able interfaces: :8080.
23
24 When unix://path is specified, the server will listen on the filesystem
25 socket at path rather than a network socket.
26
27 A SIGTERM signal may be sent to the server to request an orderly shut‐
28 down.
29
31 –human-readable
32 display human readable file sizes (i.e. 3.9K, 4.7M)
33
34 –browser
35 open the site in the default browser
36
38 $ bup web
39 Serving HTTP on 127.0.0.1:8080...
40 ^C
41 Interrupted.
42
43 $ bup web :8080
44 Serving HTTP on 0.0.0.0:8080...
45 ^C
46 Interrupted.
47
48 $ bup web unix://socket &
49 Serving HTTP on filesystem socket 'socket'
50 $ curl --unix-socket ./socket http://localhost/
51 $ fg
52 bup web unix://socket
53 ^C
54 Interrupted.
55
56 $ bup web &
57 [1] 30980
58 Serving HTTP on 127.0.0.1:8080...
59 $ kill -s TERM 30980
60 Shutdown requested
61 $ wait 30980
62 $ echo $?
63 0
64
66 bup-fuse(1), bup-ls(1), bup-ftp(1), bup-restore(1), kill(1)
67
69 Part of the bup(1) suite.
70
72 Joe Beda <jbeda@gmail.com>.
73
74
75
76Bup 0.29.1 2017-03-26 bup-ftp(1)