]> gitweb.fluxo.info Git - backupninja.git/log
backupninja.git
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 agoForce rsync handler run bash at the remote destination (upstream #3003) bug/3003
Silvio Rhatto [Mon, 27 Feb 2012 20:17:56 +0000 (17:17 -0300)]
Force rsync handler run bash at the remote destination (upstream #3003)

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.

14 years agoUpdating ChangeLog and AUTHORS.
intrigeri [Tue, 26 Apr 2011 09:08:59 +0000 (11:08 +0200)]
Updating ChangeLog and AUTHORS.

14 years agoMerge remote branch 'bruno/master'
intrigeri [Tue, 26 Apr 2011 09:07:18 +0000 (11:07 +0200)]
Merge remote branch 'bruno/master'

14 years agotar helper: default to store backups into /var/backups/.
intrigeri [Tue, 26 Apr 2011 09:05:49 +0000 (11:05 +0200)]
tar helper: default to store backups into /var/backups/.

14 years agoDo arithmetic using bash rather than bc (Closes: #603173)
intrigeri [Tue, 26 Apr 2011 09:00:02 +0000 (11:00 +0200)]
Do arithmetic using bash rather than bc (Closes: #603173)

14 years agoFix ChangeLog.
intrigeri [Tue, 26 Apr 2011 08:35:02 +0000 (10:35 +0200)]
Fix ChangeLog.

14 years agoInitialize dup_keepincroffulls as any other global variable.
intrigeri [Tue, 26 Apr 2011 08:31:39 +0000 (10:31 +0200)]
Initialize dup_keepincroffulls as any other global variable.

14 years agoAdding new option
Olivier Berger [Mon, 25 Apr 2011 20:49:57 +0000 (22:49 +0200)]
Adding new option

14 years agoFix option name, and revert defaults to previous settings
Olivier Berger [Mon, 25 Apr 2011 20:38:28 +0000 (22:38 +0200)]
Fix option name, and revert defaults to previous settings

14 years agoFix duplicity option's name
Olivier Berger [Mon, 25 Apr 2011 20:37:50 +0000 (22:37 +0200)]
Fix duplicity option's name

14 years agoFix merge problem
Olivier Berger [Mon, 25 Apr 2011 20:29:57 +0000 (22:29 +0200)]
Fix merge problem

14 years agoNow that there's some removal of increments for old fulls, we can keep fulls for...
Olivier Berger [Sun, 14 Nov 2010 13:58:15 +0000 (14:58 +0100)]
Now that there's some removal of increments for old fulls, we can keep fulls for a longer time, for instance 1Y which becomes default

14 years agoProposed feature to address https://labs.riseup.net/code/issues/2492
Olivier Berger [Sun, 14 Nov 2010 13:20:55 +0000 (14:20 +0100)]
Proposed feature to address https://labs.riseup.net/code/issues/2492

14 years agoProposed feature to address https://labs.riseup.net/code/issues/2492
Olivier Berger [Sun, 21 Nov 2010 09:07:36 +0000 (10:07 +0100)]
Proposed feature to address https://labs.riseup.net/code/issues/2492

14 years agoAll handlers: stop using "local VAR" outside functions. (Closes: #530647)
intrigeri [Mon, 25 Apr 2011 16:55:58 +0000 (18:55 +0200)]
All handlers: stop using "local VAR" outside functions. (Closes: #530647)

14 years agoAdd the tar handler to Makefile.am
Bruno Bigras [Thu, 21 Apr 2011 02:29:20 +0000 (22:29 -0400)]
Add the tar handler to Makefile.am

14 years agoMake units clearer (Closes Redmine bug #2737).
intrigeri [Wed, 16 Feb 2011 07:22:10 +0000 (08:22 +0100)]
Make units clearer (Closes Redmine bug #2737).

15 years agoDocumentation: recommend using 4096 bits RSA keys everywhere.
intrigeri [Thu, 27 Jan 2011 18:02:05 +0000 (19:02 +0100)]
Documentation: recommend using 4096 bits RSA keys everywhere.

15 years agordiff.helper: generate 4096 bits RSA keys.
intrigeri [Thu, 27 Jan 2011 17:59:39 +0000 (18:59 +0100)]
rdiff.helper: generate 4096 bits RSA keys.

15 years agoUpdate ChangeLog and authors.
intrigeri [Sun, 26 Dec 2010 17:56:33 +0000 (18:56 +0100)]
Update ChangeLog and authors.

15 years agoImplement locking with flock
Olivier Berger [Fri, 24 Dec 2010 08:28:31 +0000 (09:28 +0100)]
Implement locking with flock

15 years agoMerge remote branch 'origin/0.9.8.1'
intrigeri [Mon, 13 Dec 2010 10:42:36 +0000 (11:42 +0100)]
Merge remote branch 'origin/0.9.8.1'

Conflicts:
AUTHORS
ChangeLog

15 years agodup helper: fix separate signing key usecase.
intrigeri [Mon, 13 Dec 2010 10:24:21 +0000 (11:24 +0100)]
dup helper: fix separate signing key usecase.

Thanks to Ian Beckwith for the patch.

15 years agoFix reliance on bash for pipefail. (Closes: #602374)
intrigeri [Sun, 7 Nov 2010 12:07:26 +0000 (13:07 +0100)]
Fix reliance on bash for pipefail. (Closes: #602374)

Thanks to Sergio Talens-Oliag <sto@debian.org> for the bug report and patch.

15 years agobump version numbers in preparation for release
Micah Anderson [Sun, 31 Oct 2010 20:30:45 +0000 (16:30 -0400)]
bump version numbers in preparation for release

15 years agoadd changelog entry for vgcfgbackup fix
Micah Anderson [Fri, 29 Oct 2010 14:42:14 +0000 (10:42 -0400)]
add changelog entry for vgcfgbackup fix

Conflicts:

ChangeLog

15 years agoolder versions (lenny) of lvm2 have a bug in vgcfgbackup that makes it so when you...
Micah Anderson [Fri, 1 Oct 2010 22:09:43 +0000 (18:09 -0400)]
older versions (lenny) of lvm2 have a bug in vgcfgbackup that makes it so when you specify multiple volume groups to backup, it gives an error, saying you must set the %s template for the name. We are doing that, it just cannot handle it properly.

This change routes around this issue, which has been fixed in later lvm2 releases, by passing only one argument to vgcfgbackup by taking all the volume groups that are found and running them through a for loop

15 years agoDo not error out when no job is configured (Closes: #597684)
Micah Anderson [Fri, 29 Oct 2010 14:30:43 +0000 (10:30 -0400)]
Do not error out when no job is configured (Closes: #597684)

Conflicts:

ChangeLog

15 years agoRemoved extra '.' in plain/sql dumps
Jacob Anawalt [Tue, 19 Oct 2010 19:37:10 +0000 (13:37 -0600)]
Removed extra '.' in plain/sql dumps

Removed an extra '.' in file names introduced by the pg_dump options
patch, resulting in names like db..sql or db..sql.gz instead of just
db.sql or db.sql.gz.

15 years agoadd changelog entry for vgcfgbackup fix
Micah Anderson [Tue, 12 Oct 2010 15:48:40 +0000 (11:48 -0400)]
add changelog entry for vgcfgbackup fix

15 years agoolder versions (lenny) of lvm2 have a bug in vgcfgbackup that makes it so when you...
Micah Anderson [Fri, 1 Oct 2010 22:09:43 +0000 (18:09 -0400)]
older versions (lenny) of lvm2 have a bug in vgcfgbackup that makes it so when you specify multiple volume groups to backup, it gives an error, saying you must set the %s template for the name. We are doing that, it just cannot handle it properly.

This change routes around this issue, which has been fixed in later lvm2 releases, by passing only one argument to vgcfgbackup by taking all the volume groups that are found and running them through a for loop

15 years agoMake it clear duplicity >=0.4.9 is required when using a custom tmpdir.
intrigeri [Tue, 12 Oct 2010 09:47:15 +0000 (11:47 +0200)]
Make it clear duplicity >=0.4.9 is required when using a custom tmpdir.

15 years agoRemove support for duplicity < 0.4.4. Even etch-backports has a newer one.
intrigeri [Tue, 12 Oct 2010 09:44:35 +0000 (11:44 +0200)]
Remove support for duplicity < 0.4.4. Even etch-backports has a newer one.

15 years agodup: use --tempdir option rather than TMPDIR environment variable.
intrigeri [Tue, 12 Oct 2010 09:15:47 +0000 (11:15 +0200)]
dup: use --tempdir option rather than TMPDIR environment variable.

Closes Roundup bug #598.

This breaks support of Debian etch.

15 years agoUpdate ChangeLog.
intrigeri [Tue, 12 Oct 2010 08:52:22 +0000 (10:52 +0200)]
Update ChangeLog.

15 years agoAdd Jacob Anawalt to authors.
intrigeri [Tue, 12 Oct 2010 08:52:01 +0000 (10:52 +0200)]
Add Jacob Anawalt to authors.

15 years agoEnable pg_dump format option.
Jacob Anawalt [Tue, 12 Oct 2010 00:53:00 +0000 (18:53 -0600)]
Enable pg_dump format option.

The format option of pg_dump enables tar and custom archive file formats in
addition to the default plain-text file containing SQL commands.

When either the tar or custom format are selected the behaviour of database=all is changed to no longer dump a single file via pg_dumpall. Instead pg_dumpall
is called once to export the "global" data (roles & tablespaces) and then
pg_dump is called once for each non-template table in the database.

To support the GZIP and GZIP_OPTS variables in backupninja and to give the
default --rsyncable gzip compression flag a chance at working on a PostgreSQL
backup, the custom output is forced to not use compression. Instead compression
is done via a pipe to gzip. Hopefully this benefits rsync and rdiff-backup
style backups for reduced backup and storage costs that outweigh the
restoration ones.

15 years agoUpdate ChangeLog after merging sarava's rsync branch.
intrigeri [Mon, 11 Oct 2010 07:06:56 +0000 (09:06 +0200)]
Update ChangeLog after merging sarava's rsync branch.

15 years agoMerge remote branch 'sarava/rsync'
intrigeri [Mon, 11 Oct 2010 07:06:14 +0000 (09:06 +0200)]
Merge remote branch 'sarava/rsync'

15 years agoDon't remove created metadata after rotation at rsync
Silvio Rhatto [Sat, 25 Sep 2010 19:27:11 +0000 (16:27 -0300)]
Don't remove created metadata after rotation at rsync

15 years agoDo not error out when no job is configured (Closes: #597684)
intrigeri [Wed, 22 Sep 2010 18:47:34 +0000 (20:47 +0200)]
Do not error out when no job is configured (Closes: #597684)