aboutsummaryrefslogtreecommitdiff
path: root/handlers
AgeCommit message (Collapse)Author
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.
2012-05-10Changing remaining 'exit' to 'fatal' at rsync handler (#3721)Silvio Rhatto
2012-04-13Trying additional quoting on excludes (upstream #3882)bug/3882Silvio Rhatto
2012-04-13Using @SED@ for #3882Silvio Rhatto
2012-04-12Quoting $exclude and $excludes and avoiding a for loop on $exclude to not ↵Silvio Rhatto
expand wildcards in beforehand (upstream #3882)
2012-04-12Validate created date on long_rotation to avoid too many arguments at ↵Silvio Rhatto
comparison (upstream #3868)
2012-04-12Quoting $starttime (upstream #3868)Silvio Rhatto
2012-03-27remove rsyncflags and excludes from maildir handler, they are not used anywhereMicah Anderson
2012-03-27remove maildir handler 'loadlimit' - it is not used anywhereMicah Anderson
2012-02-28Rsync handler: use the backup start time and not the time the backup was ↵bug/debian/654192Silvio Rhatto
finished (Debian #654192)
2012-02-27Rsync handler: using more debug/warning instead of regular echo (upstream #3840)Silvio Rhatto
2012-02-26Fixing $rsync_options output when rsync is local (Issue #3001)Silvio Rhatto
2012-02-25Report duplicity failure output at error loglevel so that it is emailed.intrigeri