aboutsummaryrefslogtreecommitdiff
path: root/handlers
AgeCommit message (Collapse)Author
2014-02-22Added SIGN_PASSPHRASE support for dup handler.Dominik George
2014-02-22dup: Fix buggy version comparison. (Redmine#6746)intrigeri
2014-02-22Make logic consistent with what we're using elsewhere.intrigeri
Without this change, e.g. 0.5.20 would not get --extra-clean, while it should. Granted, the new test is buggy too, e.g. 0.7.1 will get --extra-clean, while it should not. Will report that to Redmine.
2014-02-22Fix #6357 - Don't remove useful signature filesAlexander Mette
duplicity >=0.6.20 now correctly removes useless signature files and therefore the cache directory doesn't grow infinitely any more. Using --extra-clean removes all signatures except from the last chain and so renders older chains unusable, don't use it by default any more. See: https://bugs.launchpad.net/duplicity/+bug/519948
2014-02-22mysql: fix non-qualified table name extraction (Closes: Redmine#4373).intrigeri
2014-02-22rdiff.helper: don't give misleading information regarding required fields ↵intrigeri
(Closes: Redmine#4410).
2013-12-26mysql: make "nodata" option compatible with compress=no.intrigeri
2013-10-26Solve quoting issue with "su" (debian #683731) (upstream #4019)bug/4019Silvio Rhatto
A fix for debian #677410 on commit 29dcdbae introduces a new issue on wheezy machines where some rsync_options gets out of the rsync command quotes when invoked by su. As reported, running backupninja through `bash -x` shows that the `--delete` option from the rsync command is not included in the single quote for the `su -c` command: nice -n 0 su -c '/usr/bin/rsync -av' --delete '--recursive --delete-excluded //home/ /tmp/test//home//' This patch attempt to solve that issue by using the intermediary variable $command.
2013-09-23Delete trailing whitespace.intrigeri
2013-09-20add additional sys backup options to provide the ability to backup the MBR ↵Micah Anderson
for every device found, and to backup the BIOS (if the flashrom program is installed, and the mainboard is supported)
2013-09-20fix capitalization of LUKSMicah Anderson
2013-09-20fix missing autoconf marker for @SED@Micah Anderson
2013-09-20fix luks header backup to properly detect partitionsMicah Anderson
previously the code was modeled off of the partition backup methodology, this resulted in the code only attempting to detect luks on actual devices, and not on partitions. The code would step through every disk on the system (sda, sdb, etc.) and do a 'cryptsetup isLuks' on that device, and then based on that output save the luks header for any device that had one. Unfortunately, in many cases, luks headers are found on the partitions of those disks. So we were failing to detect any luks partitions and thus failing to backup their luks headers. this commit changes that, it now will look for luks headers on the devices themselves (for cases where a full disk is used without partitions), and on any partitions that are detected
2013-07-23dup: Gracefully handle legacy spaces between -o and IdentityFile.intrigeri
2013-07-23Clarify that duplicity/paramiko doesn't support spaces between -o and ↵intrigeri
IdentityFile anymore.
2013-07-09rdiff.helper: add output_as_info support.intrigeri
Thanks to David Gasaway <dave@gasaway.org> for the patch!
2013-06-30test mode support for tar handlerPierre ROUDIER
2013-06-28xz support for tar handlerPierre ROUDIER
2013-06-08Add option to include rdiff-backup output in reports.intrigeri
Thanks to David Gasaway <dave@gasaway.org> for the patch.
2012-11-26dsync: break out of the while loop using 'break' instead of setting the ↵Micah Anderson
failedcount number, otherwise this will trigger the warning later
2012-11-26dsync: fix loop number of iterations, we want to try 3 times, and we are ↵Micah Anderson
starting at 0
2012-11-26remove some debugging bits that snuck inMicah Anderson
2012-11-26set autotools markers and default application pathsMicah Anderson
2012-11-26the 'fatal' here was causing backups to stop after they hit a user who hasMicah Anderson
trouble, causing all subsequent backups never to fire.
2012-11-26fix quoting on srcconffile and destcconffileMicah Anderson
stop attempting to sync to current_backup, because if we do this then we do this then we don't take advantage of the hardlinking that is done later
2012-09-20duplicity: for local backups, check that the destination directory exists.intrigeri
Thanks to ulrich for the preliminary patch. Closes Redmine#4049.
2012-06-29Do not warn when rsync exits with status 0.intrigeri
2012-06-20Issue just warnings on non-fatal rsync errors (#3966)bug/3966Silvio Rhatto
2012-06-15Run rsync command-line through a shell, so that single-quotes around ↵intrigeri
excludes are interpreted (Closes: #677410) When --exclude 'something' is passed directly to rsync without going through a shell, rsync tries to match a file whose name contains single quotes, which is definitely not what we want it to do: exclude arguments protected with single quotes are meant to be passed to a shell.
2012-06-15rsync: stop passing $excludes as a single argument.intrigeri
2012-06-15rsync: generate excludes command-line snippet the same way as the duplicity ↵intrigeri
handler does. The latter has a robust history wrt. dealing with excludes / glob / quoting etc., let's use that instead of the shiny new sed-based way.
2012-06-11add experimental dsync handler, heavily based on maildir handlerMicah Anderson
2012-06-11dont run lspci and modinfo when hwinfo==noMicah Anderson
2012-06-11Merge branch 'master' of labs.riseup.net:backupninjaMicah Anderson
2012-05-20mysql: use --skip-events when backing up the performance_schema database ↵intrigeri
(Closes: #673572)
2012-05-15Install handlers as pkgdata_DATA, instead of their .in files.intrigeri
2012-05-15Have "make dist" package handlers/*.in instead of make results.intrigeri
2012-05-15Updating pipefail branch so it can merge with master (#3892)bug/3892Silvio Rhatto
2012-05-14Always use explicit sed's -e.intrigeri
Hopefully this fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656968#31 and future incarnations of this class of bugs.
2012-05-12Changing pipefail just when it's really neededSilvio Rhatto
2012-05-13Merge remote-tracking branch 'sarava/bug/3721'intrigeri
2012-05-13Merge remote-tracking branch 'sarava/bug/3838'intrigeri
2012-05-13Merge remote-tracking branch 'sarava/bug/3840'intrigeri
2012-05-13Merge remote-tracking branch 'sarava/bug/3882'intrigeri
2012-05-10Fixing typos (#3868)bug/3868Silvio Rhatto
2012-05-10Set/restore pipefail to not mess with other scripts (#3892)Silvio Rhatto
2012-05-10Ensure that a non-zero rsync exit status is caught by our handler (#3892)Silvio Rhatto
2012-05-10Merge branches 'master' and 'bug/3840' into bug/3840bug/3840Silvio Rhatto
2012-05-10Removing duplicated locking support (#3838)Silvio Rhatto
2012-05-10Changing a 'fatal' to a 'warning' on rsync handler.bug/3721Silvio Rhatto
Using 'warning' and 'return' instead of a fatal at rotate_long if backuproot doesn't exist. Using a warning ensures that the backup action can process the other includes and not just exit.