aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2007-11-20 03:14:55 +0000
committerMicah Anderson <micah@riseup.net>2007-11-20 03:14:55 +0000
commit794856bfff4f93066570f06280170609794e157a (patch)
tree47443fdbd76cf220711cfb4c2c1457b865e25598 /README
downloadpuppet-backupninja-794856bfff4f93066570f06280170609794e157a.tar.gz
puppet-backupninja-794856bfff4f93066570f06280170609794e157a.tar.bz2
add backupninja module
Diffstat (limited to 'README')
-rw-r--r--README32
1 files changed, 32 insertions, 0 deletions
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.