aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-17detect multiple vserver locationsAntoine Beaupre
2009-04-17try to refactor to detect vserver backupsAntoine Beaupre
2009-04-14remove the versioncmp function in the rdiff handler. This was a nice attempt ↵Micah Anderson
to try and support older puppets, but this functionality has not stabilized yet, 0.24.8 broke versioncmp and there looks like a new way coming. Its easier to be mean.
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-17fix resource tag exported from rdiff resources, install rdiff in the ↵Antoine Beaupre
rdiff-backup define
2009-01-17upgrade backupninja to new testing versionAntoine Beaupre
2009-01-14revert part of last commit: the backuptag is really based on the host ↵Antoine Beaupre
provided to the rdiff command and the host provided to the sandbox is the fqdn of the server
2009-01-14fix sandbox dependenciesAntoine Beaupre
2009-01-14default backup tag to fqdn, not specified hostAntoine Beaupre
2009-01-13rewrite nagios check scripts in perlAntoine Beaupre
2009-01-08run the nagios checks more regularlyAntoine Beaupre
2009-01-06add checkbackups cron job, fix multiple instances of passive service for ↵Antoine Beaupre
manually specified sandboxes
2009-01-06send the fqdn, not the specified host, to the sandbox so that it knows for ↵Antoine Beaupre
which host it's being configured
2009-01-06cosmetic changesAntoine Beaupre
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-11allow arbitrary keyfiles to be distributed alongside the rdiff pluginAntoine Beaupre
2008-12-11fix user initialisation. without this i was getting:Antoine Beaupre
Could not retrieve catalog: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: User[false] is already defined in file /etc/puppet/modules/backupninja/manifests/server.pp at line 103; cannot redefine at /etc/puppet/modules/backupninja/manifests/server.pp:103 on node alexandria.koumbit.net also add rsync and rdiff-backup on the backup server to make those methods work out of the box
2008-12-08Merge commit 'micah/master'Antoine Beaupre
Conflicts: templates/rdiff.conf.erb
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-06fix variable instanciation in templateAntoine Beaupre
2008-12-06replace the directory parameter by a home parameterAntoine Beaupre
the directory is now /rdiff-backup to avoid rdiff-backup overwriting the .ssh dir at every run
2008-12-06fix typo in mysql commitAntoine Beaupre
2008-12-06make the user depend on its home so it gets created properlyAntoine Beaupre
2008-12-06allow disabling the configfile parameter completely, put it in the config ↵Antoine Beaupre
file properly
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