]>
gitweb.fluxo.info Git - backupninja.git/log
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.
intrigeri [Fri, 15 Jun 2012 18:27:01 +0000 (20:27 +0200)]
rsync: stop passing $excludes as a single argument.
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.
Micah Anderson [Mon, 11 Jun 2012 14:22:08 +0000 (10:22 -0400)]
add experimental dsync handler, heavily based on maildir handler
Micah Anderson [Mon, 11 Jun 2012 14:07:53 +0000 (10:07 -0400)]
dont run lspci and modinfo when hwinfo==no
Micah Anderson [Mon, 11 Jun 2012 14:02:34 +0000 (10:02 -0400)]
Merge branch 'master' of labs.riseup.net:backupninja
intrigeri [Mon, 11 Jun 2012 13:54:31 +0000 (15:54 +0200)]
Make it clear what lockfile could not be acquired.
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)
intrigeri [Tue, 15 May 2012 14:24:55 +0000 (16:24 +0200)]
Releasing backupninja 1.0-rc1.
intrigeri [Tue, 15 May 2012 15:43:09 +0000 (17:43 +0200)]
Install handlers as pkgdata_DATA, instead of their .in files.
intrigeri [Tue, 15 May 2012 15:09:42 +0000 (17:09 +0200)]
Have "make dist" ship the FAQ.
intrigeri [Tue, 15 May 2012 14:58:25 +0000 (16:58 +0200)]
Have "make dist" package handlers/*.in instead of make results.
intrigeri [Tue, 15 May 2012 13:45:17 +0000 (15:45 +0200)]
Updating ChangeLog.
Silvio Rhatto [Tue, 15 May 2012 13:00:45 +0000 (10:00 -0300)]
Updating pipefail branch so it can merge with master (#3892)
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.
Silvio Rhatto [Sun, 13 May 2012 00:48:43 +0000 (21:48 -0300)]
Changing pipefail just when it's really needed
intrigeri [Sun, 13 May 2012 00:33:37 +0000 (02:33 +0200)]
Merge remote-tracking branch 'sarava/bug/3721'
intrigeri [Sun, 13 May 2012 00:31:06 +0000 (02:31 +0200)]
Merge remote-tracking branch 'sarava/bug/3838'
intrigeri [Sun, 13 May 2012 00:29:48 +0000 (02:29 +0200)]
Merge remote-tracking branch 'sarava/bug/3840'
intrigeri [Sun, 13 May 2012 00:18:29 +0000 (02:18 +0200)]
Merge remote-tracking branch 'sarava/feature/3891'
intrigeri [Sun, 13 May 2012 00:11:27 +0000 (02:11 +0200)]
Merge remote-tracking branch 'sarava/bug/3882'
Silvio Rhatto [Fri, 11 May 2012 00:26:38 +0000 (21:26 -0300)]
Fixing typos (#3868)
Silvio Rhatto [Fri, 11 May 2012 00:03:37 +0000 (21:03 -0300)]
Set/restore pipefail to not mess with other scripts (#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)
Silvio Rhatto [Thu, 10 May 2012 21:16:32 +0000 (18:16 -0300)]
Merge branches 'master' and 'bug/3840' into bug/3840
Silvio Rhatto [Thu, 10 May 2012 20:59:24 +0000 (17:59 -0300)]
Documenting rotation parameters at example.rsync (#3891)
Silvio Rhatto [Thu, 10 May 2012 20:34:15 +0000 (17:34 -0300)]
Removing lockfile from rsync example (#3838)
Silvio Rhatto [Thu, 10 May 2012 20:25:34 +0000 (17:25 -0300)]
Removing duplicated locking support (#3838)
Silvio Rhatto [Thu, 10 May 2012 20:23:34 +0000 (17:23 -0300)]
Merge branches 'master' and 'bug/3838' into bug/3838
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.
Silvio Rhatto [Thu, 10 May 2012 19:53:52 +0000 (16:53 -0300)]
Changing remaining 'exit' to 'fatal' at rsync handler (#3721)
Silvio Rhatto [Thu, 10 May 2012 19:48:51 +0000 (16:48 -0300)]
Merge branches 'master' and 'bug/3721' into bug/3721
Silvio Rhatto [Fri, 13 Apr 2012 12:58:18 +0000 (09:58 -0300)]
Trying additional quoting on excludes (upstream #3882)
Silvio Rhatto [Fri, 13 Apr 2012 03:31:03 +0000 (00:31 -0300)]
Using @SED@ for #3882
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)
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)
Silvio Rhatto [Fri, 6 Apr 2012 20:29:10 +0000 (17:29 -0300)]
Quoting $starttime (upstream #3868)
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
Micah Anderson [Tue, 27 Mar 2012 14:49:26 +0000 (10:49 -0400)]
remove maildir handler 'loadlimit' - it is not used anywhere
intrigeri [Mon, 26 Mar 2012 18:20:50 +0000 (20:20 +0200)]
Update ChangeLog.
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)
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)
intrigeri [Sun, 26 Feb 2012 12:52:02 +0000 (13:52 +0100)]
Update changelog.
Silvio Rhatto [Mon, 30 May 2011 21:43:57 +0000 (18:43 -0300)]
Fixing $rsync_options output when rsync is local (Issue #3001)
intrigeri [Sat, 25 Feb 2012 14:04:38 +0000 (15:04 +0100)]
Report duplicity failure output at error loglevel so that it is emailed.
intrigeri [Sat, 25 Feb 2012 13:54:23 +0000 (14:54 +0100)]
Report failure of rdiff-backup jobs as such.
intrigeri [Sat, 25 Feb 2012 13:41:50 +0000 (14:41 +0100)]
Remove leftover FIXME that was fixed.
intrigeri [Sat, 25 Feb 2012 13:20:09 +0000 (14:20 +0100)]
Update ChangeLog.
intrigeri [Sat, 25 Feb 2012 13:18:30 +0000 (14:18 +0100)]
Document what features available to .sh jobs (Redmine #1558)
intrigeri [Sat, 25 Feb 2012 13:01:49 +0000 (14:01 +0100)]
Fix typos.
Silvio Rhatto [Sat, 31 Dec 2011 16:43:01 +0000 (14:43 -0200)]
Remove default value from rsync example
Silvio Rhatto [Sat, 31 Dec 2011 16:40:37 +0000 (14:40 -0200)]
Updating rsync example
intrigeri [Sat, 25 Feb 2012 12:30:09 +0000 (13:30 +0100)]
pgsql: don't produce empty uncompressed backups (Redmine#3820).
intrigeri [Sun, 29 Jan 2012 18:32:34 +0000 (19:32 +0100)]
Fix ChangeLog.
intrigeri [Sun, 29 Jan 2012 15:45:24 +0000 (16:45 +0100)]
Add Closes: for Debian bug.
intrigeri [Sun, 29 Jan 2012 15:44:33 +0000 (16:44 +0100)]
Sort ChangeLog entries.
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.
intrigeri [Sun, 29 Jan 2012 13:39:10 +0000 (14:39 +0100)]
dup: add precmd to every duplicity call.
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.
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?
intrigeri [Tue, 24 Jan 2012 00:27:32 +0000 (01:27 +0100)]
Update AUTHORS file.
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.
intrigeri [Wed, 4 Jan 2012 21:49:35 +0000 (22:49 +0100)]
Update ChangeLog wrt. last cherry-picked patches.
Silvio Rhatto [Tue, 3 Jan 2012 21:33:19 +0000 (19:33 -0200)]
Fixing escaping and debug message for remote metadata cleanup (#3727)
Silvio Rhatto [Tue, 3 Jan 2012 20:54:58 +0000 (18:54 -0200)]
Cleanup orphaned metadata (#3727)
intrigeri [Sun, 1 Jan 2012 09:48:01 +0000 (10:48 +0100)]
Update ChangeLog wrt. last cherry-picked patches.
Silvio Rhatto [Sat, 24 Dec 2011 13:20:40 +0000 (11:20 -0200)]
Abort on rsync error (#3692)
Silvio Rhatto [Sun, 12 Dec 2010 18:49:23 +0000 (16:49 -0200)]
Fixing metadata rotation
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)
Silvio Rhatto [Sat, 31 Dec 2011 22:03:02 +0000 (20:03 -0200)]
Removing 'exit 1'; using 'fatal' instead (Redmine#3721)
Silvio Rhatto [Sat, 24 Dec 2011 13:35:06 +0000 (11:35 -0200)]
Mangle rsync_options just after all other options were evaluated (#3702)
Silvio Rhatto [Sat, 31 Dec 2011 16:29:15 +0000 (14:29 -0200)]
Provide a default number of days for the rsync handler
Silvio Rhatto [Sat, 24 Dec 2011 13:11:48 +0000 (11:11 -0200)]
Make numericids defaults to null (fixes #3691)
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.
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.
intrigeri [Fri, 23 Sep 2011 14:41:21 +0000 (16:41 +0200)]
Releasing backupninja 0.9.10.
intrigeri [Tue, 20 Sep 2011 20:35:23 +0000 (22:35 +0200)]
Remove useless and inconsistent executable bit on sys handler.
intrigeri [Tue, 20 Sep 2011 20:33:49 +0000 (22:33 +0200)]
Mention removal of LDAP support in ChangeLog.
intrigeri [Tue, 20 Sep 2011 20:30:55 +0000 (22:30 +0200)]
Don't mention LDAP support in documentation.
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.
intrigeri [Tue, 20 Sep 2011 20:22:35 +0000 (22:22 +0200)]
Make typography consistent with previous ChangeLog entries.
intrigeri [Tue, 20 Sep 2011 20:22:14 +0000 (22:22 +0200)]
Add missing item into ChangeLog.
intrigeri [Mon, 12 Sep 2011 18:33:58 +0000 (20:33 +0200)]
Fix credits.
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)
intrigeri [Tue, 30 Aug 2011 11:02:47 +0000 (13:02 +0200)]
Update ChangeLog and AUTHORS.
intrigeri [Tue, 30 Aug 2011 11:00:49 +0000 (13:00 +0200)]
Fix infinite loop in rdiff helper when version inconsistency is detected.
intrigeri [Tue, 30 Aug 2011 10:59:44 +0000 (12:59 +0200)]
Recording Debian bug number.
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.
intrigeri [Thu, 18 Aug 2011 01:45:24 +0000 (03:45 +0200)]
Fix typo in manpage.
intrigeri [Wed, 17 Aug 2011 17:29:29 +0000 (19:29 +0200)]
Update ChangeLog.
Silvio Rhatto [Mon, 30 May 2011 21:38:50 +0000 (18:38 -0300)]
Fixing $rsync_options output (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)
intrigeri [Wed, 17 Aug 2011 10:31:30 +0000 (12:31 +0200)]
Cleanup: stop supporting duplicity < 0.6.01 (Redmine#2538).
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.
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.
intrigeri [Sun, 15 May 2011 17:27:41 +0000 (19:27 +0200)]
Releasing backupninja 0.9.9
intrigeri [Sun, 15 May 2011 17:25:23 +0000 (19:25 +0200)]
Update .gitignore.
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.
intrigeri [Thu, 5 May 2011 07:16:59 +0000 (09:16 +0200)]
sys: fix hwinfo (Closes: #625501)
intrigeri [Tue, 26 Apr 2011 10:31:58 +0000 (12:31 +0200)]
Add sshoptions to rdiff example config file.