]> gitweb.fluxo.info Git - backupninja.git/log
backupninja.git
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 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)

13 years agoRsync handler: using more debug/warning instead of regular echo (upstream #3840)
Silvio Rhatto [Mon, 27 Feb 2012 21:47:21 +0000 (18:47 -0300)]
Rsync handler: using more debug/warning instead of regular echo (upstream #3840)

13 years agoUpdate changelog. bug/3008 bug/3702 feature/3315 feature/lib feature/mysql
intrigeri [Sun, 26 Feb 2012 12:52:02 +0000 (13:52 +0100)]
Update changelog.

13 years agoFixing $rsync_options output when rsync is local (Issue #3001)
Silvio Rhatto [Mon, 30 May 2011 21:43:57 +0000 (18:43 -0300)]
Fixing $rsync_options output when rsync is local (Issue #3001)

13 years agoReport duplicity failure output at error loglevel so that it is emailed.
intrigeri [Sat, 25 Feb 2012 14:04:38 +0000 (15:04 +0100)]
Report duplicity failure output at error loglevel so that it is emailed.

13 years agoReport failure of rdiff-backup jobs as such.
intrigeri [Sat, 25 Feb 2012 13:54:23 +0000 (14:54 +0100)]
Report failure of rdiff-backup jobs as such.

13 years agoRemove leftover FIXME that was fixed.
intrigeri [Sat, 25 Feb 2012 13:41:50 +0000 (14:41 +0100)]
Remove leftover FIXME that was fixed.

13 years agoUpdate ChangeLog.
intrigeri [Sat, 25 Feb 2012 13:20:09 +0000 (14:20 +0100)]
Update ChangeLog.

13 years agoDocument what features available to .sh jobs (Redmine #1558)
intrigeri [Sat, 25 Feb 2012 13:18:30 +0000 (14:18 +0100)]
Document what features available to .sh jobs (Redmine #1558)

13 years agoFix typos.
intrigeri [Sat, 25 Feb 2012 13:01:49 +0000 (14:01 +0100)]
Fix typos.

13 years agoRemove default value from rsync example
Silvio Rhatto [Sat, 31 Dec 2011 16:43:01 +0000 (14:43 -0200)]
Remove default value from rsync example

13 years agoUpdating rsync example
Silvio Rhatto [Sat, 31 Dec 2011 16:40:37 +0000 (14:40 -0200)]
Updating rsync example

13 years agopgsql: don't produce empty uncompressed backups (Redmine#3820).
intrigeri [Sat, 25 Feb 2012 12:30:09 +0000 (13:30 +0100)]
pgsql: don't produce empty uncompressed backups (Redmine#3820).

14 years agoFix ChangeLog.
intrigeri [Sun, 29 Jan 2012 18:32:34 +0000 (19:32 +0100)]
Fix ChangeLog.

14 years agoAdd Closes: for Debian bug.
intrigeri [Sun, 29 Jan 2012 15:45:24 +0000 (16:45 +0100)]
Add Closes: for Debian bug.

14 years agoSort ChangeLog entries.
intrigeri [Sun, 29 Jan 2012 15:44:33 +0000 (16:44 +0100)]
Sort ChangeLog entries.

14 years agoSupport bandwidthlimit again with new duplicity, using trickle.
intrigeri [Sun, 29 Jan 2012 13:40:46 +0000 (14:40 +0100)]
Support bandwidthlimit again with new duplicity, using trickle.

duplicity 0.6.17 uses paramiko backend.
Thus, it does not support limiting bandwidth anymore.
Let's use trickle to support bandwidth shaping anyway.

14 years agodup: add precmd to every duplicity call.
intrigeri [Sun, 29 Jan 2012 13:39:10 +0000 (14:39 +0100)]
dup: add precmd to every duplicity call.

14 years agoUse --ssh-options with dup >= 0.6.17.
intrigeri [Sun, 29 Jan 2012 13:39:39 +0000 (14:39 +0100)]
Use --ssh-options with dup >= 0.6.17.

... and warn about unsupported options.

14 years agoWorkaround annoying automake sanity check.
intrigeri [Sun, 29 Jan 2012 13:11:11 +0000 (14:11 +0100)]
Workaround annoying automake sanity check.

Recent versions of automake prevent us from installing lib/* into
lib/backupninja/. Where else are be supposed to install such files anyway?

14 years agoUpdate AUTHORS file.
intrigeri [Tue, 24 Jan 2012 00:27:32 +0000 (01:27 +0100)]
Update AUTHORS file.

14 years agomysql: Don't attempt to dump performance_schema database (Redmine#3741).
intrigeri [Tue, 24 Jan 2012 00:23:33 +0000 (01:23 +0100)]
mysql: Don't attempt to dump performance_schema database (Redmine#3741).

Locking its tables require privileges the 'debian-sys-maint'@'localhost' user is
generally not granted.

14 years agoUpdate ChangeLog wrt. last cherry-picked patches.
intrigeri [Wed, 4 Jan 2012 21:49:35 +0000 (22:49 +0100)]
Update ChangeLog wrt. last cherry-picked patches.

14 years agoFixing escaping and debug message for remote metadata cleanup (#3727)
Silvio Rhatto [Tue, 3 Jan 2012 21:33:19 +0000 (19:33 -0200)]
Fixing escaping and debug message for remote metadata cleanup (#3727)

14 years agoCleanup orphaned metadata (#3727)
Silvio Rhatto [Tue, 3 Jan 2012 20:54:58 +0000 (18:54 -0200)]
Cleanup orphaned metadata (#3727)

14 years agoUpdate ChangeLog wrt. last cherry-picked patches.
intrigeri [Sun, 1 Jan 2012 09:48:01 +0000 (10:48 +0100)]
Update ChangeLog wrt. last cherry-picked patches.

14 years agoAbort on rsync error (#3692)
Silvio Rhatto [Sat, 24 Dec 2011 13:20:40 +0000 (11:20 -0200)]
Abort on rsync error (#3692)

14 years agoFixing metadata rotation
Silvio Rhatto [Sun, 12 Dec 2010 18:49:23 +0000 (16:49 -0200)]
Fixing metadata rotation

14 years agoAllow disabling rotation or setting 2 days as minimum for backup increments in rsync...
Silvio Rhatto [Mon, 30 May 2011 22:22:04 +0000 (19:22 -0300)]
Allow disabling rotation or setting 2 days as minimum for backup increments in rsync short format (Issue #2107)

14 years agoRemoving 'exit 1'; using 'fatal' instead (Redmine#3721)
Silvio Rhatto [Sat, 31 Dec 2011 22:03:02 +0000 (20:03 -0200)]
Removing 'exit 1'; using 'fatal' instead (Redmine#3721)

14 years agoMangle rsync_options just after all other options were evaluated (#3702)
Silvio Rhatto [Sat, 24 Dec 2011 13:35:06 +0000 (11:35 -0200)]
Mangle rsync_options just after all other options were evaluated (#3702)

14 years agoProvide a default number of days for the rsync handler
Silvio Rhatto [Sat, 31 Dec 2011 16:29:15 +0000 (14:29 -0200)]
Provide a default number of days for the rsync handler

14 years agoMake numericids defaults to null (fixes #3691)
Silvio Rhatto [Sat, 24 Dec 2011 13:11:48 +0000 (11:11 -0200)]
Make numericids defaults to null (fixes #3691)

14 years agodup: add support for RackSpace's CloudFiles.
intrigeri [Sat, 22 Oct 2011 19:46:50 +0000 (21:46 +0200)]
dup: add support for RackSpace's CloudFiles.

Thanks to Yuval Kogman <nothingmuch@woobling.org> for the patch.

14 years agoMake the .dup generated by ninjahelper more consistent with example.dup.
intrigeri [Sat, 24 Sep 2011 17:09:14 +0000 (19:09 +0200)]
Make the .dup generated by ninjahelper more consistent with example.dup.

I.e. document tmpdir.

14 years agoReleasing backupninja 0.9.10.
intrigeri [Fri, 23 Sep 2011 14:41:21 +0000 (16:41 +0200)]
Releasing backupninja 0.9.10.

14 years agoRemove useless and inconsistent executable bit on sys handler.
intrigeri [Tue, 20 Sep 2011 20:35:23 +0000 (22:35 +0200)]
Remove useless and inconsistent executable bit on sys handler.

14 years agoMention removal of LDAP support in ChangeLog.
intrigeri [Tue, 20 Sep 2011 20:33:49 +0000 (22:33 +0200)]
Mention removal of LDAP support in ChangeLog.

14 years agoDon't mention LDAP support in documentation.
intrigeri [Tue, 20 Sep 2011 20:30:55 +0000 (22:30 +0200)]
Don't mention LDAP support in documentation.

14 years agoDon't install LDAP handler, helper and example configuration file.
intrigeri [Tue, 20 Sep 2011 20:29:42 +0000 (22:29 +0200)]
Don't install LDAP handler, helper and example configuration file.

The handler has been heavily broken for a while.
It clearly lacks a maintainer.

14 years agoMake typography consistent with previous ChangeLog entries.
intrigeri [Tue, 20 Sep 2011 20:22:35 +0000 (22:22 +0200)]
Make typography consistent with previous ChangeLog entries.

14 years agoAdd missing item into ChangeLog.
intrigeri [Tue, 20 Sep 2011 20:22:14 +0000 (22:22 +0200)]
Add missing item into ChangeLog.

14 years agoFix credits.
intrigeri [Mon, 12 Sep 2011 18:33:58 +0000 (20:33 +0200)]
Fix credits.

14 years agodup: fix incorrect duplicity version check for keepincroffulls.
intrigeri [Sat, 10 Sep 2011 22:18:23 +0000 (00:18 +0200)]
dup: fix incorrect duplicity version check for keepincroffulls.

Thanks to Olivier Berger <oberger@ouvaton.org> for the patch.
(Closes Redmine bug #3443)
(Closes: #641120)

14 years agoUpdate ChangeLog and AUTHORS.
intrigeri [Tue, 30 Aug 2011 11:02:47 +0000 (13:02 +0200)]
Update ChangeLog and AUTHORS.

14 years agoFix infinite loop in rdiff helper when version inconsistency is detected.
intrigeri [Tue, 30 Aug 2011 11:00:49 +0000 (13:00 +0200)]
Fix infinite loop in rdiff helper when version inconsistency is detected.

14 years agoRecording Debian bug number.
intrigeri [Tue, 30 Aug 2011 10:59:44 +0000 (12:59 +0200)]
Recording Debian bug number.

14 years agoStop using hyphen as minus sign in manpages.
intrigeri [Thu, 18 Aug 2011 01:45:38 +0000 (03:45 +0200)]
Stop using hyphen as minus sign in manpages.

Detected by Lintian's hyphen-used-as-minus-sign check.

14 years agoFix typo in manpage.
intrigeri [Thu, 18 Aug 2011 01:45:24 +0000 (03:45 +0200)]
Fix typo in manpage.

14 years agoUpdate ChangeLog.
intrigeri [Wed, 17 Aug 2011 17:29:29 +0000 (19:29 +0200)]
Update ChangeLog.

14 years agoFixing $rsync_options output (Issue #3001)
Silvio Rhatto [Mon, 30 May 2011 21:38:50 +0000 (18:38 -0300)]
Fixing $rsync_options output (Issue #3001)

14 years agoFixing $rsync_options output when rsync is local (Issue #3001)
Silvio Rhatto [Mon, 30 May 2011 21:43:57 +0000 (18:43 -0300)]
Fixing $rsync_options output when rsync is local (Issue #3001)

14 years agoCleanup: stop supporting duplicity < 0.6.01 (Redmine#2538).
intrigeri [Wed, 17 Aug 2011 10:31:30 +0000 (12:31 +0200)]
Cleanup: stop supporting duplicity < 0.6.01 (Redmine#2538).

14 years agoAllow 'when = XXX' in sh jobs.
intrigeri [Wed, 17 Aug 2011 10:00:16 +0000 (12:00 +0200)]
Allow 'when = XXX' in sh jobs.

when=XXX did work already. This patch allow to write this with spaces around the
equal sign - as in every other backup.d/ file.

14 years agoFix "Locking mechanism causes variable problem".
intrigeri [Mon, 18 Jul 2011 22:24:18 +0000 (00:24 +0200)]
Fix "Locking mechanism causes variable problem".

Thanks to Olivier Berger for the patch.

14 years agoReleasing backupninja 0.9.9
intrigeri [Sun, 15 May 2011 17:27:41 +0000 (19:27 +0200)]
Releasing backupninja 0.9.9

14 years agoUpdate .gitignore.
intrigeri [Sun, 15 May 2011 17:25:23 +0000 (19:25 +0200)]
Update .gitignore.

14 years agosys: fix gathering of information about loaded modules.
intrigeri [Sun, 15 May 2011 17:19:48 +0000 (19:19 +0200)]
sys: fix gathering of information about loaded modules.

cut is in /usr/bin actually.

14 years agosys: fix hwinfo (Closes: #625501)
intrigeri [Thu, 5 May 2011 07:16:59 +0000 (09:16 +0200)]
sys: fix hwinfo (Closes: #625501)

14 years agoAdd sshoptions to rdiff example config file.
intrigeri [Tue, 26 Apr 2011 10:31:58 +0000 (12:31 +0200)]
Add sshoptions to rdiff example config file.