misc fixes and improvements
[distro-setup] / machine_specific / kd / filesystem / etc / btrbk / root2.conf
1 snapshot_create onchange
2
3 snapshot_preserve_min 2h
4 snapshot_dir btrbk
5 target_preserve_min 2h
6
7
8 ssh_identity /root/.ssh/home
9 # Just a guess that local7 is a good facility to pick.
10 # It's a bit odd that the transaction log has to be logged to
11 # a file or syslog, while other output is sent to std out.
12 # The man does not mention a way for them to be together, but
13 # I dunno if setting a log level like warn might also output
14 # transaction info.
15 transaction_syslog local7
16
17 # trying this out
18 stream_compress zstd
19
20 archive_preserve_min latest
21
22 # so we only run one at a time
23 lockfile /var/lock/btrbkroot2.lock
24
25 # default format of short does not accomidate hourly preservation setting
26 timestamp_format long-iso
27
28 # dont make new snapshot, we only receive new snapshots
29 snapshot_create no
30
31 # if something fails and it's not obvious, try doing
32 # btrbk -l debug -v dryrun
33
34 rate_limit no
35 volume ssh://syw/mnt/root
36 snapshot_preserve 18h 14d 4w 24m
37 target_preserve 18h 14d 4w 24m
38 subvolume root_ubuntubionic
39 target send-receive /mnt/r7/amy/root/btrbk
40
41 volume ssh://syw/mnt/boot
42 snapshot_preserve 18h 14d 4w 6m
43 target_preserve 18h 14d 4w 6m
44 subvolume boot_ubuntubionic
45 target send-receive /mnt/r7/amy/boot/btrbk