-
Notifications
You must be signed in to change notification settings - Fork 0
/
ohsnap.conf.sample.in
35 lines (30 loc) · 1.22 KB
/
ohsnap.conf.sample.in
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
#
# @SYSCONFDIR@/ohsnap.conf -- configuration for ohsnap
#
# Where to write the backup files. Required.
destination='/fileserver/backup/hostname'
# Filesystems to backup. Required. If you specify a logical volume path, a
# snapshot will be taken (unless filesystem type is btrfs). If using btrfs, a
# snapshot will be taken using it's native capabilities.
# name(used_for_file_name):mount_point:logical_volume_path(optional)
filesystems='
root:/
vg001-home:/home:/dev/vg001/home
vg001-usr:/usr:/dev/vg001/usr
vg001-var:/var:/dev/vg001/var
vg001-pbuilder:/var/cache/pbuilder:/dev/vg001/pbuilder
vg001-music:/music:/dev/vg001/music
vg001-photos:/photos:/dev/vg001/photos
'
# Size of snapshot. This should be slightly larger than the amount of data that
# might be changed while the snapshot is active. See snapshot section of
# lvcreate(8) man page for more information. Optional, default 1g.
snapshot_size='1g'
# How many backup cycles to retain. 0 = none. Optional, default 0.
cycles='1'
# How to compress? Any program that accepts input from STDIN and writes to
# STDOUT may be used. Default, auto. none = no compression.
compress='auto'
# If you use compress = auto these settings will be ignored,
compress_opts='auto'
compress_ext='auto'