-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbdsync-manager.conf.sample
39 lines (35 loc) · 1.33 KB
/
bdsync-manager.conf.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[DEFAULT]
local_bdsync_bin = /usr/local/bin/bdsync
remote_bdsync_bin = /usr/local/bin/bdsync
connection_command = ssh -p 2200 [email protected]
target_patch_dir = bdsync-patches
bdsync_args = --diffsize=resize
lvm_snapshot_enabled = yes
lvm_snapshot_size = 5G
lvm_snapshot_name = bdsync-snapshot
lvm_program_path = /sbin/lvm
# do not try to create the target if it is missing
create_target_if_missing = False
[example-root]
# the raw root partition is copied without snapshotting to a remote file
source_path = /dev/sda1
target_path = bdsync/example-root.img
lvm_snapshot_enabled = no
[example-home]
# the home volume is copied safely with LVM snapshotting
source_path = /dev/lvm-foo/example-home
target_path = bdsync/example-home.img
[example-mail]
# this task is currently disabled
source_path = /dev/lvm-foo/example-mail
target_path = bdsync/example-mail.img
disabled = True
[example-home-2nd]
# for the paranoid: copy the home volume again to an alternative backup location with a blockdevice target
source_path = /dev/lvm-foo/example-home
target_path = /dev/lvm-backups/foo-home
connection_command = ssh [email protected]
bandwidth_limit = 1M
# LVM blockdevices may differ in size (due to the configured extent size).
# You need to make sure on your own that the target is bigger than the source.
bdsync_args = --diffsize=minsize