]> gitweb.fluxo.info Git - backupninja.git/log
backupninja.git
11 years agoUpdate AUTHORS and ChangeLog. develop master
intrigeri [Sat, 14 Jun 2014 13:52:18 +0000 (13:52 +0000)]
Update AUTHORS and ChangeLog.

11 years agoIgnore files ending in ~
Mark Janssen -- Sig-I/O Automatisering [Wed, 11 Jun 2014 12:44:29 +0000 (14:44 +0200)]
Ignore files ending in ~

11 years agoUpdate ChangeLog.
intrigeri [Sat, 3 May 2014 14:09:49 +0000 (14:09 +0000)]
Update ChangeLog.

11 years agoExclude tmpfs filesystems from df output in the sys handler (Closes: Debian#745818).
intrigeri [Sat, 3 May 2014 14:08:04 +0000 (14:08 +0000)]
Exclude tmpfs filesystems from df output in the sys handler (Closes: Debian#745818).

11 years agoUpdate ChangeLog and AUTHORS.
intrigeri [Sat, 3 May 2014 14:02:56 +0000 (14:02 +0000)]
Update ChangeLog and AUTHORS.

11 years agoFix indentation in sys handler.
intrigeri [Sat, 3 May 2014 13:45:51 +0000 (13:45 +0000)]
Fix indentation in sys handler.

Thanks to Jools Wills <jools@oxfordinspire.co.uk> for the patch.

11 years agoRemove spurious quotes that broke the sys helper (Closes: Redmine#6803).
intrigeri [Sat, 3 May 2014 13:38:45 +0000 (13:38 +0000)]
Remove spurious quotes that broke the sys helper (Closes: Redmine#6803).

Thanks to Jools Wills <jools@oxfordinspire.co.uk> for the patch.

11 years agoMerge remote-tracking branch 'sarava/bug/4380'
intrigeri [Sat, 3 May 2014 13:29:31 +0000 (13:29 +0000)]
Merge remote-tracking branch 'sarava/bug/4380'

11 years agoMerge remote-tracking branch 'sarava/bug/3003'
intrigeri [Sat, 3 May 2014 13:24:08 +0000 (13:24 +0000)]
Merge remote-tracking branch 'sarava/bug/3003'

Conflicts:
handlers/rsync.in

11 years agoMerge remote-tracking branch 'sarava/bug/3929'
intrigeri [Sat, 3 May 2014 13:20:21 +0000 (13:20 +0000)]
Merge remote-tracking branch 'sarava/bug/3929'

11 years agoAdded suse to the list of supported OS
Christian Prause [Wed, 16 Apr 2014 14:35:46 +0000 (16:35 +0200)]
Added suse to the list of supported OS

11 years agoRsync example: show 'user' parameter as a required option (#4380) bug/4380
Silvio Rhatto [Thu, 17 Apr 2014 22:13:07 +0000 (19:13 -0300)]
Rsync example: show 'user' parameter as a required option (#4380)

11 years agoUpdate ChangeLog. release
intrigeri [Sat, 1 Mar 2014 11:56:57 +0000 (11:56 +0000)]
Update ChangeLog.

11 years agoRun duplicity in a C locales environment (Closes: #736280).
intrigeri [Sat, 1 Mar 2014 11:54:34 +0000 (11:54 +0000)]
Run duplicity in a C locales environment (Closes: #736280).

This workarounds a bug in duplicity. Quoting the reporter (thanks, Jonathan
Dupart <jonathan@dupart.org>, for the detailed report and initial patch):

The duplicity backend is broken when the gpg ecryption is set up and the
system default locale is not english (or C).

The bug reports on duplicity are here :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565398
https://bugs.launchpad.net/duplicity/+bug/510625

11 years agoUpdate ChangeLog and AUTHORS.
intrigeri [Sat, 22 Feb 2014 15:01:19 +0000 (15:01 +0000)]
Update ChangeLog and AUTHORS.

11 years agoAdded SIGN_PASSPHRASE support for dup handler.
Dominik George [Wed, 13 Nov 2013 14:18:15 +0000 (15:18 +0100)]
Added SIGN_PASSPHRASE support for dup handler.

11 years agoUpdate ChangeLog.
intrigeri [Sat, 22 Feb 2014 14:23:51 +0000 (14:23 +0000)]
Update ChangeLog.

11 years agodup: Fix buggy version comparison. (Redmine#6746)
intrigeri [Sat, 22 Feb 2014 14:21:19 +0000 (14:21 +0000)]
dup: Fix buggy version comparison. (Redmine#6746)

11 years agoAdd shell functions to compare version numbers.
intrigeri [Sat, 22 Feb 2014 14:15:27 +0000 (14:15 +0000)]
Add shell functions to compare version numbers.

11 years agoUpdate ChangeLog and AUTHORS.
intrigeri [Sat, 22 Feb 2014 13:48:44 +0000 (13:48 +0000)]
Update ChangeLog and AUTHORS.

11 years agoMake logic consistent with what we're using elsewhere.
intrigeri [Sat, 22 Feb 2014 13:40:42 +0000 (13:40 +0000)]
Make logic consistent with what we're using elsewhere.

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.

11 years agoFix #6357 - Don't remove useful signature files
Alexander Mette [Sun, 17 Nov 2013 14:55:05 +0000 (15:55 +0100)]
Fix #6357 - Don't remove useful signature files

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

11 years agomysql: fix non-qualified table name extraction (Closes: Redmine#4373).
intrigeri [Sat, 22 Feb 2014 13:34:06 +0000 (13:34 +0000)]
mysql: fix non-qualified table name extraction (Closes: Redmine#4373).

11 years agoUpdate ChangeLog.
intrigeri [Sat, 22 Feb 2014 13:19:39 +0000 (13:19 +0000)]
Update ChangeLog.

11 years agordiff.helper: don't give misleading information regarding required fields (Closes...
intrigeri [Sat, 22 Feb 2014 13:11:49 +0000 (13:11 +0000)]
rdiff.helper: don't give misleading information regarding required fields (Closes: Redmine#4410).

11 years agoFix indentation (thanks to exobuzz for the patch, closes: Redmine#6726).
intrigeri [Sat, 22 Feb 2014 10:18:08 +0000 (10:18 +0000)]
Fix indentation (thanks to exobuzz for the patch, closes: Redmine#6726).

12 years agomysql: make "nodata" option compatible with compress=no.
intrigeri [Thu, 26 Dec 2013 15:42:22 +0000 (15:42 +0000)]
mysql: make "nodata" option compatible with compress=no.

12 years agoSolve quoting issue with "su" (debian #683731) (upstream #4019) bug/4019
Silvio Rhatto [Sat, 20 Apr 2013 15:07:27 +0000 (12:07 -0300)]
Solve quoting issue with "su" (debian #683731) (upstream #4019)

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.

12 years agoDelete trailing whitespace.
intrigeri [Mon, 23 Sep 2013 10:19:26 +0000 (10:19 +0000)]
Delete trailing whitespace.

12 years agoupdate INSTALL file to add some missing recommended programs
Micah Anderson [Fri, 20 Sep 2013 20:36:33 +0000 (16:36 -0400)]
update INSTALL file to add some missing recommended programs

12 years agoadd additional sys backup options to provide the ability to backup the MBR for every...
Micah Anderson [Fri, 20 Sep 2013 20:36:09 +0000 (16:36 -0400)]
add additional sys backup options to provide the ability to backup the MBR for every device found, and to backup the BIOS (if the flashrom program is installed, and the mainboard is supported)

12 years agofix capitalization of LUKS
Micah Anderson [Fri, 20 Sep 2013 17:45:57 +0000 (13:45 -0400)]
fix capitalization of LUKS

12 years agofix missing autoconf marker for @SED@
Micah Anderson [Fri, 20 Sep 2013 17:45:10 +0000 (13:45 -0400)]
fix missing autoconf marker for @SED@

12 years agofix luks header backup to properly detect partitions
Micah Anderson [Fri, 20 Sep 2013 17:44:11 +0000 (13:44 -0400)]
fix luks header backup to properly detect partitions

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

12 years agoUpdate AUTHORS.
intrigeri [Tue, 23 Jul 2013 10:02:33 +0000 (12:02 +0200)]
Update AUTHORS.

12 years agodup: Gracefully handle legacy spaces between -o and IdentityFile.
intrigeri [Tue, 23 Jul 2013 10:01:37 +0000 (12:01 +0200)]
dup: Gracefully handle legacy spaces between -o and IdentityFile.

12 years agoClarify that duplicity/paramiko doesn't support spaces between -o and IdentityFile...
intrigeri [Tue, 23 Jul 2013 10:01:02 +0000 (12:01 +0200)]
Clarify that duplicity/paramiko doesn't support spaces between -o and IdentityFile anymore.

12 years agordiff.helper: add output_as_info support.
intrigeri [Tue, 9 Jul 2013 19:45:29 +0000 (19:45 +0000)]
rdiff.helper: add output_as_info support.

Thanks to David Gasaway <dave@gasaway.org> for the patch!

12 years agoUpdate authors.
intrigeri [Sun, 30 Jun 2013 10:22:00 +0000 (10:22 +0000)]
Update authors.

12 years agotest mode support for tar handler
Pierre ROUDIER [Fri, 28 Jun 2013 08:53:47 +0000 (10:53 +0200)]
test mode support for tar handler

12 years agoUpdate AUTHORS.
intrigeri [Fri, 28 Jun 2013 07:09:56 +0000 (07:09 +0000)]
Update AUTHORS.

12 years agoxz support for tar handler
Pierre ROUDIER [Thu, 27 Jun 2013 19:36:23 +0000 (21:36 +0200)]
xz support for tar handler

12 years agoUpdate AUTHORS.
intrigeri [Sat, 8 Jun 2013 06:59:48 +0000 (08:59 +0200)]
Update AUTHORS.

12 years agoAdd option to include rdiff-backup output in reports.
intrigeri [Sat, 8 Jun 2013 06:58:49 +0000 (08:58 +0200)]
Add option to include rdiff-backup output in reports.

Thanks to David Gasaway <dave@gasaway.org> for the patch.

13 years agodsync: break out of the while loop using 'break' instead of setting the failedcount...
Micah Anderson [Mon, 26 Nov 2012 17:49:43 +0000 (12:49 -0500)]
dsync: break out of the while loop using 'break' instead of setting the failedcount number, otherwise this will trigger the warning later

13 years agodsync: fix loop number of iterations, we want to try 3 times, and we are starting...
Micah Anderson [Mon, 26 Nov 2012 17:49:16 +0000 (12:49 -0500)]
dsync: fix loop number of iterations, we want to try 3 times, and we are starting at 0

13 years agoremove some debugging bits that snuck in
Micah Anderson [Mon, 26 Nov 2012 17:44:27 +0000 (12:44 -0500)]
remove some debugging bits that snuck in

13 years agoset autotools markers and default application paths
Micah Anderson [Mon, 26 Nov 2012 17:30:35 +0000 (12:30 -0500)]
set autotools markers and default application paths

13 years agothe 'fatal' here was causing backups to stop after they hit a user who has
Micah Anderson [Mon, 26 Nov 2012 17:30:13 +0000 (12:30 -0500)]
the 'fatal' here was causing backups to stop after they hit a user who has
trouble, causing all subsequent backups never to fire.

13 years agofix quoting on srcconffile and destcconffile
Micah Anderson [Mon, 26 Nov 2012 17:27:40 +0000 (12:27 -0500)]
fix quoting on srcconffile and destcconffile
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

13 years agoduplicity: for local backups, check that the destination directory exists.
intrigeri [Wed, 19 Sep 2012 22:10:10 +0000 (00:10 +0200)]
duplicity: for local backups, check that the destination directory exists.

Thanks to ulrich for the preliminary patch.

Closes Redmine#4049.

13 years agoReleasing backupninja 1.0.1
Silvio Rhatto [Fri, 29 Jun 2012 19:39:55 +0000 (16:39 -0300)]
Releasing backupninja 1.0.1

13 years agoUpdate AUTHORS.
intrigeri [Fri, 29 Jun 2012 14:41:30 +0000 (16:41 +0200)]
Update AUTHORS.

13 years agoDo not warn when rsync exits with status 0.
intrigeri [Fri, 29 Jun 2012 14:36:54 +0000 (16:36 +0200)]
Do not warn when rsync exits with status 0.

13 years agoUpdate ChangeLog.
intrigeri [Thu, 21 Jun 2012 00:49:34 +0000 (02:49 +0200)]
Update ChangeLog.

13 years agoIssue just warnings on non-fatal rsync errors (#3966) bug/3966
Silvio Rhatto [Wed, 20 Jun 2012 03:38:23 +0000 (00:38 -0300)]
Issue just warnings on non-fatal rsync errors (#3966)

13 years agoReleasing backupninja 1.0. (Happy birthdays!)
intrigeri [Fri, 15 Jun 2012 18:35:12 +0000 (20:35 +0200)]
Releasing backupninja 1.0. (Happy birthdays!)

13 years agoUpdate and fix ChangeLog.
intrigeri [Fri, 15 Jun 2012 18:35:04 +0000 (20:35 +0200)]
Update and fix ChangeLog.

13 years agoRun rsync command-line through a shell, so that single-quotes around excludes are...
intrigeri [Fri, 15 Jun 2012 18:27:31 +0000 (20:27 +0200)]
Run rsync command-line through a shell, so that single-quotes around 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.

13 years agorsync: stop passing $excludes as a single argument.
intrigeri [Fri, 15 Jun 2012 18:27:01 +0000 (20:27 +0200)]
rsync: stop passing $excludes as a single argument.

13 years agorsync: generate excludes command-line snippet the same way as the duplicity handler...
intrigeri [Fri, 15 Jun 2012 18:21:09 +0000 (20:21 +0200)]
rsync: generate excludes command-line snippet the same way as the duplicity 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.

13 years agoadd experimental dsync handler, heavily based on maildir handler
Micah Anderson [Mon, 11 Jun 2012 14:22:08 +0000 (10:22 -0400)]
add experimental dsync handler, heavily based on maildir handler

13 years agodont run lspci and modinfo when hwinfo==no
Micah Anderson [Mon, 11 Jun 2012 14:07:53 +0000 (10:07 -0400)]
dont run lspci and modinfo when hwinfo==no

13 years agoMerge branch 'master' of labs.riseup.net:backupninja
Micah Anderson [Mon, 11 Jun 2012 14:02:34 +0000 (10:02 -0400)]
Merge branch 'master' of labs.riseup.net:backupninja

13 years agoMake it clear what lockfile could not be acquired.
intrigeri [Mon, 11 Jun 2012 13:54:31 +0000 (15:54 +0200)]
Make it clear what lockfile could not be acquired.

13 years agomysql: use --skip-events when backing up the performance_schema database (Closes...
intrigeri [Sun, 20 May 2012 11:11:12 +0000 (13:11 +0200)]
mysql: use --skip-events when backing up the performance_schema database (Closes: #673572)

13 years agoReleasing backupninja 1.0-rc1.
intrigeri [Tue, 15 May 2012 14:24:55 +0000 (16:24 +0200)]
Releasing backupninja 1.0-rc1.

13 years agoInstall handlers as pkgdata_DATA, instead of their .in files.
intrigeri [Tue, 15 May 2012 15:43:09 +0000 (17:43 +0200)]
Install handlers as pkgdata_DATA, instead of their .in files.

13 years agoHave "make dist" ship the FAQ.
intrigeri [Tue, 15 May 2012 15:09:42 +0000 (17:09 +0200)]
Have "make dist" ship the FAQ.

13 years agoHave "make dist" package handlers/*.in instead of make results.
intrigeri [Tue, 15 May 2012 14:58:25 +0000 (16:58 +0200)]
Have "make dist" package handlers/*.in instead of make results.

13 years agoUpdating ChangeLog.
intrigeri [Tue, 15 May 2012 13:45:17 +0000 (15:45 +0200)]
Updating ChangeLog.

13 years agoUpdating pipefail branch so it can merge with master (#3892) bug/3892
Silvio Rhatto [Tue, 15 May 2012 13:00:45 +0000 (10:00 -0300)]
Updating pipefail branch so it can merge with master (#3892)

13 years agoAlways use explicit sed's -e.
intrigeri [Mon, 14 May 2012 14:30:02 +0000 (16:30 +0200)]
Always use explicit sed's -e.

Hopefully this fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656968#31
and future incarnations of this class of bugs.

13 years agoChanging pipefail just when it's really needed
Silvio Rhatto [Sun, 13 May 2012 00:48:43 +0000 (21:48 -0300)]
Changing pipefail just when it's really needed

13 years agoMerge remote-tracking branch 'sarava/bug/3721'
intrigeri [Sun, 13 May 2012 00:33:37 +0000 (02:33 +0200)]
Merge remote-tracking branch 'sarava/bug/3721'

13 years agoMerge remote-tracking branch 'sarava/bug/3838'
intrigeri [Sun, 13 May 2012 00:31:06 +0000 (02:31 +0200)]
Merge remote-tracking branch 'sarava/bug/3838'

13 years agoMerge remote-tracking branch 'sarava/bug/3840'
intrigeri [Sun, 13 May 2012 00:29:48 +0000 (02:29 +0200)]
Merge remote-tracking branch 'sarava/bug/3840'

13 years agoMerge remote-tracking branch 'sarava/feature/3891'
intrigeri [Sun, 13 May 2012 00:18:29 +0000 (02:18 +0200)]
Merge remote-tracking branch 'sarava/feature/3891'

13 years agoMerge remote-tracking branch 'sarava/bug/3882'
intrigeri [Sun, 13 May 2012 00:11:27 +0000 (02:11 +0200)]
Merge remote-tracking branch 'sarava/bug/3882'

13 years agoFixing typos (#3868) bug/3868
Silvio Rhatto [Fri, 11 May 2012 00:26:38 +0000 (21:26 -0300)]
Fixing typos (#3868)

13 years agoSet/restore pipefail to not mess with other scripts (#3892)
Silvio Rhatto [Fri, 11 May 2012 00:03:37 +0000 (21:03 -0300)]
Set/restore pipefail to not mess with other scripts (#3892)

13 years agoEnsure that a non-zero rsync exit status is caught by our handler (#3892)
Silvio Rhatto [Thu, 10 May 2012 21:47:11 +0000 (18:47 -0300)]
Ensure that a non-zero rsync exit status is caught by our handler (#3892)

13 years agoMerge branches 'master' and 'bug/3840' into bug/3840 bug/3840
Silvio Rhatto [Thu, 10 May 2012 21:16:32 +0000 (18:16 -0300)]
Merge branches 'master' and 'bug/3840' into bug/3840

13 years agoDocumenting rotation parameters at example.rsync (#3891) feature/3891
Silvio Rhatto [Thu, 10 May 2012 20:59:24 +0000 (17:59 -0300)]
Documenting rotation parameters at example.rsync (#3891)

13 years agoRemoving lockfile from rsync example (#3838) bug/3838
Silvio Rhatto [Thu, 10 May 2012 20:34:15 +0000 (17:34 -0300)]
Removing lockfile from rsync example (#3838)

13 years agoRemoving duplicated locking support (#3838)
Silvio Rhatto [Thu, 10 May 2012 20:25:34 +0000 (17:25 -0300)]
Removing duplicated locking support (#3838)

13 years agoMerge branches 'master' and 'bug/3838' into bug/3838
Silvio Rhatto [Thu, 10 May 2012 20:23:34 +0000 (17:23 -0300)]
Merge branches 'master' and 'bug/3838' into bug/3838

13 years agoChanging a 'fatal' to a 'warning' on rsync handler. bug/3721
Silvio Rhatto [Thu, 10 May 2012 20:00:58 +0000 (17:00 -0300)]
Changing a 'fatal' to a 'warning' on rsync handler.

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.

13 years agoChanging remaining 'exit' to 'fatal' at rsync handler (#3721)
Silvio Rhatto [Thu, 10 May 2012 19:53:52 +0000 (16:53 -0300)]
Changing remaining 'exit' to 'fatal' at rsync handler (#3721)

13 years agoMerge branches 'master' and 'bug/3721' into bug/3721
Silvio Rhatto [Thu, 10 May 2012 19:48:51 +0000 (16:48 -0300)]
Merge branches 'master' and 'bug/3721' into bug/3721

13 years agoUpdate increment folder date (#3929) bug/3929
Silvio Rhatto [Wed, 9 May 2012 22:27:46 +0000 (19:27 -0300)]
Update increment folder date (#3929)

13 years agoTrying additional quoting on excludes (upstream #3882) bug/3882
Silvio Rhatto [Fri, 13 Apr 2012 12:58:18 +0000 (09:58 -0300)]
Trying additional quoting on excludes (upstream #3882)

13 years agoUsing @SED@ for #3882
Silvio Rhatto [Fri, 13 Apr 2012 03:31:03 +0000 (00:31 -0300)]
Using @SED@ for #3882

13 years agoQuoting $exclude and $excludes and avoiding a for loop on $exclude to not expand...
Silvio Rhatto [Fri, 13 Apr 2012 00:29:57 +0000 (21:29 -0300)]
Quoting $exclude and $excludes and avoiding a for loop on $exclude to not expand wildcards in beforehand (upstream #3882)

13 years agoValidate created date on long_rotation to avoid too many arguments at comparison...
Silvio Rhatto [Thu, 12 Apr 2012 23:49:04 +0000 (20:49 -0300)]
Validate created date on long_rotation to avoid too many arguments at comparison (upstream #3868)

13 years agoQuoting $starttime (upstream #3868)
Silvio Rhatto [Fri, 6 Apr 2012 20:29:10 +0000 (17:29 -0300)]
Quoting $starttime (upstream #3868)

13 years agoremove rsyncflags and excludes from maildir handler, they are not used anywhere
Micah Anderson [Tue, 27 Mar 2012 15:58:18 +0000 (11:58 -0400)]
remove rsyncflags and excludes from maildir handler, they are not used anywhere

13 years agoremove maildir handler 'loadlimit' - it is not used anywhere
Micah Anderson [Tue, 27 Mar 2012 14:49:26 +0000 (10:49 -0400)]
remove maildir handler 'loadlimit' - it is not used anywhere

13 years agoUpdate ChangeLog.
intrigeri [Mon, 26 Mar 2012 18:20:50 +0000 (20:20 +0200)]
Update ChangeLog.

13 years agoRsync handler: use the backup start time and not the time the backup was finished... bug/debian/654192
Silvio Rhatto [Tue, 28 Feb 2012 04:00:45 +0000 (01:00 -0300)]
Rsync handler: use the backup start time and not the time the backup was finished (Debian #654192)