From 794856bfff4f93066570f06280170609794e157a Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 20 Nov 2007 03:14:55 +0000 Subject: add backupninja module --- README | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..dffa0ca --- /dev/null +++ b/README @@ -0,0 +1,32 @@ +Backupninja Module +------------------- + +Configure Backupninja handlers via Puppet. + +Simply include backupninja (to make sure you've got the package installed) +then configure backupninja: + +backupninja::config { conf: + loglvl => 3, + usecolors => false +} + +And setup your handlers: + +backupninja::mysql { all_databases: + user => root, + backupdir => '/var/backups', + compress => true, + sqldump => true +} + +backupninja::rdiff { backup_all: + directory => '/media/backupdisk', + include => ['/var/backups', '/home', '/var/lib/dpkg/status'], + exclude => '/home/*/.gnupg' +} + +At the moment, only the mysql and rdiff handlers have types defined for +them, as they're the only handlers we currently use at Solutions First. +Writing others is fairly simple; feel free to contribute them, or ask really +nicely and we might have a bit a free time. -- cgit v1.2.3