matthijs/upstream/backupninja.git
18 years agoAdded example file for rsnap, it needs some documentation to make it more clear
Micah Anderson [Sun, 6 Aug 2006 18:07:07 +0000 (18:07 +0000)]
Added example file for rsnap, it needs some documentation to make it more clear

18 years agoAdded patch to improve RPM building
Micah Anderson [Sun, 6 Aug 2006 18:01:28 +0000 (18:01 +0000)]
Added patch to improve RPM building

18 years agoAdded fix to mysql handler for option change to --extra-files, also
Micah Anderson [Thu, 3 Aug 2006 17:38:00 +0000 (17:38 +0000)]
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

18 years agoAdded (commented out) the default VROOTDIR in the conffile, so that users know
intrigeri [Mon, 24 Jul 2006 20:23:20 +0000 (20:23 +0000)]
Added (commented out) the default VROOTDIR in the conffile, so that users know
it can be changed.

18 years agobackupninja and ninjahelper: have find following symlinks for config files also work...
intrigeri [Thu, 13 Jul 2006 20:30:13 +0000 (20:30 +0000)]
backupninja and ninjahelper: have find following symlinks for config files also work on sarge, by replacing -L with -follow

18 years agoadded paulv
Elijah Saxon [Mon, 10 Jul 2006 20:09:02 +0000 (20:09 +0000)]
added paulv

18 years agoadded rsnap
Elijah Saxon [Mon, 10 Jul 2006 20:08:35 +0000 (20:08 +0000)]
added rsnap

18 years agoadded
Elijah Saxon [Mon, 10 Jul 2006 20:03:45 +0000 (20:03 +0000)]
added

18 years agoshortened debugging messages
Elijah Saxon [Mon, 10 Jul 2006 19:34:21 +0000 (19:34 +0000)]
shortened debugging messages

18 years agoChanged order of -s in the mail call for compatibility, from
Micah Anderson [Sat, 10 Jun 2006 16:20:05 +0000 (16:20 +0000)]
Changed order of -s in the mail call for compatibility, from
anarcat

18 years agoAdded explicit mktemp template names so that mktemp is more compatible with other...
Micah Anderson [Sat, 10 Jun 2006 16:14:38 +0000 (16:14 +0000)]
Added explicit mktemp template names so that mktemp is more compatible with other versions
than Debian's. Also added Anarcat to the AUTHORS file

18 years agoAdd fix from anarcat for ${configdirectory} in ninjahelper, also add -L to find to...
Micah Anderson [Sat, 10 Jun 2006 16:09:59 +0000 (16:09 +0000)]
Add fix from anarcat for ${configdirectory} in ninjahelper, also add -L to find to follow symlinks in case this
directory is actually not a directory, but instead a symlink to somewhere else

18 years agothe find that looks in /etc/backup.d didn't follow symlinks and would instead fail
Micah Anderson [Sat, 10 Jun 2006 13:40:22 +0000 (13:40 +0000)]
the find that looks in /etc/backup.d didn't follow symlinks and would instead fail
silently causing me much confusion, so I added -L to find and an if statement to
spit something out so its obvious

18 years agoadd in-line compression to ldap handler
Micah Anderson [Sat, 10 Jun 2006 00:33:51 +0000 (00:33 +0000)]
add in-line compression to ldap handler

18 years agoUpdated the indentation to be according to the agreed standard
Micah Anderson [Sat, 10 Jun 2006 00:29:01 +0000 (00:29 +0000)]
Updated the indentation to be according to the agreed standard

18 years agoAdded in-line compression to pgsql and mysql handlers, appears to work fine in tests
Micah Anderson [Sat, 10 Jun 2006 00:25:16 +0000 (00:25 +0000)]
Added in-line compression to pgsql and mysql handlers, appears to work fine in tests

