aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-21fix backupkeys variableMicah Anderson
2008-05-21fix the tags up so that the host can be overridden if your backup host ↵Micah Anderson
declaration doesn't agree with your $fqdn
2008-05-21flip the override variables, when setting these, you are going to want to setMicah Anderson
$backupdir, not $backupdir_override
2008-05-21create a new backadmin ssh keyMicah Anderson
move backup keys into a 'backupkeys' directory make a ninjareport directory to contain the pieces for ninjareport move the backupninja::server definition for kakapo into site.pp, including the $backupdir definition add a backupkeys piece to the backupninja::server module which should install the key
2008-05-21I dont like how any of this is done, but it needs to be working again,Micah Anderson
and then made better later. The ninjareport is a pretty bad way of collecting all the backupninja reports into one email called the 'ninjareport' which contains all the hosts with backupninja problems, and a notice about any hosts that haven't reported in for a while. The way it works is each participating host has a limited command ssh key installed in /root/.ssh/id_rsa which enables it to rsync its /var/log/backupninja.log to ninja@admin:/var/lib/backupninja/reports/$hostname.log. After the backup runs on the host, it does this rsync. On v.admin, there is a /var/lib/backupninja/.ssh/authorized_keys which has the ssh public key part of each host's ssh key, command-limited to only allow an rsync of their backupninja.log file. There is a cronjob there that runs once a day and collects new logs and does some basic figuring and then collects those all into one email. There are *many* ways that this needs to be improved. From the puppet side, the approach is all wrong, and there is a lot of dupliacted configuration that is being done, it needs to be turned into a define and export and collection needs to be done. The whole thing needs to be redesigned from the ground up, but I don't have the mental space to do it right now, and it needs to work :(
2008-05-20harmonize spacing to be consistantMicah Anderson
2008-05-20fix minor spelling errorMicah Anderson
2008-05-20Some backupninja module updates from anarcat:Micah Anderson
Wed Apr 30 16:22:48 EDT 2008 anarcat@koumbit.org * remove read permissions on backup directory on group so that a sandbox user can't read other people's directories Wed Apr 30 16:01:53 EDT 2008 anarcat@koumbit.org * default the sandbox host to local ($fqdn) and depend on the sandbox directory properly Thu Mar 13 18:49:38 EDT 2008 anarcat@koumbit.org * create the backup directory along with the user
2008-05-17fix missing class implosionMicah Anderson
2008-05-17fix syntax errorsMicah Anderson
2008-05-17setup the backupninja configs for v.adminMicah Anderson
2008-05-17add a sys backupninja module pieceMicah Anderson
2008-05-17create a backupninja svn piece to the moduleMicah Anderson
2008-02-29fixed incorrect references to backup::clientMicah Anderson
2008-02-29install anarcats backupninja module changesMicah Anderson
2008-02-13upgrade to latest backupninjaMicah Anderson
2008-02-06add $configfile option, set to the default that is set in backupninjaMicah Anderson
2007-12-07add missing libdirMicah Anderson
2007-12-05fix up backupninja commit, add in chickadeeMicah Anderson
2007-11-20add backupninja moduleMicah Anderson