aboutsummaryrefslogtreecommitdiff
path: root/handlers
AgeCommit message (Collapse)Author
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++)
2008-06-24lib/vserver: added vservers_running function, use it in sys handler (to ease ↵intrigeri
future fix for Trac#45)
2008-06-24dup: actually allow to backup only VServers, by relaxing $include testintrigeri
2008-06-24sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms ↵intrigeri
(Closes: Trac#39)
2008-06-24pgsql: clarify error message when backupdir does not existintrigeri
2008-06-24dup: warn about bandwithlimit being unused when desturl is setintrigeri
2008-06-24dup: support every duplicity-supported transport with new configuration ↵intrigeri
option desturl (Closes: #483712, #346040, Trac#2)
2008-06-23LDAP helper: make error message clearer when no supported backend is foundintrigeri
2008-06-23LDAP: support HDB backend just as the BDB oneintrigeri
2008-06-19add an option to maildir handler to enable you to specify a particularMicah Anderson
ssh identity file, defaulting to the expected /root/.ssh/id_rsa. This is important to have if you are trying to backup to a different user on a backuphost than other handlers are using. For example, if the rdiff handler is connecting to backalbatross@backupserver-pn using /root/.ssh/id_rsa for public key authentication, and you want to configure the maildir handler to connect as user backmaildir@backupserver-pn you will might want to specify a different identity file for that authentication (if you do not want to share the id file between the 'backalbatross' and 'backmaildir' users). Note: this cannot be accomplished with a ssh config file because that file is host based, ie. you can only specify one user per host specified in the config