Installation

On debian, just run apt-get install backupninja and then create backup action configuration files in /etc/backup.d/ using /usr/share/doc/backupninja/examples as inspiration.

To install manually, follow these steps:

Requirements: bash gawk

(highly) Recommended: rdiff-backup gzip hwinfo

Installation:

./configure
make
sudo make install  
These files are created:
  • /usr/sbin/backupninja -- main script
  • /etc/cron.d/backupninja -- runs main script every hour, sharp
  • /etc/logrotate.d/backupninja -- rotates backupninja.log
  • /etc/backup.d/ -- directory for configuration files
  • /etc/backupninja.conf -- general options, says when to be run
  • /usr/share/backupninja -- handler scripts which do the actual work

Configuration