1BACKUPNINJA.CONF(5) backupninja package BACKUPNINJA.CONF(5)
2
3
4
6 BACKUPNINJA.CONF - Configuration file(s) for backupninja (1).
7
8
10 /etc/backupninja.conf
11
13 backupninja.conf is the general configuration file. In this file you
14 can set the log level and change the default directory locations. You
15 can force a different general configuration file with "backupninja -f
16 /path/to/conf".
17
18
20 loglevel
21 How verbose to make the logs.
22 5 = Debugging messages
23 4 = Informational messages
24 3 = Warnings
25 2 = Errors
26 1 = Fatal errors
27
28
29 reportemail
30 Send a summary of the backup status to this email address
31
32
33 reportsuccess
34 If set to 'yes', a report email will be generated even if all
35 modules reported success.
36
37
38 reportwarning
39 If set to 'yes', a report email will be generated even if there
40 was no error.
41
42
43 logfile
44 The path of the logfile.
45
46
47 configdirectory
48 The directory where all the backup action configuration files
49 live.
50
51
52 scriptdirectory
53 Where backupninja handler scripts are found
54
55
56 usecolors
57 If set to 'yes', use colors in the log file and debug output.
58
59
60 when When to process each configuration file. The value used here
61 will be applied for each configuration file. It is possible to
62 override this "when" in each configuration file, see also sec‐
63 tion "Scheduling" in backup.d(5).
64
65 For example:
66
67 when = sundays at 02:00
68 when = 30th at 22
69 when = 30 at 22:00
70 when = everyday at 01 <-- the default
71 when = Tuesday at 05:00
72
73 These values for 'when' are equivalent:
74
75 when = tuesday at 05:30
76 when = TUESDAYS at 05
77
78 These values for 'when' are invalid:
79
80 when = tuesday at 2am
81 when = tuesday at 2
82 when = tues at 02
83
84
85 vservers
86 If you are using Linux-Vservers (http://linux-vserver.org),
87 there are some special capabilities that different handlers have
88 to make vserver backups easier. See the example configuration
89 files for each handler to configure the vserver specific vari‐
90 ables.
91
92
94 loglevel = 4
95 reportemail = root
96 reportsuccess = yes
97 reportwarning = yes
98 logfile = /var/log/backupninja.log
99 configdirectory = /etc/backup.d
100 scriptdirectory = /usr/share/backupninja
101 usecolors = yes
102 when = everyday at 01:00
103 vservers = no
104
105
107 backupninja(1), ninjahelper(1), backup.d(5),
108
110 BACKUPNINJA was written by the riseup.net collective.
111
112
113
114riseup November 19, 2005 BACKUPNINJA.CONF(5)