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
intrigeri [Thu, 19 Jan 2006 21:58:29 +0000 (21:58 +0000)]
handlers/sys: start to use new lib/vserver functionality
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
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.)
intrigeri [Thu, 19 Jan 2006 21:58:03 +0000 (21:58 +0000)]
clean up and homogenize pgsql and mysql vserver checks
intrigeri [Thu, 19 Jan 2006 21:57:54 +0000 (21:57 +0000)]
handlers/pgsql: make more 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
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
intrigeri [Thu, 19 Jan 2006 21:57:28 +0000 (21:57 +0000)]
handlers/rdiff: make use of new lib/vserver functionality
intrigeri [Thu, 19 Jan 2006 21:57:19 +0000 (21:57 +0000)]
rdiff: remove TODO comment line, since this has not to be done :)
intrigeri [Thu, 19 Jan 2006 21:57:11 +0000 (21:57 +0000)]
rdiff: fixed globbing bug for include, exclude and vsinclude (again.)
intrigeri [Thu, 19 Jan 2006 21:57:02 +0000 (21:57 +0000)]
rdiff: start to take advantage of new lib/vserver functionality
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
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
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)
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
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!)
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
intrigeri [Tue, 17 Jan 2006 22:22:25 +0000 (22:22 +0000)]
backupninja.in: improved VROOTDIR detection as in lib/vserver.in
intrigeri [Tue, 17 Jan 2006 22:22:16 +0000 (22:22 +0000)]
lib/vserver.in: enhanced the VROOTDIR discovery
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
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
intrigeri [Tue, 17 Jan 2006 22:21:49 +0000 (22:21 +0000)]
add the Emacs header comment line to lib/*.in
intrigeri [Tue, 17 Jan 2006 22:21:39 +0000 (22:21 +0000)]
duplicity handler: warn if vsnames or vsinclude is enabled while vservers support is disabled in backupninja.conf
intrigeri [Mon, 16 Jan 2006 22:14:05 +0000 (22:14 +0000)]
autotools files upgrade to 0.9.2, seems to be needed and to have been forgotten
intrigeri [Mon, 16 Jan 2006 22:01:21 +0000 (22:01 +0000)]
forgot to update Changelog for previous commit
intrigeri [Mon, 16 Jan 2006 22:01:01 +0000 (22:01 +0000)]
Fixed (eventually) the globbing include/exclude/vsinclude bug.
Micah Anderson [Sat, 14 Jan 2006 16:27:28 +0000 (16:27 +0000)]
Added TODO list and updated Authors
Elijah Saxon [Mon, 9 Jan 2006 00:23:05 +0000 (00:23 +0000)]
. 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
Elijah Saxon [Mon, 9 Jan 2006 00:21:28 +0000 (00:21 +0000)]
added bug warning in comments
Elijah Saxon [Mon, 9 Jan 2006 00:20:48 +0000 (00:20 +0000)]
fixed indenting
Elijah Saxon [Mon, 9 Jan 2006 00:20:15 +0000 (00:20 +0000)]
. now reports error if the helper script has a syntax error or bombs out.
. code formatting cleanup (three spaces indent)
Elijah Saxon [Mon, 9 Jan 2006 00:19:39 +0000 (00:19 +0000)]
lots of ninjahelper changes
Micah Anderson [Tue, 3 Jan 2006 16:09:29 +0000 (16:09 +0000)]
Fixed mysql no user defaults file handling
Elijah Saxon [Mon, 2 Jan 2006 21:44:09 +0000 (21:44 +0000)]
tabs to spaces
intrigeri [Mon, 2 Jan 2006 16:19:54 +0000 (16:19 +0000)]
r585@crapouille: intrigeri | 2006-01-02 17:18:49 +0100
Added (commented out) to backupninja.conf the default paths to programs such as
PGSQLDUMP, so that users can figure out more easily they can customize them.
Micah Anderson [Thu, 29 Dec 2005 19:57:26 +0000 (19:57 +0000)]
Oops, adding ninjahelper to Makefile
Micah Anderson [Thu, 29 Dec 2005 18:52:48 +0000 (18:52 +0000)]
Set released date to today
intrigeri [Wed, 28 Dec 2005 20:19:29 +0000 (20:19 +0000)]
r263@crapouille: intrigeri | 2005-12-28 21:19:10 +0100
Reverted indentation level to 3.
intrigeri [Wed, 28 Dec 2005 19:59:12 +0000 (19:59 +0000)]
r261@crapouille: intrigeri | 2005-12-28 20:59:01 +0100
Changed default indentation level to 8, to make it presbyopia-friendly
intrigeri [Wed, 28 Dec 2005 19:52:22 +0000 (19:52 +0000)]
Added the "Emacs comment line" on top of every shell file.
intrigeri [Wed, 28 Dec 2005 19:13:10 +0000 (19:13 +0000)]
dup.helper: updated to support the new duplicity handlers features.
intrigeri [Wed, 28 Dec 2005 17:32:12 +0000 (17:32 +0000)]
dup: fixed erroneous gpg-related options processing; example.dup: fixed erroneous comments about the way gpg options are used
Micah Anderson [Tue, 27 Dec 2005 22:35:32 +0000 (22:35 +0000)]
r253@um: micah | 2005-12-27 17:34:08 -0500
Try to make it less busy
Micah Anderson [Tue, 27 Dec 2005 22:34:14 +0000 (22:34 +0000)]
r251@um: micah | 2005-12-27 17:32:48 -0500
Updated formatting
Micah Anderson [Tue, 27 Dec 2005 22:16:51 +0000 (22:16 +0000)]
r243@um: micah | 2005-12-27 17:06:37 -0500
Updated changelog, and reformatted it to be more organized according to
element changed
Micah Anderson [Tue, 27 Dec 2005 22:15:40 +0000 (22:15 +0000)]
r242@um: micah | 2005-12-27 17:06:10 -0500
vserver support added, database and dump directory selection added
Micah Anderson [Tue, 27 Dec 2005 22:14:00 +0000 (22:14 +0000)]
r241@um: micah | 2005-12-27 15:21:17 -0500
Updated rdiff-backup to do vserver selection using lib/vservers
Micah Anderson [Tue, 27 Dec 2005 22:13:01 +0000 (22:13 +0000)]
r240@um: micah | 2005-12-27 14:54:04 -0500
If vservers weren't enabled it was impossible to enter the src
menu in ninjahelper due to how these functions returned. This sets
the variable host_or_vserver='host' when vservers are not available
and then returns with a nice exit code
Micah Anderson [Tue, 27 Dec 2005 22:12:43 +0000 (22:12 +0000)]
r239@um: micah | 2005-12-27 14:52:42 -0500
I think the first three items are required, not the last 3 :)
Micah Anderson [Tue, 27 Dec 2005 22:12:22 +0000 (22:12 +0000)]
r238@um: micah | 2005-12-27 13:32:57 -0500
Add global variable rdiff_title and change all the titles to use it
intrigeri [Tue, 27 Dec 2005 19:38:15 +0000 (19:38 +0000)]
dup: now possible to use different keys to sign and encrypt
Micah Anderson [Tue, 27 Dec 2005 17:38:17 +0000 (17:38 +0000)]
r222@um: micah | 2005-12-27 11:57:57 -0500
Update changelog
Micah Anderson [Tue, 27 Dec 2005 17:38:07 +0000 (17:38 +0000)]
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.
Micah Anderson [Tue, 27 Dec 2005 17:37:54 +0000 (17:37 +0000)]
r220@um: micah | 2005-12-27 11:12:31 -0500
Add -h option to mysqlhotcopy method
Micah Anderson [Tue, 27 Dec 2005 17:37:44 +0000 (17:37 +0000)]
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
Micah Anderson [Tue, 27 Dec 2005 17:37:31 +0000 (17:37 +0000)]
r218@um: micah | 2005-12-27 09:59:40 -0500
Changed some info output to debug
Micah Anderson [Tue, 27 Dec 2005 17:37:18 +0000 (17:37 +0000)]
r217@um: micah | 2005-12-27 09:57:30 -0500
Some clean-ups, indentations and if/then/fi and do/done standardization
Micah Anderson [Tue, 27 Dec 2005 17:37:04 +0000 (17:37 +0000)]
r216@um: micah | 2005-12-27 09:50:17 -0500
Set home properly when using vservers
Micah Anderson [Tue, 27 Dec 2005 17:36:46 +0000 (17:36 +0000)]
r215@um: micah | 2005-12-27 09:40:23 -0500
Minor variable and documentation clean-up
Micah Anderson [Tue, 27 Dec 2005 17:36:32 +0000 (17:36 +0000)]
r214@um: micah | 2005-12-27 09:35:03 -0500
Added vserver functionality to the user authentication method
Micah Anderson [Tue, 27 Dec 2005 17:36:21 +0000 (17:36 +0000)]
r213@um: micah | 2005-12-27 09:14:18 -0500
Move vserver initialization higher up in the chain
Micah Anderson [Tue, 27 Dec 2005 17:36:07 +0000 (17:36 +0000)]
r212@um: micah | 2005-12-27 09:12:22 -0500
trivial code change
Micah Anderson [Tue, 27 Dec 2005 17:35:54 +0000 (17:35 +0000)]
r211@um: micah | 2005-12-27 09:09:54 -0500
Added some vserver handling to determine correct home directory, also
enhanced error handling
Micah Anderson [Tue, 27 Dec 2005 17:35:42 +0000 (17:35 +0000)]
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
Micah Anderson [Tue, 27 Dec 2005 17:35:25 +0000 (17:35 +0000)]
r209@um: micah | 2005-12-27 08:26:31 -0500
Fixed some formatting that caused some ugly wrapping
Micah Anderson [Tue, 27 Dec 2005 17:04:33 +0000 (17:04 +0000)]
r208@um: micah | 2005-12-26 22:43:36 -0500
Fixed mysql check to see if vserver is running
Micah Anderson [Sun, 25 Dec 2005 03:32:37 +0000 (03:32 +0000)]
r199@um: micah | 2005-12-24 22:20:17 -0500
Add entry to changelog for ninjahelper.1 addition
Micah Anderson [Sun, 25 Dec 2005 03:32:05 +0000 (03:32 +0000)]
r198@um: micah | 2005-12-24 22:15:35 -0500
Added changelog entry about duplicity globbing support fix
Micah Anderson [Sun, 25 Dec 2005 03:31:51 +0000 (03:31 +0000)]
r197@um: micah | 2005-12-24 22:06:47 -0500
Added ninjahelper man page...
Micah Anderson [Sun, 25 Dec 2005 03:31:36 +0000 (03:31 +0000)]
r196@um: micah | 2005-12-24 21:46:52 -0500
Minor README cleanups
Micah Anderson [Sun, 25 Dec 2005 03:30:26 +0000 (03:30 +0000)]
r195@um: micah | 2005-12-24 21:24:43 -0500
Added trac handler patch author to AUTHORS and added RPM support to
Petr's entry
Micah Anderson [Sun, 25 Dec 2005 03:27:07 +0000 (03:27 +0000)]
r194@um: micah | 2005-12-24 21:17:55 -0500
Added missing changelog entries including trac handler toint()
function, backupninja.conf.5 additions of "when" and "vservers", and
trac handler subdir mkdir fix
Micah Anderson [Sun, 25 Dec 2005 03:26:02 +0000 (03:26 +0000)]
r193@um: micah | 2005-12-24 21:05:47 -0500
Added trac patch to fix subdir mkdir problem
Micah Anderson [Sun, 25 Dec 2005 03:25:46 +0000 (03:25 +0000)]
r192@um: micah | 2005-12-24 21:03:03 -0500
Changed configure.in revision number for next release
Micah Anderson [Fri, 23 Dec 2005 14:41:43 +0000 (14:41 +0000)]
Changed configure.in to list the 0.9.2 release and change the contact email to the mailing list
Micah Anderson [Fri, 16 Dec 2005 16:15:13 +0000 (16:15 +0000)]
Fixed broken toint function, causes backups to not run from cron
when told to run "everyday" (debian bug: #341881)
intrigeri [Tue, 29 Nov 2005 14:18:31 +0000 (14:18 +0000)]
mysql,pgsql,svn,sys: fixed failing "is vserver running" test
intrigeri [Tue, 29 Nov 2005 11:30:06 +0000 (11:30 +0000)]
dup: Fixed globbing support in include and exclude options (Debian bug #338796)
intrigeri [Tue, 29 Nov 2005 10:32:02 +0000 (10:32 +0000)]
Reverted bashism removals from r228, after discussing this.
intrigeri [Tue, 29 Nov 2005 10:11:35 +0000 (10:11 +0000)]
r3570@krups: intrigeri | 2005-11-17 22:39:31 +0100
changelog cosmetics
intrigeri [Tue, 29 Nov 2005 10:11:25 +0000 (10:11 +0000)]
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
intrigeri [Tue, 29 Nov 2005 10:11:14 +0000 (10:11 +0000)]
r3568@krups: intrigeri | 2005-11-17 22:25:05 +0100
dup.helper: some code cleaning
intrigeri [Tue, 29 Nov 2005 10:11:04 +0000 (10:11 +0000)]
r3567@krups: intrigeri | 2005-11-17 22:08:30 +0100
pgsql.helper: forbid the user to choose an empty database set to backup
intrigeri [Tue, 29 Nov 2005 10:10:53 +0000 (10:10 +0000)]
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
intrigeri [Tue, 29 Nov 2005 10:10:42 +0000 (10:10 +0000)]
r3565@krups: intrigeri | 2005-11-16 20:43:44 +0100
ninjahelper and backupninja: cosmetic enhancement of the "am I root?" test.
intrigeri [Tue, 29 Nov 2005 10:10:31 +0000 (10:10 +0000)]
r3564@krups: intrigeri | 2005-11-16 20:33:48 +0100
dup.helper: disabled connection setup, waiting for rdiff.helper code to be shared in some lib.
intrigeri [Tue, 29 Nov 2005 10:10:21 +0000 (10:10 +0000)]
r3563@krups: intrigeri | 2005-11-16 20:32:41 +0100
ninjahelper: documented a few pieces of code
intrigeri [Tue, 29 Nov 2005 10:10:08 +0000 (10:10 +0000)]
r3562@krups: intrigeri | 2005-11-16 20:20:16 +0100
Moved more code to lib/ (conffile-related functions, parseini. Added dup helper, using new modular vservers-related functions shared for all helpers.
intrigeri [Tue, 29 Nov 2005 10:09:55 +0000 (10:09 +0000)]
r3561@krups: intrigeri | 2005-11-15 15:16:50 +0100
ninjahelper: use autotools' @BASH@ instead of hard-coded path
intrigeri [Tue, 29 Nov 2005 10:09:43 +0000 (10:09 +0000)]
r3560@krups: intrigeri | 2005-11-15 15:13:35 +0100
backupninja now uses the maketemp function shared in lib/tools, instead of its own one.
intrigeri [Tue, 29 Nov 2005 10:09:31 +0000 (10:09 +0000)]
r3559@krups: intrigeri | 2005-11-15 15:07:17 +0100
ninjahelper & backupninja now set $libdir when bootstrapping. improved $scriptdir search, too.
intrigeri [Tue, 29 Nov 2005 10:09:16 +0000 (10:09 +0000)]
r3558@krups: intrigeri | 2005-11-15 14:44:17 +0100
Autotools: when cleaning, delete generated files in lib dir.
intrigeri [Tue, 29 Nov 2005 10:09:04 +0000 (10:09 +0000)]
r3557@krups: intrigeri | 2005-11-15 14:41:32 +0100
Start to move common functions (maketemp) to lib/tools, and better use autotools for lib/{easydialog,tools}.
intrigeri [Tue, 29 Nov 2005 10:08:54 +0000 (10:08 +0000)]
r3556@krups: intrigeri | 2005-11-15 14:02:58 +0100
Delete handlers/easydialog.sh since it's now in lib/.
intrigeri [Tue, 29 Nov 2005 10:08:41 +0000 (10:08 +0000)]
r3555@krups: intrigeri | 2005-11-15 13:59:57 +0100
Moved easydialog.sh to lib/ directory: more code is going to be shared, let's start here.
intrigeri [Tue, 29 Nov 2005 10:08:30 +0000 (10:08 +0000)]
r3554@krups: intrigeri | 2005-11-15 04:09:01 +0100
rdiff.helper: (re)rename do_rdiff_conn function to do_rdiff_ssh_con, since the previous rename was not the good one.
intrigeri [Tue, 29 Nov 2005 10:08:20 +0000 (10:08 +0000)]
r3553@krups: intrigeri | 2005-11-15 04:02:31 +0100
rdiff.helper: rename do_ssh_con function to do_rdiff_conn, in order not to pollute namespace... and allow future code factorization :)
intrigeri [Tue, 29 Nov 2005 10:08:09 +0000 (10:08 +0000)]
r3552@krups: intrigeri | 2005-11-15 03:13:03 +0100
easydialog: add optional third argument to booleanBox, to set default no if needed (and actually needed by the upcoming dup.helper).
intrigeri [Tue, 29 Nov 2005 10:07:59 +0000 (10:07 +0000)]
r3551@krups: intrigeri | 2005-11-15 00:47:57 +0100
Fix formDisplay to reset $REPLY as it should.