aboutsummaryrefslogtreecommitdiff
path: root/handlers
AgeCommit message (Collapse)Author
2010-05-02Implement Debian #535996 to use --full-if-older-thanOlivier Berger
2010-05-02Add full-if-older-than with half the keep durationolivier
2010-04-24dup: ignore anything but digits and "." when comparing versions (Closes: ↵intrigeri
#578987) I'd love to use "dpkg --compare-versions" but we don't want backupninja to be Debian-specific. Any similar tool? Signed-off-by: intrigeri <intrigeri@boum.org>
2010-03-06dup: use duplicity's --extra-clean option when necessaryintrigeri
This is necessary to get rid of unnecessary old cache files when cleaning up, when using duplicity >=0.6.01 that depends on local caching. Closes: #572721
2010-03-06sys: only run mdadm if RAID devices actually exist (Closes: #572450)intrigeri
2010-01-19add a few more 'formItem include' lines to the rdiff and dup handlersMicah Anderson
to improve the ninjahelper interface as requested by alster in redmine
2010-01-09rdiff: fix confusing error if rdiff-backup cannot be found on remote server.intrigeri
Thanks to maniacmartin <martin@maniacmartin.com> for the patch on which this one is based. This closes Redmine bug #1209.
2010-01-09dup: support backups to Amazon S3 bucketsintrigeri
Thanks to stefan <s.freudenberg@jpberlin.de> for the patch. This fixes Redmine bug #658.
2010-01-09rdiff,dup: fix include/exclude paths with spaces (Closes: #398435)intrigeri
This also fixes Redmine bug #1021.
2010-01-08ldap,mysql,pgsql: use bash pipefail option so that failed dumps are reported ↵intrigeri
as such This should fix Redmine bug #1340. This option makes pipelines return as status the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands exit successfully. See bash(1) for details. E.g. this prevents the following from exiting with status 0 (!) if pg_dumpall fails: pg_dumpall | gzip
2010-01-05Convert from debug to info so that it can be reported in the emailolivier
2010-01-05Add duplicity output line by line instead of with a whole at one time. ↵olivier
Should help fix #536360
2010-01-05Fix indentation of previously cherry-picked patchintrigeri
2010-01-05Cherry-picked "fixes for mysql handler for mysqld inside a vserver"intrigeri
This commit (64edfccf7684d9c080e734b25fa9361f0190afec) was wrongly committed to the debian branch. Conflicts: handlers/mysql.in
2009-12-31dup.helper: do not propose to exclude /home/*/.gnupg twice anymore (Closes: ↵intrigeri
#563044)
2009-12-25mysql, pgsql: Quote output filenamesintrigeri
... to support shell meta-characters in database names. Closes Redmine bug #617.
2009-12-25rsync: added vim and Emacs modelines for consistency's sakeintrigeri
2009-12-02adjust the comparison operators in the rsync handler, fixes #1473Micah Anderson
2009-11-19ldap, mysql, pgsql: use gzip's --rsyncable optionintrigeri
2009-11-06Enhanced rsync handler.Silvio Rhatto
- Added support for: - Remote destinations - Long rotation format similar to maildir handler - Batch files through --read-batch and --write-batch - Custom file list using --files-from - SSH persistent connection using ControlMaster - The rsync:// protocol - Metadata folder for each backup folder - General refactoring - Code cleanup Not all options were tested and it might contain bugs. Tests, comments and patches are welcome. :)
2009-09-23Fix missing $ in variable name, fixes: #1239Micah Anderson
2009-07-18dup: fixed bandwidth vs desturl testingintrigeri
2009-07-18dup: fixed bandwidthlimit testintrigeri
Thanks to Ian Beckwith <ianb@erislabs.net> for the patch.
2009-07-09added sshoptions variable to the maildir handler for arbitrary options that ↵Micah Anderson
you might need to pass updated the example.maildir to include this option, as well as detail the missing desid_file, destport
2009-05-23Add a vim modeline with indentation settings.Matthijs Kooijman
The modelines added match the emacs lines already present and also set the filetype to sh (just like the emacs lines).
2009-05-23Make all indentation consistent.Matthijs Kooijman
Previously, there were many indentation styles in use: Real tabs, 2, 3 or 4 spaces, mixing these within the same file, function or even within a single line. This commit changes all bash scripts in the handlers, src and lib dirs to use consistent indentation: three spaces are now used everywhere. Other files (e.g. Makefiles) are left untouched. Additionally, this commit removes all trailing whitespace.
2009-01-22sys: backup dmsetup info as well, for easier restoring of Luks headersintrigeri
2009-01-22sys: new lvm option to backup LVM metadata of every detected volume groupintrigeri
2009-01-22sys: new luksheaders option to backup the Luks header of every Luks deviceintrigeri
2009-01-12mysql: fix 'mysqladmin ping' use, see changelog for detailsintrigeri
2008-12-09mysql: new sqldumpoptions config variable (Closes: #502966)intrigeri
2008-08-08fix location of deleted_on file and add missing destid_file options in ↵Micah Anderson
maildir handler
2008-07-25update makecd handler to work with new toolsetMicah Anderson
2008-07-06 . make maildir helper look in every subdirectory of the source ↵Micah Anderson
directory for maildirs, rather than just looking in the directories [a-zA-Z0-9], thanks for the patch from chris@cenolan.com (Trac#43)
2008-06-29dup: added option --force to cleanup and remove-older-than commands, else ↵intrigeri
they actually do not do anything
2008-06-29sys: explain how to fix the issue on "debconf-get-selections missing" errorintrigeri
2008-06-25dup: set secure permissions on tmpdir when creating itintrigeri
2008-06-25sys: make debconf-get-selections detection on VServers really more robustintrigeri
2008-06-25sys: fix catifexec invocations with arguments to prevent "line 191: [: too ↵intrigeri
many arguments" error messages
2008-06-25sys: make error message clearer when debconf-get-selections can not be found ↵intrigeri
on the host
2008-06-25sys: typointrigeri
2008-06-25sys: fixed debconf-get-selections search in VServers, especially in case it ↵intrigeri
is not available on the host
2008-06-25sys: fix typointrigeri
2008-06-25stop failing on all the trac backups if just one failsMicah Anderson
2008-06-24fix missing which that intrigeri sawMicah Anderson
2008-06-24added more robust mdadm raid device capture, by actually scanning active ↵Micah Anderson
arrays via mdadm, rather than just catting the mdadm.conf file, which may be empty
2008-06-24fixed catifexec function to actually work, also now takes arguments that are ↵Micah Anderson
passed, thanks to a report from John Hallam
2008-06-24add the ability to save the debconf package selection states in the sys ↵Micah Anderson
handler, which aides in restoring installed packages with the right choices made
2008-06-24sys: support selection of VServers to run on with the new vsnames ↵intrigeri
configuration option (Closes: Trac#45)
2008-06-24pgsql, mysql, svn: use new vservers_running function from lib/vserver ↵intrigeri
(factorization++)