forked from alexjurkiewicz/acts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
calsnap.conf.sample
76 lines (64 loc) · 2.21 KB
/
calsnap.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/bin/sh
# calsnap configuration file
## backuptargets MUST be set before use ##
# backuptargets
# Space-separated list of directories to backup, relative to /. This is a required option.
# Default: unset
#backuptargets="var etc home root"
# tarsnap
# What command to call for 'tarsnap'.
# Anything that should be used every time (like --configfile)
# should go here.
# Default: tarsnap
#tarsnap="nice -n19 ionice -c3 tarsnap" # Linux
# tarsnapbackupoptions
# What options to use ONLY when backing up.
# Note: this variable will be expanded by /bin/sh.
# Default: unset
tarsnapbackupoptions="--one-file-system --humanize-numbers"
# calltarsnap
# Wrapper function that invokes the tarsnap command.
# Use this when you need to run tarsnap in a pipeline.
# The actual tarsnap arguments and commands are passed via "$@".
# Default: calltarsnap() { $tarsnap "$@"; }
#calltarsnap() { pass show tarsnap-passphrase | $tarsnap --passphrase-stdin "$@"; }
# verbose
# Log verbosity. Output is written to stderr.
# -1 silent. 0=normal. 1=verbose. 2=debug.
# Default: 0
verbose=1
# hostname
# The machine name prefixed to created archives.
# Default: $(hostname -s)
#hostname=$(hostname)
# uselocaltime
# Use local time instead of UTC for the archive date and timestamps.
# Default: 0 (i.e. use UTC)
#uselocaltime=1
# prebackupscript
# This script is run before backups are created. Make sure it's executable.
# Default: unset
#prebackupscript=/root/calsnap-pre.sh
# postbackupscript
# This script is run after calsnap is otherwise finished. Make sure it's executable.
# All created backups are passed as args
# Default: unset
#postbackupscript=/root/calsnap-post.sh
# syslog
# If set, log output will be written to syslog with the given facility.
# eg, user, local0, ...
# Default: unset
#syslog=user
# lockfile
# Where calsnap should write its lockfile.
# Default: /var/run/calsnap
#lockfile=/tmp/calsnap
# How many backups of each type to keep
# For all limits, 0 means keep indefinitely
# Defaults: 31 daily, 26 weekly (i.e. 6 months), 12 monthly, 4 quarterly, and yearly indefinitely
# Recommended: 7 daily, 4 weekly, 3 monthly, 4 quarterly, and yearly indefinitely
#dailybackups=31
#weeklybackups=26
#quarterlybackups=4
#monthlybackups=12
#yearlybackups=0