aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-03-06 16:47:08 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-03-06 16:47:08 -0500
commit1ef94f1f2e49e032c6c416830345fc3b4beacb01 (patch)
tree4c6bc037e48bcfc75412d86f638e2cdbc118d8c7 /README
parentfa28702f46db802494872272ca50e0b1c37de09e (diff)
parentbab96a631337b87dd6f168f663f5b24537f58a5c (diff)
downloadpuppet-backupninja-1ef94f1f2e49e032c6c416830345fc3b4beacb01.tar.gz
puppet-backupninja-1ef94f1f2e49e032c6c416830345fc3b4beacb01.tar.bz2
Merge branch 'master' of https://git-nadir.immerda.ch/puppet-backupninja
Conflicts: manifests/rdiff.pp
Diffstat (limited to 'README')
-rw-r--r--README33
1 files changed, 30 insertions, 3 deletions
diff --git a/README b/README
index 5b7c2c9..a839193 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
Backupninja Module
-------------------
-This module helps you configure all of your backups with puppet, using
+This module helps you configure all of your backups with puppet, using
backupninja!
! Upgrade notice !
@@ -32,12 +32,12 @@ Configure your backup server
Now you will need to configure a backup server by adding the following
to your node definition for that server:
-
+
include backupninja::server
By configuring a backupninja::server, this module will automatically
create sandboxed users on the server for each client for their
-backups.
+backups.
You may also want to set some variables on your backup server, such as:
@@ -130,6 +130,33 @@ backupninja::config { conf:
}
+Automatic creation of ssh-keys for duplicity
+--------------------------------------------
+
+backupninja::duplicity can be used to
+
+- create an ssh keypair for a client
+- place the keypair on the puppetmaster in a given location
+- place the keypair in /root/.ssh on the client
+
+i.e.:
+
+ backupninja::duplicity { "duplicity_${::fqdn}":
+ sshoptions => "-oIdentityFile=/root/.ssh/backupninja_${::hostname}_id_rsa",
+ desthost => 'HOST',
+ destdir => "/var/backup/backupninja/${::fqdn}",
+ destuser => "backupninja_${::hostname}",
+ encryptkey => 'KEYID',
+ password => 'PW',
+ backupkeystore => 'puppet:///keys',
+ backupkeystorefspath => '/etc/puppet/modules/keys/files',
+ backupkeydestname => "backupninja_${::hostname}_id_rsa",
+ createkey => true,
+ installkey => true,
+ ...
+ }
+
+
Nagios alerts about backup freshness
------------------------------------