1btrfs-sxbackup-init(1) btrfs-sxbackup-init(1)
2
3
4
6 btrfs-sxbackup-init - Initialize a backup job
7
9 btrfs-sxbackup init [-h] [-sr <source_retention>] [-dr <destina‐
10 tion_retention>] [-c] <source_subvolume> <destination_subvolume>
11
13 Initialize a btrfs-sxbackup job.
14
16 <source_subvolume>
17 source subvolume to backup. local path or ssh url
18
19 <destination_subvolume>
20 destination subvolume receiving backup snapshots. local path or
21 ssh url
22
23 -h, --help
24 show help message and exit
25
26 -sr <source_retention>, --source-retention <source_retention>
27 expression defining which source snapshots to retain/cleanup.
28 can be a static number (of backups) or more complex expression
29 like "1d:4/d, 1w:daily, 2m:none" literally translating to: "1
30 day from now keep 4 backups a day, 1 week from now keep daily
31 backups, 2 months from now keep none"
32
33 -dr <destination_retention>, --destination-retention <destina‐
34 tion_retention>
35 expression defining which destination snapshots to
36 retain/cleanup. can be a static number (of backups) or more com‐
37 plex expression (see --source-retention argument)
38
39 -c, --compress
40 enables compression during transmission. Requires lzop to be
41 installed on both source and destination
42
44 btrfs-sxbackup(1)
45
46
47
48Marco Schindler 0.5.9 btrfs-sxbackup-init(1)