Commit Graph

327 Commits

Author SHA1 Message Date
intrigeri
ef9e8e0dc2 support new duplicity versions:
- general cleanup of dup handler
 - support remove-older-than command
 - also run "duplicity cleanup" before anything else, for safety reasons
 - migrated full/incremental backup switch to new syntax
ChangeLog: removed trailing space
2008-01-14 20:32:19 +00:00
Micah Anderson
18f6031a72 rdiff: incorporate sshoptions into options via remote-schema if not there 2007-12-12 02:54:09 +00:00
Micah Anderson
c0140aea97 fixed ignore_version default value 2007-12-05 20:41:54 +00:00
Micah Anderson
4af0550584 add wget handler, add released tag to the changelog and setup changelog for next release 2007-12-02 17:34:26 +00:00
Micah Anderson
8c04b73c83 add missing parameter to rsync 2007-12-02 16:56:32 +00:00
intrigeri
4a931bc290 duplicity: clarify comments about duplicity versions compatibility 2007-11-29 19:54:44 +00:00
intrigeri
8ed22e66fe dup: new tmpdir config option, useful when duplicity fills up /tmp 2007-11-26 07:42:24 +00:00
intrigeri
43ad297700 fix duplicity version test 2007-11-25 17:17:55 +00:00
Micah Anderson
c8e983a5ba fix typo 2007-11-25 00:05:37 +00:00
Micah Anderson
268494b0c8 allow for exclude only configurations to rdiff-backup handler: Closes Trac#21 2007-11-24 23:44:07 +00:00
Micah Anderson
ca62d94c56 fixup ldap SSL/TLS options, make TLS default in helper, Closes: Trac#13 2007-11-24 23:23:08 +00:00
Micah Anderson
84a6d7fa7a fix Trac#25 2007-11-24 23:13:24 +00:00
Micah Anderson
0c73bf6996 fixed ldap handler not recognizing database suffix 2007-11-24 23:03:21 +00:00
Micah Anderson
a44229971b fixed Trac#29 causing slapcat + gzip not to work 2007-11-24 23:00:33 +00:00
Micah Anderson
c2f0b78ad6 fixed ldap helper setting compress option wrong, standardize on options 2007-11-24 22:44:39 +00:00
Micah Anderson
f11befa73a add a maildir examples file 2007-11-24 22:17:04 +00:00
Micah Anderson
88541957d8 added local support to rdiff helper 2007-11-24 21:53:15 +00:00
Micah Anderson
3f2a826652 fixed Trac #1, actually add example.rsync 2007-11-24 21:32:30 +00:00
Micah Anderson
19dbc0aaee add patch from matthew palmer to enhance mysql database selection (Closes: #452039) 2007-11-20 01:28:49 +00:00
Micah Anderson
ea79f006da add example.rsync and updated rsync handler from rhatto 2007-11-06 21:20:36 +00:00
intrigeri
421c1bb769 fixed typo (rsyn.in) that prevented make to work 2007-11-03 03:13:21 +00:00
Micah Anderson
3a74d7d526 remove rsnap and rename rub handler to rsync, after consultation with rhatto 2007-11-02 19:32:51 +00:00
Micah Anderson
3cf6de4374 added nodata option to mysql handler, thanks to Daniel Bonniot (Closes: 408829) 2007-11-02 00:52:55 +00:00
Micah Anderson
02a7436b7c added ignore_version option to rdiff handler to enable you override the version check 2007-11-02 00:12:04 +00:00
intrigeri
f7f20cd4af Support duplicity >= 0.4.3 invocation syntax 2007-10-15 20:55:59 +00:00
intrigeri
5cda2e3cac forgot to add CLEANFILES to handlers/Makefile.am 2007-10-12 17:48:23 +00:00
intrigeri
579ea902ba fixed autotools build, broken since r466, inhandlers/Makefile.am 2007-10-12 17:06:09 +00:00
intrigeri
869ca46e85 dup: cleanup unused var. 2007-08-05 15:20:34 +00:00
Micah Anderson
e3454782c5 add patch to ignore rdiff minor version levels 2007-07-28 11:36:40 +00:00
intrigeri
b6c7437f4b rub: Fixed integer comparison (Closes: Trac#3) 2007-06-19 10:00:30 +00:00
intrigeri
ffac2e56a5 rdiff: handle "keep = yes" to disable old backups removal (Closes: #424633) 2007-06-19 09:55:13 +00:00
Elijah Saxon
5cf34cae1d made maildir handler spit out username when in debug mode 2007-04-23 00:10:50 +00:00
Elijah Saxon
fa54151cc6 commented out info line 2007-03-23 00:09:41 +00:00
Micah Anderson
6cdc21cff7 fix LC_ALL=C sfdisk thing that I missed 2007-03-04 20:15:39 +00:00
Micah Anderson
c0126ff1ef added ninjareport
added ale to AUTHORS for ldap fixes
adjusted sys handler to allow for turning off of sfdisk (#404071)
2007-03-04 10:29:26 +00:00
Micah Anderson
05c26446ed updated autotools abstraction to properly pick up different awk, sed,
and md5sum locations
2007-02-23 18:04:04 +00:00
Micah Anderson
d15a347be5 added some fixes from ale for the ldap handler
re-ordered the handler list in the changelog to be alpha
2007-02-01 23:32:13 +00:00
Elijah Saxon
5621db48e9 made source directory not found into warning instead of fatal 2007-01-22 21:35:52 +00:00
Micah Anderson
65f7b42f54 Updated makefiles to include rsnap/rub files that were
accidentally omitted
2007-01-21 19:30:10 +00:00
Micah Anderson
ea468148c5 Add Jamie McClelland's cstream patches 2006-12-15 23:13:47 +00:00
Micah Anderson
1727edae52 fixed case where combination of compress=no and specifying individual
vservers and mysqld wasn't running or mysqldump didn't exist would cause
a zero byte backup file
2006-12-13 05:36:41 +00:00
Micah Anderson
95ea71bfd1 Added rub handler fixes from rhatto 2006-11-01 21:50:26 +00:00
intrigeri
42b7be6130 sys: closes 396632 for real 2006-11-01 21:30:02 +00:00
intrigeri
b2cda6aae3 sys: start to fix silly output display and data loss 2006-11-01 21:14:35 +00:00
intrigeri
6b015afc1e pgsql: support PGSQLUSER for real (Closes: #396578) 2006-11-01 18:26:41 +00:00
Micah Anderson
d595bf00cb forgot to commit minor fix to rub handler 2006-10-31 05:00:13 +00:00
intrigeri
56c992661c sys: fix bug when vrootdir is on its own partition 2006-10-28 19:19:55 +00:00
intrigeri
e2f2e629cc sys: fixed typo breaking things with VServers 2006-10-07 22:53:46 +00:00
intrigeri
2dd5981aad sys: typo 2006-10-07 03:28:21 +00:00
intrigeri
2e9bb3f05e sys: fix the '*' in dpkg --get-selections 2006-10-07 03:27:24 +00:00
Micah Anderson
87143986c0 Here is my trac commit 2006-10-07 02:01:47 +00:00
intrigeri
054f9fb2ad dup: document how to write sftp-compatible (and thus new-duplicity-compatible)
sshoptions setting (Closes: #388543)
2006-10-07 01:23:21 +00:00
intrigeri
d395ae94a5 dup, rdiff: implemented and documented simpler and clearer symlinks/globbing
behaviour, as proposed on
http://lists.riseup.net/www/arc/backupninja/2006-07/msg00008.html
2006-10-07 00:40:58 +00:00
Micah Anderson
947309699d added ldaphost and tls variable as requested by stefani 2006-10-06 20:00:52 +00:00
Micah Anderson
4ce9c573c8 Added disk space report option (adam kosmin suggestion)
removed sys vserver not running noise report (anarcat suggestion)
2006-10-06 18:42:32 +00:00
Micah Anderson
4ceb4f15c2 Added rhatto's updated rub handler, not removing rsnap now, will probably want to do that
later
2006-10-06 18:26:42 +00:00
Micah Anderson
7debcd465b added purged packages to dpkg --get-selections 2006-10-04 23:38:30 +00:00
Micah Anderson
6d6d041bce Added changes from rhatto 2006-10-02 00:21:24 +00:00
Micah Anderson
b5ebe5d215 Added rhatto's rub handler, a second try at a rsync snapshot 2006-09-26 04:01:56 +00:00
Micah Anderson
28338e91c3 Added RPM patches submitted by Robert Napier 2006-08-11 13:46:57 +00:00
Micah Anderson
e6bf696c5a Changed partition check to use sfdisk as its more common 2006-08-08 21:40:08 +00:00
Micah Anderson
7814d463e4 Added warning if no devices were found on the system 2006-08-06 18:25:18 +00:00
Micah Anderson
32e13d4c65 Added fix to mysql handler for option change to --extra-files, also
comitting change to pgsql handler that I forgot to change, allows
the postgresql user to be set in backupninja.conf, instead of hardcoded
2006-08-03 17:38:00 +00:00
Elijah Saxon
824ef5ad9a added 2006-07-10 20:03:45 +00:00
Elijah Saxon
e511922ead shortened debugging messages 2006-07-10 19:34:21 +00:00
Micah Anderson
fe7ee521a6 add in-line compression to ldap handler 2006-06-10 00:33:51 +00:00
Micah Anderson
a2436c2ba4 Updated the indentation to be according to the agreed standard 2006-06-10 00:29:01 +00:00
Micah Anderson
b5130c4941 Added in-line compression to pgsql and mysql handlers, appears to work fine in tests 2006-06-10 00:25:16 +00:00
intrigeri
8589faa7f0 Applied Anarcat's patch to fix rdiff's $test 2006-06-09 11:34:42 +00:00
intrigeri
c1c28e7032 dup & rdiff: fixed * expansion in e-mails 2006-06-04 00:43:00 +00:00
intrigeri
79cc6a73b3 dup: now forbid to (try to) backup / 2006-06-04 00:36:33 +00:00
intrigeri
a65bc7af30 rdiff and dup handlers/helpers/examples symlink and globbing support enhancement
and clarification: for a given include/exclude/vsinclude statement, they now
support EITHER globbing with '*' OR symlinks in the path.
2006-06-04 00:30:03 +00:00
intrigeri
b538ddaa1e dup: checked that bandwidthlimit still works with duplicity 0.4.2, reflected
this into the docs/examples/Changelog
2006-06-03 22:37:40 +00:00
intrigeri
914e3c958c dup: more or less support duplicity 0.4.2 (bandwidthlimit maybe not working anymore, though) 2006-06-03 21:08:38 +00:00
intrigeri
a031bc2d53 rdiff: $VROOTDIR/$vserver was prepended twice, fixed ; thanks to Florian Burka 2006-06-03 19:11:35 +00:00
intrigeri
098952b69d dup (helper + handler + example config) : don't pretend anymore that duplicity
can work without any passphrase ; thanks Micah for the bug report
2006-05-30 03:40:34 +00:00
intrigeri
a8c5734f54 pgsql: postgres user UID is now the one from inside the vserver if necessary 2006-04-24 16:16:12 +00:00
intrigeri
806d97652f pgsql: Fixed shell expansion, thanks Thomas Kotzian (Closes: #363297) 2006-04-24 16:16:01 +00:00
Micah Anderson
3313ebbd62 minor spelling fix 2006-04-22 22:02:43 +00:00
Micah Anderson
8e85d7b725 A couple other minor edits to language 2006-04-22 21:41:39 +00:00
Micah Anderson
e39338a4d0 The helper didn't display the key properly, and I couldn't figure out
how to get it to do so, so I just removed that piece ;)
2006-04-22 21:31:34 +00:00
Micah Anderson
cb0d7cbdb0 Minor grammar fix 2006-04-22 21:22:24 +00:00
Micah Anderson
db0d7b6059 Updated the sys handler to include all the checks that Petr Klima
sent in the rhsys handler, made it work for both redhat and debian
2006-04-13 16:51:25 +00:00
Micah Anderson
d3875324de Added tar handler 2006-04-12 21:17:06 +00:00
Micah Anderson
59fa8f8ffe backslashes for the double quotes are necessary in the debug lines
otherwise when you run a test run it will print: debug su $user -c "$execstr"
instead of expanding those variables
the backslashes in the output= lines were wrong, but the debug lines
were necessary :)
2006-04-08 20:52:51 +00:00
intrigeri
a21b068548 r4446@krups: intrigeri | 2006-04-08 12:28:59 +0200
mysql handler: removed over-enthusiastic quote-escaping, related to su ;
 previous versions broke the mysql handler both on sarge and sid.
2006-04-08 10:31:14 +00:00
Micah Anderson
e12521be73 Removed over zelous vsnames check 2006-04-05 04:40:40 +00:00
Micah Anderson
e9e56a7af8 Added escaping of double quotes that were added previously 2006-03-25 20:14:03 +00:00
Micah Anderson
8f7a366d32 Fixed su quoting usage, as outlined here:
http://lists.debian.org/debian-devel-announce/2006/03/msg00003.html
2006-03-20 23:08:07 +00:00
Micah Anderson
e94597ad05 Harder than it looks at first! This appears to fix it, but please try it out. 2006-03-15 00:06:19 +00:00
Micah Anderson
0137962360 Fixed the include=/exclude= improper dereference problem in the dup handler 2006-03-11 07:22:44 +00:00
Micah Anderson
dc8e99c6c4 If you include= or exclude= a directory that is actually a symlink
somewhere along the chain you will only backup the symlink, and
not the data, this is fixed here in rdiff with this change
2006-03-11 07:21:04 +00:00
Micah Anderson
c8ebca79ad mysql tried to remove a tmpfile that didn't exist, fixed check for this 2006-03-07 18:40:08 +00:00
Micah Anderson
d568f305fd Added some more default excludes as reported by Adam Porter in bug #353412 2006-02-23 20:25:53 +00:00
Micah Anderson
a8d99f1b1e Fixed improper use of $vuserhome as reported as Debian bug #351083 2006-02-03 19:48:50 +00:00
intrigeri
1f21ab1f9d mysql, pgsql and svn handlers: fixed inversed vsname emptyness test 2006-02-02 20:28:28 +00:00
Micah Anderson
b756a86db7 This test needs to be inverted, otherwise it doesn't backup vservers at all 2006-02-01 18:12:29 +00:00
Micah Anderson
cf0e2ac5d5 Removed vsnames variable check as it is "over-paranoid" :) 2006-01-31 17:35:46 +00:00
Micah Anderson
dd0903db42 Apparantly it is common practice to NOT keep generated files in the repository,
since Makefile.in is generated through autogen.sh or autoreconf, it shouldn't be
put in the repo itself (except on release)
2006-01-26 20:53:34 +00:00
intrigeri
24f803c9ac typo 2006-01-19 21:58:56 +00:00
intrigeri
51d938cd68 - dup & rdiff handlers: finally, a real and well tested fix for the globbing bug
- rdiff: it's now possible to choose exactly which vservers should be
         backed-up, as it already was with duplicity handler, with the
	 "vsnames" configuration setting
2006-01-19 21:58:38 +00:00
intrigeri
8bc9312e15 handlers/sys: start to use new lib/vserver functionality 2006-01-19 21:58:29 +00:00
intrigeri
435e859a25 handlers/svn: use the same (short) code as pgsql and mysql to check vservers availability 2006-01-19 21:58:20 +00:00
intrigeri
a8cf739f66 rdiff.helper: fixed vsnames output syntax (currently unused by the rdiff handler, weird.) 2006-01-19 21:58:12 +00:00
intrigeri
b52464c19e clean up and homogenize pgsql and mysql vserver checks 2006-01-19 21:58:03 +00:00
intrigeri
d600ba40c0 handlers/pgsql: make more use of the new lib/vserver functionality 2006-01-19 21:57:54 +00:00
intrigeri
e5098e0cce handlers/pgsql: make use of the new lib/vserver functionality 2006-01-19 21:57:45 +00:00
intrigeri
a99d05982d homogeneized rdiff.helper, dup.helper and example.dup doc about vsnames and vsinclude 2006-01-19 21:57:37 +00:00
intrigeri
b7dd0cbf81 handlers/rdiff: make use of new lib/vserver functionality 2006-01-19 21:57:28 +00:00
intrigeri
a04140d071 rdiff: remove TODO comment line, since this has not to be done :) 2006-01-19 21:57:19 +00:00
intrigeri
e431f13bcc rdiff: fixed globbing bug for include, exclude and vsinclude (again.) 2006-01-19 21:57:11 +00:00
intrigeri
22bea56d9e rdiff: start to take advantage of new lib/vserver functionality 2006-01-19 21:57:02 +00:00
intrigeri
299a530734 lib/vserver.in: new function: vservers_exist
handlers/dup: make use of new lib/vserver functionality
2006-01-19 21:56:53 +00:00
intrigeri
38642e9c0f dup.helper: fixed output syntax for multiple vsnames
example.dup: fixed example vsnames syntax
2006-01-17 22:22:07 +00:00
intrigeri
aff6fdf349 handlers/dup: now works when multiple vservers names are given (separated by space) in vsnames config variable 2006-01-17 22:21:58 +00:00
intrigeri
4beb261328 duplicity handler: warn if vsnames or vsinclude is enabled while vservers support is disabled in backupninja.conf 2006-01-17 22:21:39 +00:00
intrigeri
b91c32792d autotools files upgrade to 0.9.2, seems to be needed and to have been forgotten 2006-01-16 22:14:05 +00:00
intrigeri
2578bfffa4 Fixed (eventually) the globbing include/exclude/vsinclude bug. 2006-01-16 22:01:01 +00:00
Elijah Saxon
83b09d71e9 . fixed errors in create remote dir
. code formatting cleanup (three spaces indent)
. fixed bug which caused only first include/exclude dir to
  have "include = "
. fixed globbing bug with exclude
2006-01-09 00:23:05 +00:00
Micah Anderson
ee384b08c7 Fixed mysql no user defaults file handling 2006-01-03 16:09:29 +00:00
intrigeri
c8efb40b7f r263@crapouille: intrigeri | 2005-12-28 21:19:10 +0100
Reverted indentation level to 3.
2005-12-28 20:19:29 +00:00
intrigeri
cfc47e5571 r261@crapouille: intrigeri | 2005-12-28 20:59:01 +0100
Changed default indentation level to 8, to make it presbyopia-friendly
2005-12-28 19:59:12 +00:00
intrigeri
0d606253af Added the "Emacs comment line" on top of every shell file. 2005-12-28 19:52:22 +00:00
intrigeri
1d74ab1299 dup.helper: updated to support the new duplicity handlers features. 2005-12-28 19:13:10 +00:00
intrigeri
c6c3cc98b4 dup: fixed erroneous gpg-related options processing; example.dup: fixed erroneous comments about the way gpg options are used 2005-12-28 17:32:12 +00:00
Micah Anderson
aefed90a3b r242@um: micah | 2005-12-27 17:06:10 -0500
vserver support added, database and dump directory selection added
2005-12-27 22:15:40 +00:00
Micah Anderson
918ac576d1 r241@um: micah | 2005-12-27 15:21:17 -0500
Updated rdiff-backup to do vserver selection using lib/vservers
2005-12-27 22:14:00 +00:00
Micah Anderson
104b663a9d r239@um: micah | 2005-12-27 14:52:42 -0500
I think the first three items are required, not the last 3 :)
2005-12-27 22:12:43 +00:00
Micah Anderson
cb33925290 r238@um: micah | 2005-12-27 13:32:57 -0500
Add global variable rdiff_title and change all the titles to use it
2005-12-27 22:12:22 +00:00
intrigeri
e8c8a32ac2 dup: now possible to use different keys to sign and encrypt 2005-12-27 19:38:15 +00:00
Micah Anderson
def238857d r221@um: micah | 2005-12-27 11:54:34 -0500
If the user is set, make sure the --defaults-file is set for
 that user.
2005-12-27 17:38:07 +00:00
Micah Anderson
065c9aa959 r220@um: micah | 2005-12-27 11:12:31 -0500
Add -h option to mysqlhotcopy method
2005-12-27 17:37:54 +00:00
Micah Anderson
06edbbddc5 r219@um: micah | 2005-12-27 10:32:24 -0500
Defaults file is now set correctly for vservers
 dbhost is now added to the .my.cnf
2005-12-27 17:37:44 +00:00
Micah Anderson
603c015425 r218@um: micah | 2005-12-27 09:59:40 -0500
Changed some info output to debug
2005-12-27 17:37:31 +00:00
Micah Anderson
3b59f10fd3 r217@um: micah | 2005-12-27 09:57:30 -0500
Some clean-ups, indentations and if/then/fi and do/done standardization
2005-12-27 17:37:18 +00:00
Micah Anderson
52d4622f5d r216@um: micah | 2005-12-27 09:50:17 -0500
Set home properly when using vservers
2005-12-27 17:37:04 +00:00
Micah Anderson
5d835a799c r215@um: micah | 2005-12-27 09:40:23 -0500
Minor variable and documentation clean-up
2005-12-27 17:36:46 +00:00
Micah Anderson
21b3955283 r214@um: micah | 2005-12-27 09:35:03 -0500
Added vserver functionality to the user authentication method
2005-12-27 17:36:32 +00:00
Micah Anderson
f46646600f r213@um: micah | 2005-12-27 09:14:18 -0500
Move vserver initialization higher up in the chain
2005-12-27 17:36:21 +00:00
Micah Anderson
0ad20d5ad0 r212@um: micah | 2005-12-27 09:12:22 -0500
trivial code change
2005-12-27 17:36:07 +00:00
Micah Anderson
84d86d056f r211@um: micah | 2005-12-27 09:09:54 -0500
Added some vserver handling to determine correct home directory, also
 enhanced error handling
2005-12-27 17:35:54 +00:00
Micah Anderson
8b441b16e5 r210@um: micah | 2005-12-27 08:38:07 -0500
Added -q to vserver-info test in mysql handler to quiet the test
 to see if it is running
2005-12-27 17:35:42 +00:00
Micah Anderson
0e8c35b5c5 r208@um: micah | 2005-12-26 22:43:36 -0500
Fixed mysql check to see if vserver is running
2005-12-27 17:04:33 +00:00
Micah Anderson
c557a40372 r193@um: micah | 2005-12-24 21:05:47 -0500
Added trac patch to fix subdir mkdir problem
2005-12-25 03:26:02 +00:00
intrigeri
921babdf41 mysql,pgsql,svn,sys: fixed failing "is vserver running" test 2005-11-29 14:18:31 +00:00
intrigeri
d5c8686efd dup: Fixed globbing support in include and exclude options (Debian bug #338796) 2005-11-29 11:30:06 +00:00
intrigeri
608d395aa2 r3569@krups: intrigeri | 2005-11-17 22:34:04 +0100
dup.helper: now remembers the src-section values (includes, etc.) inside one do_new session
2005-11-29 10:11:25 +00:00
intrigeri
b27f7e71b6 r3568@krups: intrigeri | 2005-11-17 22:25:05 +0100
dup.helper: some code cleaning
2005-11-29 10:11:14 +00:00
intrigeri
fbd3c3d84c r3567@krups: intrigeri | 2005-11-17 22:08:30 +0100
pgsql.helper: forbid the user to choose an empty database set to backup
2005-11-29 10:11:04 +00:00
intrigeri
d56c0f0aee r3566@krups: intrigeri | 2005-11-17 21:59:38 +0100
ninjahelper: moved (and enhanced) vservers-related functions to lib/vservers. dup.helper, pgsql.helper: use these functions
2005-11-29 10:10:53 +00:00