backupninja-conf(5)
BACKUPNINJA.CONF – Configuration file(s) for backupninja (1).
Synopsis
/etc/backupninja.conf
Description
backupninja.conf is the general configuration file. In this file you can set the log level and change the default directory locations. You can force a different general configuration file with "backupninja -f /path/to/conf".
Options
loglevel- How verbose to make the logs.
5 = Debugging messages
4 = Informational messages
3 = Warnings
2 = Errors
1 = Fatal errors reportemail- Send a summary of the backup status to this email address
reportsuccess- If set to ‘yes’, a report email will be generated even if all modules reported success.
reportwarning- If set to ‘yes’, a report email will be generated even if there was no error.
logfile- The path of the logfile.
configdirectory- The directory where all the backup action configuration files live.
scriptdirectory- Where backupninja handler scripts are found
usecolors- If set to ‘yes’, use colors in the log file and debug output.
when- When to process each configuration file. The value used here will be applied for each configuration file. It is possibile to override this "when" in each each configuration file, see also section "Scheduling" in backup.d(5).
vservers- If you are using Linux-Vservers (http://linux-vserver.org), there are some special capabilities that different handlers have to make vserver backups easier. See the example configuration files for each handler to configure the vserver specific variables.
For example:
These values for ‘when’ are equivalent:
These values for ‘when’ are invalid:
Defaults
loglevel = 4
reportemail = root
reportsuccess = yes
reportwarning = yes
logfile = /var/log/backupninja.log
configdirectory = /etc/backup.d
scriptdirectory = /usr/share/backupninja
usecolors = yes
when = everyday at 01:00
vservers = no
See Also
backupninja(1), ninjahelper(1), backup.d(5),
Author
BACKUPNINJA was written by the riseup.net collective.