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 reportinfo
39 If set to 'yes', info messages from handlers will be sent into
40 the email.
41
42
43 reportwarning
44 If set to 'yes', a report email will be generated even if there
45 was no error.
46
47
48 reportspace
49 If set to 'yes', disk space usage will be included in the backup
50 email report.
51
52
53 reporthost
54 Where to rsync the backupninja.log to be aggregated in a nin‐
55 jareport.
56
57
58 reportuser
59 What user to connect to reporthost to sync the backupninja.log
60
61
62 reportdirectory
63 Where on the reporthost should the report go.
64
65
66 reportwrap
67 Number of columns the email report body should wrap to.
68
69
70 logfile
71 The path of the logfile.
72
73
74 configdirectory
75 The directory where all the backup action configuration files
76 live.
77
78
79 admingroup
80 Administration user group that is allowed to read/write configu‐
81 ration files in configdirectory.
82
83
84 scriptdirectory
85 Where backupninja handler scripts are found.
86
87
88 usecolors
89 If set to 'yes', use colors in the log file and debug output.
90
91
92 when When to process each configuration file. The value used here
93 will be applied for each configuration file. It is possible to
94 override this "when" in each configuration file, see also sec‐
95 tion "Scheduling" in backup.d(5).
96
97 For example:
98
99 when = sundays at 02:00
100 when = 30th at 22
101 when = 30 at 22:00
102 when = everyday at 01 <-- the default
103 when = Tuesday at 05:00
104
105 These values for 'when' are equivalent:
106
107 when = tuesday at 05:30
108 when = TUESDAYS at 05
109
110 These values for 'when' are invalid:
111
112 when = tuesday at 2am
113 when = tuesday at 2
114 when = tues at 02
115
116
117
118 DEFAULTS
119
120 loglevel = 4
121 reportemail = root
122 reportsuccess = yes
123 reportinfo = no
124 reportspace = no
125 reporthost =
126 reportuser = ninja
127 reportdirectory = /var/lib/backupninja/reports
128 reportwrap = 1000
129 logfile = /var/log/backupninja.log
130 configdirectory = /etc/backup.d
131 admingroup = root
132 scriptdirectory = /usr/share/backupninja
133 usecolors = yes
134 when = everyday at 01:00
135
136
138 backupninja(1), ninjahelper(1), backup.d(5),
139
141 BACKUPNINJA was written by the riseup.net collective.
142
143
144
145riseup November 19, 2005 BACKUPNINJA.CONF(5)