aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-11Merge branch 'master' of gitosis@labs.riseup.net:module_backupninjaMicah Anderson
2009-03-11the default value for sshoptions is 'false' and this value ends up gettingMicah Anderson
set into the rdiff config, so 'sshoptions = false' which results in the host attempting to connect to a hostname called 'false'. This change only includes it if the value is not 'false'.
2009-03-09fix the $when default parameter to use the correct syntaxMicah Anderson
If when is set to just '01:00' (as it was previously), then backups will never run due to the time format being specified incorrectly. Backupninja considers '01:00' to be the day of the week and every time it wakes up to see if it is time to do a backup it determines that it is currently not the day "01:00" and so it shouldn't do a backup now. In otherwords, it will never do a backup at this rate. I've filed a bug for this issue, because it probably should at least let you know that you've failed. https://labs.riseup.net/code/issues/show/640
2009-01-03Merge branch 'master' of gitosis@labs.riseup.net:module_backupninjaMicah Anderson
2009-01-03upgrade backupninja version to the version that will be shipped with lennyMicah Anderson
2008-12-08setup rdiff handler template to work properly for different versions of puppetMicah Anderson
2008-12-07switch to the correct method nameMicah Anderson
2008-12-05Merge branch 'master' of gitosis@labs.riseup.net:module_backupninjaMicah Anderson
2008-12-05Change to the new format required in templates now that scope is no longer ↵Micah Anderson
availble in templates since 0.24.6: http://projects.reductivelabs.com/issues/show/1177
2008-10-16err, meant to upgrade the backupninja package here, not the rdiff oneMicah Anderson
2008-10-16update backupninja version to newest version in BPO. this enables etch ↵Micah Anderson
machines to talk to lenny
2008-10-06change the default order for the maildir handler to be 99, becauseMicah Anderson
this handler runs continuously its better if all the other handlers have run before this one is started (such as the rdiff-backup one)
2008-10-06update backupninja package to the version that is in lennyMicah Anderson
2008-08-31update the details in the backupninja READMEMicah Anderson
2008-08-08fix remove, should default to false instead of 'no'Micah Anderson
2008-08-08fix typoMicah Anderson
2008-08-08adding the ability to specify how much maildir backups to keepMicah Anderson
2008-08-08standardize the spacing/indentationMicah Anderson
2008-08-06update to latest backupninjaMicah Anderson
2008-08-01fix one screw up from last commit.Pietro
2008-07-31change permissions to octals.Pietro
2008-07-31standardize formattingMicah Anderson
2008-07-31allow for a resource override of managing the ssh directoryMicah Anderson
2008-07-31remove extraneous curly braceMicah Anderson
2008-07-31enable the ability to override if the ssh directory is managed or not, inMicah Anderson
situations where there is a system-wide /etc/ssh/authorized_keys directory, this will likely not be managed by the backupninja module, and managing it here will result in duplicate definitions
2008-07-31change to standardized formattingMicah Anderson
2008-07-31more formatting changesMicah Anderson
2008-07-31fix directory bug that was causing the home directory to be prepended to the ↵Micah Anderson
beginning of the $sshdir
2008-07-31move to standardized spacing and indentationMicah Anderson
2008-07-31add missing parameter for Backupninja::Rdiff typeMicah Anderson
2008-07-31re-add accidentally removed opening braceMicah Anderson
2008-07-31setup the backupninja module to enable specification of the locationMicah Anderson
of the ssh authorized_keys directories and files so that if you are not using the standard location for authorized_keys files ($HOME/.ssh/authorized_keys) and instead using the /etc/ssh/sshd_config option "AuthorizedKeysFile" you can then specify where that will be. For example, if your /etc/ssh/sshd_config has: AuthorizedKeysFile /etc/ssh/authorized_keys/$u then you could specify in the rdiff-backup definition the following parameters: ... ssh_dir => "/etc/ssh/authorized_keys", authorized_keys_file => "${hostname}", to create the file /etc/ssh/authorized_keys/${hostname} instead of the default location (if unspecifed, the default is used).
2008-07-08add some error checks to make sure necessary values are setMicah Anderson
2008-07-08unset some default values that probably shouldn't be setMicah Anderson
2008-07-08forgot the when parameter which is needed for this handlerMicah Anderson
2008-07-08changing order so it doesnt use the same one as the sys handler.Pietro
2008-07-08sh backupninja handler.Pietro
2008-07-08make new maildir piece to backupninja moduleMicah Anderson
2008-06-05need to set the variable to plural everywhereMicah Anderson
2008-06-05config option should be vservers pluralMicah Anderson
2008-06-05Add vsinclude option to rdiff handlerMicah Anderson
2008-06-03installkey uses true value now insteadMicah Anderson
2008-06-03fix incorrect variable definitionMicah Anderson
2008-06-03add a way to override the automatic tag creation based on hostnameMicah Anderson
set the backuptag on crabgrass to not use the default one, otherwise it wont be collected
2008-06-03add vserver support to backupninja configMicah Anderson
add vsnames support to mysql config
2008-05-31fix the case, 'doit' is no longer used, also set installuser to be default ↵Micah Anderson
as true
2008-05-30remove call that cannot be instantiated because the server class has not ↵Micah Anderson
been evaluated at this point
2008-05-30change from installkeys to installkeyMicah Anderson
when you have two rdiff-backup calls, then the User is a Duplicate definition, i think the only way to do it is to have a variable that you can set to turn off user handling (which we make $installuser and $usermanage be consistant with $installkey and $keymanage), which is set true by default, but when you have a second rdiff call on a host, you can set it to false
2008-05-30change the backupninja::client::key definition to use the $user variableMicah Anderson
change the $host variable to no longer use the $user variable, that way multiple rdiff's can be instantiated for a particular host, with different name variables in order to do that, the class also has to have the $installkeys variable that can be passed to backupninja::client::key so that the second rdiff instantiation would set installkeys => false, otherwise there will be an attempt to duplicate the resource
2008-05-30fix backupninja rdiff server sandbox to enable multiple rdiff definitions ↵Micah Anderson
differentiated by their name variable