BACKUPNINJA.CONF(5)
π BACKUPNINJA.CONF β the general config file, bestie π
okay so you're here for backupninja.conf(5), the manual page for the config file of backupninja. pull up a chair, grab a strawberry π, we're doing this.
β¨ NAME β¨
BACKUPNINJA.CONF β the configuration file(s) for backupninja(1). yep that's the whole vibe. it's the conf, it's for backupninja, it's iconic. π
πΈ SYNOPSIS πΈ
/etc/backupninja.conf
that's the spot. that's where the main character lives. π
π¦ DESCRIPTION π¦
backupninja.conf is the general configuration file. this is where you set the log level and change the default directory locations. it's giving control room energy, fr fr.
and bestie, if you wanna be β¨differentβ¨, you can force a totally different general config file with backupninja -f /path/to/conf. live your truth. π
π OPTIONS π
one bullet per option, no skipping, no summarising, we don't do that here:
loglevelβ how verbose the logs get to be. pick your fighter:5= Debugging messages4= Informational messages3= Warnings2= Errors1= Fatal errors
reportpromβ produce prometheus metrics of backup status. heads up bestie, this one requiresprometheus-node-exporterto be installed β no exporter, no metrics, no cap. πreportemailβ send a summary of the backup status to this email address. slide into the inbox. π§reportsuccessβ if set to'yes', a report email gets generated even if all modules reported success. yes, even when everything went fine. she's thorough like that.reportinfoβ if set to'yes', info messages from handlers get sent into the email. more tea in the inbox, if that's your thing. π«reportwarningβ if set to'yes', a report email gets generated even if there was no error. yes, an email for nothing going wrong. obsessed.reportspaceβ if set to'yes', disk space usage gets included in the backup email report. so you always know how full the closet is. πreporthostβ where to rsync thebackupninja.logto be aggregated in a ninjareport. ninjareport. say it with me. ninjareport. π₯·reportuserβ what user to connect toreporthostto sync thebackupninja.log. who's logging in? it's this user.reportdirectoryβ where on thereporthostthe report should go. drop it off right there. π¦reportwrapβ number of columns the email report body should wrap to. aesthetics matter. πlogfileβ the path of the logfile. where the receipts live. π§Ύconfigdirectoryβ the directory where all the backup action configuration files live. all of them. the whole squad.admingroupβ the administration user group that is allowed to read/write configuration files inconfigdirectory. gatekeeping, but legally. πͺscriptdirectoryβ where backupninja handler scripts are found. that's where the workers hang out.usecolorsβ if set to'yes', use colors in the log file and debug output. π yes please obviouslywhenβ when to process each configuration file. the value used here gets applied to each configuration file. and yes, you can override this"when"in each individual configuration file β see also the"Scheduling"section inbackup.d(5). π
for example:
when = sundays at 02:00
when = 30th at 22
when = 30 at 22:00
when = everyday at 01 <-- the default
when = Tuesday at 05:00
these values for 'when' are equivalent:
when = tuesday at 05:30
when = TUESDAYS at 05
and these values for 'when' are invalid β do not do this, i'm begging:
when = tuesday at 2am
when = tuesday at 2
when = tues at 02
π DEFAULTS π
the out-of-the-box fits, bestie. this is what you get if you change nothing:
loglevel = 4
reportemail = root
reportsuccess = yes
reportinfo = no
reportspace = no
reporthost =
reportuser = ninja
reportdirectory = /var/lib/backupninja/reports
reportwrap = 1000
logfile = /var/log/backupninja.log
configdirectory = /etc/backup.d
admingroup = root
scriptdirectory = /usr/share/backupninja
usecolors = yes
when = everyday at 01:00
look at that. reporthost is just vibes and empty space. reportuser = ninja. iykyk. π₯·β¨
π SEE ALSO π
go read them. they're the extended universe. π
π AUTHOR π
BACKUPNINJA was written by the riseup.net collective. absolute legends, we love them, no notes. π«Ά
and that's a wrap on the backupninja package version of this page, dated November 19, 2005, brought to you by riseup. stan the riseup collective, go back up your stuff, and remember: the default is everyday at 01:00 so set an alarm or something. πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- debian bookworm: backupninja 1.2.2-1
- debian trixie: backupninja 1.2.2-1
- epel 10: backupninja 1.2.2-6.el10_0 Β· GPL-2.0-only
- epel 9: backupninja 1.2.2-1.el9 Β· GPLv2
- fedora 43: backupninja 1.2.2-8.fc43 Β· GPL-2.0-only
- fedora 44: backupninja 1.2.2-10.fc44 Β· GPL-2.0-only
- opensuse-leap 16.0: backupninja 1.2.2-bp160.1.9 Β· GPL-2.0-only
- opensuse-leap 16.0: backupninja 1.2.2-bp160.1.9 Β· GPL-2.0-only
- opensuse-leap 16.0: backupninja 1.2.2-bp160.1.9 Β· GPL-2.0-only
- opensuse-leap 16.0: backupninja 1.2.2-bp160.1.9 Β· GPL-2.0-only
- ubuntu noble: backupninja 1.2.2-1
- ubuntu resolute: backupninja 1.2.2-1build1
- ubuntu stonking: backupninja 1.2.2-1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms