diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2015-05-07 13:59:28 -0400 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2015-05-07 14:00:00 -0400 |
commit | e465032ecc82979ae8e4dce074970cb03273fe7d (patch) | |
tree | e6b2e2674862cdcaa414fefac461212485c38d55 /README | |
parent | fbddc25ee6e813ceffa88192fb607e63cebf8bba (diff) | |
parent | 873eb70ef87abfeaace2f4b0020626d01ad1bfe5 (diff) | |
download | puppet-backupninja-e465032ecc82979ae8e4dce074970cb03273fe7d.tar.gz puppet-backupninja-e465032ecc82979ae8e4dce074970cb03273fe7d.tar.bz2 |
Merge branch 'multi-backup'
Conflicts:
README
See merge request !5
Diffstat (limited to 'README')
-rw-r--r-- | README | 33 |
1 files changed, 28 insertions, 5 deletions
@@ -8,7 +8,7 @@ backupninja! If you were previously using this module, some pieces have changed, and you need to carefully change your use of them, or you will find -your backups could stop working. +your backups could stop working or get duplicated. The backupninja::client class has been renamed to backupninja, and is now *required* in all node manifests. Make sure the backupninja class @@ -24,12 +24,35 @@ $nagios_server. The $manage_nagios parameter also replaces the $use_nagios global. As for handlers, they don't include the backupninja::client anymore and -now read several default values from the backupninja base class. Most -handler declarations shouldn't need any changes. +now read several default values from the backupninja base class. If you +were using the rdiff-backup handler, read the following section +carefully. Other handlers have not changed in any significant way. -See below for dependencies which have been introduced in this version. +Changes to the rdiff-backup handler +----------------------------------- -Dependencies +You will need to make sure you change all of your "$directory" +parameters to be "$home" instead, and on your backupserver you will need +to move all of your backups into "$home"/rdiff-backup. Previously, they +were put in "$directory", which doubled as the home for the user that +was created. This caused problems with rdiff-backup because of dot files +and other things which were not part of any rdiff-backup. + +The rdiff resource name is now used as the subdirectory where rdiff +backups are sent. This was previously hardcoded to "rdiff-backup", but +in order to support multiple rdiff backups per host, we now use the +resource name. So if you were using the following resource: + + backupninja::rdiff { 'main': } + +You will want to use the following resource: + + backupninja::rdiff { 'rdiff-backup': } + file { '/etc/backup.d/90_main.rdiff': ensure => absent; } + +Otherwise your backups may be duplicated! + +Getting started --------------- This module requires Puppet versions 2.7 and up. |