1btrfs-sxbackup(1) btrfs-sxbackup(1)
2
3
4
6 btrfs-sxbackup - a btrfs snapshot backup utility
7
9 btrfs-sxbackup [-h | --help] [-q | --quiet] [-v] [--version]
10
12 Btrfs snapshot backup utility with push/pull support via SSH, retenā
13 tion, email notifications, compression of transferred data, and syslog
14 logging.
15
17 -h, --help
18 show help message and exit
19
20 -q, --quiet
21 do not log to stdout
22
23 --version
24 show program's version number and exit
25
26 -v can be specified multiple times to increase verbosity
27
29 Initialize
30 Initialize a backup job pulling snapshots of subvolume / on remote host
31 myhost.org to local subvolume /backup/myhost:
32
33 btrfs-sxbackup init ssh://root@myhost.org:/ /backup/myhost
34
35 Initialize a backup job pushing snapshots of local subvolume / to
36 remote subvolume /backup/myhost on host mybackupserver.org:
37
38 btrfs-sxbackup init / ssh://root@mybackupserver.org:/backup/myhost
39
40
41 Run
42 Run a backup job:
43
44 btrfs-sxbackup run /backup/myhost
45
46
47 Cron
48 Cronjob performing a pull backup job:
49
50 # /etc/cron.d/btrfs-sxbackup
51 PATH="/usr/sbin:/usr/bin:/sbin:/bin"
52 30 2 * * * root btrfs-sxbackup run /backup/myhost
53
55 btrfs-sxbackup-init(1), btrfs-sxbackup-run(1), btrfs-sxbackup-info(1),
56 btrfs-sxbackup-update(1), btrfs-sxbackup-destroy(1),
57 btrfs-sxbackup-transfer(1)
58
59
60
61 0.5.8 btrfs-sxbackup(1)