18 years agoAdded a slightly modified version of the anti-fascist patch (allows for
Micah Anderson [Fri, 9 Jun 2006 17:27:21 +0000 (17:27 +0000)]
Added a slightly modified version of the anti-fascist patch (allows for
a configurable admingroup to be set, instead of forcing it to be root),
closes debian bug#370396

18 years agoApplied Anarcat's patch to fix rdiff's $test
intrigeri [Fri, 9 Jun 2006 11:34:42 +0000 (11:34 +0000)]
Applied Anarcat's patch to fix rdiff's $test

18 years agodup & rdiff: fixed * expansion in e-mails
intrigeri [Sun, 4 Jun 2006 00:43:00 +0000 (00:43 +0000)]
dup & rdiff: fixed * expansion in e-mails

18 years agodup: now forbid to (try to) backup /
intrigeri [Sun, 4 Jun 2006 00:36:33 +0000 (00:36 +0000)]
dup: now forbid to (try to) backup /

18 years agoForgot to update Changelog for previous rev: rdiff now works if testconnect=no and...
intrigeri [Sun, 4 Jun 2006 00:34:23 +0000 (00:34 +0000)]
Forgot to update Changelog for previous rev: rdiff now works if testconnect=no and if $test is not defined

18 years agordiff and dup handlers/helpers/examples symlink and globbing support enhancement
intrigeri [Sun, 4 Jun 2006 00:30:03 +0000 (00:30 +0000)]
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.

18 years agodup: checked that bandwidthlimit still works with duplicity 0.4.2, reflected
intrigeri [Sat, 3 Jun 2006 22:37:40 +0000 (22:37 +0000)]
dup: checked that  bandwidthlimit still works with duplicity 0.4.2, reflected
this into the docs/examples/Changelog

18 years agoforgot to write to Changelog
intrigeri [Sat, 3 Jun 2006 21:12:00 +0000 (21:12 +0000)]
forgot to write to Changelog

18 years agodup: more or less support duplicity 0.4.2 (bandwidthlimit maybe not working anymore...
intrigeri [Sat, 3 Jun 2006 21:08:38 +0000 (21:08 +0000)]
dup: more or less support duplicity 0.4.2 (bandwidthlimit maybe not working anymore, though)

18 years agordiff: $VROOTDIR/$vserver was prepended twice, fixed ; thanks to Florian Burka
intrigeri [Sat, 3 Jun 2006 19:11:35 +0000 (19:11 +0000)]
rdiff: $VROOTDIR/$vserver was prepended twice, fixed ; thanks to Florian Burka

18 years agoninjahelper: Recursively ignore subdirs in /etc/backup.d (Finally Closes: #361102)
intrigeri [Tue, 30 May 2006 03:41:39 +0000 (03:41 +0000)]
ninjahelper: Recursively ignore subdirs in /etc/backup.d (Finally Closes: #361102)

18 years agodup (helper + handler + example config) : don't pretend anymore that duplicity
intrigeri [Tue, 30 May 2006 03:40:34 +0000 (03:40 +0000)]
dup (helper + handler + example config) : don't pretend anymore that duplicity
can work without any passphrase ; thanks Micah for the bug report

18 years agoadd database handler todo item
Micah Anderson [Sun, 7 May 2006 19:59:17 +0000 (19:59 +0000)]
add database handler todo item

18 years agovsnames = all, would be cool for mysql handler
Elijah Saxon [Sat, 29 Apr 2006 21:52:15 +0000 (21:52 +0000)]
vsnames = all, would be cool for mysql handler

18 years agopgsql: postgres user UID is now the one from inside the vserver if necessary
intrigeri [Mon, 24 Apr 2006 16:16:12 +0000 (16:16 +0000)]
pgsql: postgres user UID is now the one from inside the vserver if necessary

18 years agopgsql: Fixed shell expansion, thanks Thomas Kotzian (Closes: #363297)
intrigeri [Mon, 24 Apr 2006 16:16:01 +0000 (16:16 +0000)]
pgsql: Fixed shell expansion, thanks Thomas Kotzian (Closes: #363297)

18 years agominor spelling fix
Micah Anderson [Sat, 22 Apr 2006 22:02:43 +0000 (22:02 +0000)]
minor spelling fix

18 years agoA couple other minor edits to language
Micah Anderson [Sat, 22 Apr 2006 21:41:39 +0000 (21:41 +0000)]
A couple other minor edits to language

18 years agoThe helper didn't display the key properly, and I couldn't figure out
Micah Anderson [Sat, 22 Apr 2006 21:31:34 +0000 (21:31 +0000)]
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 ;)

18 years agoMinor grammar fix
Micah Anderson [Sat, 22 Apr 2006 21:22:24 +0000 (21:22 +0000)]
Minor grammar fix

18 years ago(no commit message)
Elijah Saxon [Wed, 19 Apr 2006 23:21:55 +0000 (23:21 +0000)]

18 years agoUpdated the sys handler to include all the checks that Petr Klima
Micah Anderson [Thu, 13 Apr 2006 16:51:25 +0000 (16:51 +0000)]
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

18 years agoAdded tar handler
Micah Anderson [Wed, 12 Apr 2006 21:17:06 +0000 (21:17 +0000)]
Added tar handler

18 years agoChanged cron.d permissions to 644
Micah Anderson [Wed, 12 Apr 2006 21:06:34 +0000 (21:06 +0000)]
Changed cron.d permissions to 644

18 years agobackslashes for the double quotes are necessary in the debug lines
Micah Anderson [Sat, 8 Apr 2006 20:52:51 +0000 (20:52 +0000)]
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 :)

18 years agoRecursively ignore subdirs in /etc/backup.d (Closes: #361102)
intrigeri [Sat, 8 Apr 2006 10:44:55 +0000 (10:44 +0000)]
Recursively ignore subdirs in /etc/backup.d (Closes: #361102)

18 years agoTODO: removed erroeously re-added old item
intrigeri [Sat, 8 Apr 2006 10:35:47 +0000 (10:35 +0000)]
TODO: removed erroeously re-added old item

18 years ago r4446@krups: intrigeri | 2006-04-08 12:28:59 +0200
intrigeri [Sat, 8 Apr 2006 10:31:14 +0000 (10:31 +0000)]
 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.

18 years ago(no commit message)
intrigeri [Sat, 8 Apr 2006 10:29:48 +0000 (10:29 +0000)]

18 years agoRemoved over zelous vsnames check
Micah Anderson [Wed, 5 Apr 2006 04:40:40 +0000 (04:40 +0000)]
Removed over zelous vsnames check

18 years agocorrected minor typo
Elijah Saxon [Tue, 4 Apr 2006 17:29:40 +0000 (17:29 +0000)]
corrected minor typo

18 years agoAdded escaping of double quotes that were added previously
Micah Anderson [Sat, 25 Mar 2006 20:14:03 +0000 (20:14 +0000)]
Added escaping of double quotes that were added previously

18 years agoRemove AM_MAINTAINER_MODE from configure.in because it is erroring
Micah Anderson [Sat, 25 Mar 2006 17:54:22 +0000 (17:54 +0000)]
Remove AM_MAINTAINER_MODE from configure.in because it is erroring
out with newest autotools

18 years agoFixed su quoting usage, as outlined here:
Micah Anderson [Mon, 20 Mar 2006 23:08:07 +0000 (23:08 +0000)]
Fixed su quoting usage, as outlined here:
http://lists.debian.org/debian-devel-announce/2006/03/msg00003.html

18 years agolost+found was not being removed from the list of found_vservers
Micah Anderson [Wed, 15 Mar 2006 18:05:43 +0000 (18:05 +0000)]
lost+found was not being removed from the list of found_vservers
because the + was being interpreted by grep -E, I've escaped it
so it will properly be removed

18 years agoHarder than it looks at first! This appears to fix it, but please try it out.
Micah Anderson [Wed, 15 Mar 2006 00:06:19 +0000 (00:06 +0000)]
Harder than it looks at first! This appears to fix it, but please try it out.

18 years agoFixed the include=/exclude= improper dereference problem in the dup handler
Micah Anderson [Sat, 11 Mar 2006 07:22:44 +0000 (07:22 +0000)]
Fixed the include=/exclude= improper dereference problem in the dup handler

18 years agoIf you include= or exclude= a directory that is actually a symlink
Micah Anderson [Sat, 11 Mar 2006 07:21:04 +0000 (07:21 +0000)]
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

18 years agomysql tried to remove a tmpfile that didn't exist, fixed check for this
Micah Anderson [Tue, 7 Mar 2006 18:40:08 +0000 (18:40 +0000)]
mysql tried to remove a tmpfile that didn't exist, fixed check for this

18 years agoAdded some more default excludes as reported by Adam Porter in bug #353412
Micah Anderson [Thu, 23 Feb 2006 20:25:53 +0000 (20:25 +0000)]
Added some more default excludes as reported by Adam Porter in bug #353412

18 years agoAdd AM_MAINTAINER_MODE to configure.in which enables maintainer mode
Micah Anderson [Sat, 4 Feb 2006 17:49:57 +0000 (17:49 +0000)]
Add AM_MAINTAINER_MODE to configure.in which enables maintainer mode

18 years agoFixed improper use of $vuserhome as reported as Debian bug #351083
Micah Anderson [Fri, 3 Feb 2006 19:48:50 +0000 (19:48 +0000)]
Fixed improper use of $vuserhome as reported as Debian bug #351083

18 years agomysql, pgsql and svn handlers: fixed inversed vsname emptyness test
intrigeri [Thu, 2 Feb 2006 20:28:28 +0000 (20:28 +0000)]
mysql, pgsql and svn handlers: fixed inversed vsname emptyness test

18 years agoChangelog: added next-release section, added my previous fix' log entry
intrigeri [Thu, 2 Feb 2006 20:13:14 +0000 (20:13 +0000)]
Changelog: added next-release section, added my previous fix' log entry

18 years agolib/vserver.in: fixed #351083 (readlink syntax error)
intrigeri [Thu, 2 Feb 2006 20:09:50 +0000 (20:09 +0000)]
lib/vserver.in: fixed #351083 (readlink syntax error)

18 years agoThis test needs to be inverted, otherwise it doesn't backup vservers at all
Micah Anderson [Wed, 1 Feb 2006 18:12:29 +0000 (18:12 +0000)]
This test needs to be inverted, otherwise it doesn't backup vservers at all

18 years agoRemoved vsnames variable check as it is "over-paranoid" :)
Micah Anderson [Tue, 31 Jan 2006 17:35:46 +0000 (17:35 +0000)]
Removed vsnames variable check as it is "over-paranoid" :)

18 years agoMissing backslash
Micah Anderson [Thu, 26 Jan 2006 21:41:57 +0000 (21:41 +0000)]
Missing backslash

18 years agoFix for lib/Makefile.am to install libraries in the right place
Micah Anderson [Thu, 26 Jan 2006 21:40:06 +0000 (21:40 +0000)]
Fix for lib/Makefile.am to install libraries in the right place

18 years agoRemove some more generated files that shouldn't be in subversion
Micah Anderson [Thu, 26 Jan 2006 21:08:55 +0000 (21:08 +0000)]
Remove some more generated files that shouldn't be in subversion

18 years agoSlight change to autogen.sh to act like other scripts I've found
Micah Anderson [Thu, 26 Jan 2006 21:05:45 +0000 (21:05 +0000)]
Slight change to autogen.sh to act like other scripts I've found

18 years agoApparantly it is common practice to NOT keep generated files in the repository,
Micah Anderson [Thu, 26 Jan 2006 20:53:34 +0000 (20:53 +0000)]
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)

18 years agoFixed the Makefile.in to actually work (for real)
Micah Anderson [Fri, 20 Jan 2006 02:36:10 +0000 (02:36 +0000)]
Fixed the Makefile.in to actually work (for real)

18 years agoFixed up Makefiles to actually work
Micah Anderson [Fri, 20 Jan 2006 01:46:14 +0000 (01:46 +0000)]
Fixed up Makefiles to actually work

18 years agoconfigure script should not be in svn, but instead generated on release
Micah Anderson [Fri, 20 Jan 2006 00:10:58 +0000 (00:10 +0000)]
configure script should not be in svn, but instead generated on release
configure.in modified to be more selective about finding bash
configure.in modified for 0.9.3 release
autogen.sh modified to create config.guess and config.sub for release
changelog updated about autoconf changes
Removed /bin/bash TODO line

18 years agoTODO: added Debian BTS url
intrigeri [Thu, 19 Jan 2006 22:51:38 +0000 (22:51 +0000)]
TODO: added Debian BTS url

18 years agoAdd configure /bin/sh problem to TODO
Micah Anderson [Thu, 19 Jan 2006 22:31:10 +0000 (22:31 +0000)]
Add configure /bin/sh problem to TODO

18 years agoTODO: added some bits from my own TODO, he he
intrigeri [Thu, 19 Jan 2006 21:59:22 +0000 (21:59 +0000)]
TODO: added some bits from my own TODO, he he

18 years agoREADME: upgraded the ninjahelper section from the manpage
intrigeri [Thu, 19 Jan 2006 21:59:13 +0000 (21:59 +0000)]
README: upgraded the ninjahelper section from the manpage

18 years agotypo
intrigeri [Thu, 19 Jan 2006 21:59:05 +0000 (21:59 +0000)]
typo

18 years agotypo
intrigeri [Thu, 19 Jan 2006 21:58:56 +0000 (21:58 +0000)]
typo

18 years agoas usual, forgot to update the Changelog in last commit...
intrigeri [Thu, 19 Jan 2006 21:58:47 +0000 (21:58 +0000)]
as usual, forgot to update the Changelog in last commit...

18 years ago- dup & rdiff handlers: finally, a real and well tested fix for the globbing bug
intrigeri [Thu, 19 Jan 2006 21:58:38 +0000 (21:58 +0000)]
- 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

18 years agohandlers/sys: start to use new lib/vserver functionality
intrigeri [Thu, 19 Jan 2006 21:58:29 +0000 (21:58 +0000)]
handlers/sys: start to use new lib/vserver functionality

18 years agohandlers/svn: use the same (short) code as pgsql and mysql to check vservers availability
intrigeri [Thu, 19 Jan 2006 21:58:20 +0000 (21:58 +0000)]
handlers/svn: use the same (short) code as pgsql and mysql to check vservers availability

18 years agordiff.helper: fixed vsnames output syntax (currently unused by the rdiff handler...
intrigeri [Thu, 19 Jan 2006 21:58:12 +0000 (21:58 +0000)]
rdiff.helper: fixed vsnames output syntax (currently unused by the rdiff handler, weird.)

18 years agoclean up and homogenize pgsql and mysql vserver checks
intrigeri [Thu, 19 Jan 2006 21:58:03 +0000 (21:58 +0000)]
clean up and homogenize pgsql and mysql vserver checks

18 years agohandlers/pgsql: make more use of the new lib/vserver functionality
intrigeri [Thu, 19 Jan 2006 21:57:54 +0000 (21:57 +0000)]
handlers/pgsql: make more use of the new lib/vserver functionality

18 years agohandlers/pgsql: make use of the new lib/vserver functionality
intrigeri [Thu, 19 Jan 2006 21:57:45 +0000 (21:57 +0000)]
handlers/pgsql: make use of the new lib/vserver functionality

18 years agohomogeneized rdiff.helper, dup.helper and example.dup doc about vsnames and vsinclude
intrigeri [Thu, 19 Jan 2006 21:57:37 +0000 (21:57 +0000)]
homogeneized rdiff.helper, dup.helper and example.dup doc about vsnames and vsinclude

18 years agohandlers/rdiff: make use of new lib/vserver functionality
intrigeri [Thu, 19 Jan 2006 21:57:28 +0000 (21:57 +0000)]
handlers/rdiff: make use of new lib/vserver functionality

18 years agordiff: remove TODO comment line, since this has not to be done :)
intrigeri [Thu, 19 Jan 2006 21:57:19 +0000 (21:57 +0000)]
rdiff: remove TODO comment line, since this has not to be done :)

18 years agordiff: fixed globbing bug for include, exclude and vsinclude (again.)
intrigeri [Thu, 19 Jan 2006 21:57:11 +0000 (21:57 +0000)]
rdiff: fixed globbing bug for include, exclude and vsinclude (again.)

18 years agordiff: start to take advantage of new lib/vserver functionality
intrigeri [Thu, 19 Jan 2006 21:57:02 +0000 (21:57 +0000)]
rdiff: start to take advantage of new lib/vserver functionality

18 years agolib/vserver.in: new function: vservers_exist
intrigeri [Thu, 19 Jan 2006 21:56:53 +0000 (21:56 +0000)]
lib/vserver.in: new function: vservers_exist
handlers/dup: make use of new lib/vserver functionality

18 years agolib/vserver.in[init_vservers]: warn if vservers are enabled but no vserver is found
intrigeri [Thu, 19 Jan 2006 21:56:44 +0000 (21:56 +0000)]
lib/vserver.in[init_vservers]: warn if vservers are enabled but no vserver is found

18 years agolib/vserver.in [init_vservers] : canonicalize VROOTDIR (since duplicity et al. don...
intrigeri [Tue, 17 Jan 2006 22:23:24 +0000 (22:23 +0000)]
lib/vserver.in [init_vservers] : canonicalize VROOTDIR (since duplicity et al. don't follow symlinks)

18 years agolib/vserver.in [init_vservers] : test in a stricter way the real vservers availability
intrigeri [Tue, 17 Jan 2006 22:23:06 +0000 (22:23 +0000)]
lib/vserver.in [init_vservers] : test in a stricter way the real vservers availability

18 years agocode refactor: backupninja now uses vservers lib to init vservers support
intrigeri [Tue, 17 Jan 2006 22:22:52 +0000 (22:22 +0000)]
code refactor: backupninja now uses vservers lib to init vservers support
(I hate duplicated code!)

18 years agolib/vserver.in: modified init_vservers so that it can also be used by backupninja
intrigeri [Tue, 17 Jan 2006 22:22:40 +0000 (22:22 +0000)]
lib/vserver.in: modified init_vservers so that it can also be used by backupninja

18 years agobackupninja.in: improved VROOTDIR detection as in lib/vserver.in
intrigeri [Tue, 17 Jan 2006 22:22:25 +0000 (22:22 +0000)]
backupninja.in: improved VROOTDIR detection as in lib/vserver.in

18 years agolib/vserver.in: enhanced the VROOTDIR discovery
intrigeri [Tue, 17 Jan 2006 22:22:16 +0000 (22:22 +0000)]
lib/vserver.in: enhanced the VROOTDIR discovery

18 years agodup.helper: fixed output syntax for multiple vsnames
intrigeri [Tue, 17 Jan 2006 22:22:07 +0000 (22:22 +0000)]
dup.helper: fixed output syntax for multiple vsnames
example.dup: fixed example vsnames syntax

18 years agohandlers/dup: now works when multiple vservers names are given (separated by space...
intrigeri [Tue, 17 Jan 2006 22:21:58 +0000 (22:21 +0000)]
handlers/dup: now works when multiple vservers names are given (separated by space) in vsnames config variable