Micah Anderson
1eabbe5de7
dont run lspci and modinfo when hwinfo==no
2012-06-11 10:07:53 -04:00
Micah Anderson
f8e69f738e
Merge branch 'master' of labs.riseup.net:backupninja
2012-06-11 10:02:34 -04:00
intrigeri
b05065625c
mysql: use --skip-events when backing up the performance_schema database ( Closes : #673572 )
2012-05-20 13:11:12 +02:00
intrigeri
7e6a79c3d2
Install handlers as pkgdata_DATA, instead of their .in files.
2012-05-15 17:52:49 +02:00
intrigeri
d464a9742d
Have "make dist" package handlers/*.in instead of make results.
2012-05-15 17:07:15 +02:00
Silvio Rhatto
5b319008da
Updating pipefail branch so it can merge with master ( #3892 )
2012-05-15 10:00:45 -03:00
intrigeri
7c66b699f5
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.
2012-05-14 16:30:02 +02:00
Silvio Rhatto
118d7587b6
Changing pipefail just when it's really needed
2012-05-12 21:48:43 -03:00
intrigeri
c522391404
Merge remote-tracking branch 'sarava/bug/3721'
2012-05-13 02:33:37 +02:00
intrigeri
38a0fc572a
Merge remote-tracking branch 'sarava/bug/3838'
2012-05-13 02:31:06 +02:00
intrigeri
64b4d1c9f6
Merge remote-tracking branch 'sarava/bug/3840'
2012-05-13 02:29:48 +02:00
intrigeri
8e3981f444
Merge remote-tracking branch 'sarava/bug/3882'
2012-05-13 02:11:27 +02:00
Silvio Rhatto
b7a92b20f8
Fixing typos ( #3868 )
2012-05-10 21:26:38 -03:00
Silvio Rhatto
fbf25018be
Set/restore pipefail to not mess with other scripts ( #3892 )
2012-05-10 21:03:37 -03:00
Silvio Rhatto
c43bac5911
Ensure that a non-zero rsync exit status is caught by our handler ( #3892 )
2012-05-10 18:47:11 -03:00
Silvio Rhatto
f2f7e8cdb3
Merge branches 'master' and 'bug/3840' into bug/3840
2012-05-10 18:16:32 -03:00
Silvio Rhatto
5af9b96371
Removing duplicated locking support ( #3838 )
2012-05-10 17:25:34 -03:00
Silvio Rhatto
ba3e37595d
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.
2012-05-10 17:00:58 -03:00
Silvio Rhatto
bf5ada0f03
Changing remaining 'exit' to 'fatal' at rsync handler ( #3721 )
2012-05-10 16:53:52 -03:00
Silvio Rhatto
39bb9e605f
Trying additional quoting on excludes (upstream #3882 )
2012-04-13 09:58:18 -03:00
Silvio Rhatto
5ea13f4c24
Using @SED@ for #3882
2012-04-13 00:31:03 -03:00
Silvio Rhatto
aa8d0f8648
Quoting $exclude and $excludes and avoiding a for loop on $exclude to not expand wildcards in beforehand (upstream #3882 )
2012-04-12 21:29:57 -03:00
Silvio Rhatto
e22107cf09
Validate created date on long_rotation to avoid too many arguments at comparison (upstream #3868 )
2012-04-12 20:52:05 -03:00
Silvio Rhatto
29286c7c3e
Quoting $starttime (upstream #3868 )
2012-04-12 20:52:02 -03:00
Micah Anderson
79916c4c20
remove rsyncflags and excludes from maildir handler, they are not used anywhere
2012-03-27 11:58:18 -04:00
Micah Anderson
c9aa8b1d6f
remove maildir handler 'loadlimit' - it is not used anywhere
2012-03-27 10:49:26 -04:00
Silvio Rhatto
15b92db991
Rsync handler: use the backup start time and not the time the backup was finished (Debian #654192 )
2012-02-28 01:00:45 -03:00
Silvio Rhatto
1fda206fa2
Rsync handler: using more debug/warning instead of regular echo (upstream #3840 )
2012-02-27 18:47:21 -03:00
Silvio Rhatto
102c619341
Fixing $rsync_options output when rsync is local (Issue #3001 )
2012-02-26 13:51:24 +01:00
intrigeri
3a94e3bc59
Report duplicity failure output at error loglevel so that it is emailed.
2012-02-25 15:05:32 +01:00
intrigeri
3ac357dd95
Report failure of rdiff-backup jobs as such.
2012-02-25 14:56:56 +01:00
intrigeri
50c2f6e02a
Remove leftover FIXME that was fixed.
2012-02-25 14:41:50 +01:00
intrigeri
a74db16e51
Fix typos.
2012-02-25 14:01:49 +01:00
intrigeri
db168e41fd
pgsql: don't produce empty uncompressed backups (Redmine#3820).
2012-02-25 13:30:09 +01:00
intrigeri
5bfa30bb22
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.
2012-01-29 16:44:12 +01:00
intrigeri
f896ef3f65
dup: add precmd to every duplicity call.
2012-01-29 15:09:37 +01:00
intrigeri
357a17b155
Use --ssh-options with dup >= 0.6.17.
...
... and warn about unsupported options.
2012-01-29 15:09:37 +01:00
intrigeri
b99ccd6303
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.
2012-01-24 01:25:08 +01:00
Silvio Rhatto
dcabf4fe4e
Fixing escaping and debug message for remote metadata cleanup ( #3727 )
2012-01-04 22:48:45 +01:00
Silvio Rhatto
db45b98132
Cleanup orphaned metadata ( #3727 )
2012-01-04 22:48:41 +01:00
Silvio Rhatto
d680847c37
Abort on rsync error ( #3692 )
2012-01-01 17:28:14 +01:00
Silvio Rhatto
6933a8724d
Fixing metadata rotation
2012-01-01 10:46:15 +01:00
Silvio Rhatto
aaa53a78b2
Allow disabling rotation or setting 2 days as minimum for backup increments in rsync short format (Issue #2107 )
2012-01-01 10:45:48 +01:00
Silvio Rhatto
10d67587ef
Removing 'exit 1'; using 'fatal' instead (Redmine#3721)
2012-01-01 10:41:16 +01:00
Silvio Rhatto
926152dfa1
Mangle rsync_options just after all other options were evaluated ( #3702 )
2011-12-31 22:05:50 +01:00
Silvio Rhatto
b89b684c2c
Provide a default number of days for the rsync handler
2011-12-31 22:02:29 +01:00
Silvio Rhatto
46000c0308
Make numericids defaults to null ( fixes #3691 )
2011-12-31 21:49:29 +01:00
intrigeri
f351306d82
dup: add support for RackSpace's CloudFiles.
...
Thanks to Yuval Kogman <nothingmuch@woobling.org> for the patch.
2011-10-22 21:46:50 +02:00
intrigeri
25ad989fb7
Make the .dup generated by ninjahelper more consistent with example.dup.
...
I.e. document tmpdir.
2011-09-24 19:10:35 +02:00
intrigeri
65ff22247e
Remove useless and inconsistent executable bit on sys handler.
2011-09-20 22:36:04 +02:00