Commit Graph

263 Commits

Author SHA1 Message Date
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
intrigeri
aabc2bbe10 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.
2005-11-29 10:10:31 +00:00
intrigeri
9208b449da 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.
2005-11-29 10:10:08 +00:00
intrigeri
a9074a138c r3556@krups: intrigeri | 2005-11-15 14:02:58 +0100
Delete handlers/easydialog.sh since it's now in lib/.
2005-11-29 10:08:54 +00:00
intrigeri
280fdac2bc 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.
2005-11-29 10:08:41 +00:00
intrigeri
41f3fddfe2 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.
2005-11-29 10:08:30 +00:00
intrigeri
122f2c95be 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 :)
2005-11-29 10:08:20 +00:00
intrigeri
76e194e412 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).
2005-11-29 10:08:09 +00:00
intrigeri
ca8ae79915 r3551@krups: intrigeri | 2005-11-15 00:47:57 +0100
Fix formDisplay to reset $REPLY as it should.
2005-11-29 10:07:59 +00:00
intrigeri
ba5c0f47d1 r3550@krups: intrigeri | 2005-11-15 00:47:09 +0100
Fix listBegin/listItem/listDisplay to work with checklist boxes, as advertized.
2005-11-29 10:07:49 +00:00
intrigeri
58bceae74f r3548@krups: intrigeri | 2005-11-14 20:47:49 +0100
Fix: the "Cancel" buttons used to have a weird behaviour... at least
2005-11-29 10:07:28 +00:00
intrigeri
a4ae4e5c6e r3546@krups: intrigeri | 2005-11-14 20:32:59 +0100
Fix: used to expand '*' in default source directories
2005-11-29 10:07:07 +00:00
Micah Anderson
5d3222eec7 Fixed missing makecd.helper 2005-11-10 14:37:20 +00:00
Micah Anderson
0e1bd26988 Added remote destination directory checking and auto creation if doesn't exist.
Also fixed a bug in the rdiff handler that caused a unary operation error if
the variable wasn't fixed
2005-11-05 23:07:19 +00:00
Micah Anderson
5f6dc7d1b9 Fixed bug in rdiff.helper that kept include and exclude lines from being put in the file 2005-11-05 20:47:44 +00:00
Micah Anderson
f61431d37f Added auto remote rdiff-backup installation if possible to ninjahelper 2005-11-05 20:16:14 +00:00
Micah Anderson
2d96b777ad Updated svn handler for new hotcopy functionality 2005-11-05 11:41:46 +00:00
Micah Anderson
e005e25e1a Made ninjahelper create files in /etc/backup.d with mode 600 instead of 000 2005-11-04 23:35:29 +00:00
Micah Anderson
1c349ca0af Removed some unnecessary comments 2005-10-28 21:21:39 +00:00
Micah Anderson
06b65414eb added the makecd ninjahelper, and updated the Authors 2005-10-28 18:19:41 +00:00
Micah Anderson
d943cfdaa9 Add more makefile templates 2005-10-26 23:07:11 +00:00
Elijah Saxon
a116f435ce fixed many bugs in rdiff.helper
added more verbage to ninjahelper
added some IFS=$'' to easydialog
(this allows you to pass through blank lines).
2005-10-19 05:17:53 +00:00
Elijah Saxon
02ffef7501 applied patch to rdiff.helper, removed /etc/passwd from mysql handler. 2005-10-07 16:02:27 +00:00
intrigeri
1645c0c857 r188@krups: intrigeri | 2005-10-03 01:14:37 +0200
Replaced awful "grep /etc/passwd" with getent calls in pgsql and mysql handlers
2005-10-02 17:35:22 +00:00
Elijah Saxon
995e34e166 created function maketemp, to be used by backupninja
and maildir handler for creating safe temp files.
2005-10-02 12:45:12 +00:00
Micah Anderson
ad457d298e removed erroneous magic filemarker in pgsql handler 2005-09-28 01:38:29 +00:00
Elijah Saxon
166c486601 added patch to mysql handler from Daniel.Bonniot@inria.fr
(adds ignores option)
2005-09-15 18:36:23 +00:00
intrigeri
30348c7db8 mysql helper bugfix: write yes/no to config file instead of on/off, that are not recognized by mysql handler 2005-09-03 18:57:37 +00:00
intrigeri
cf1817d075 mysql and dup handlers: when using a vserver, check if it is running 2005-08-27 00:19:50 +00:00
intrigeri
bd0b2eaea8 dup handler: added option to perform a full backup instead of an incremental one. 2005-08-20 18:17:25 +00:00
intrigeri
6b6154879b Security fix: duplicity handler used to put the gpg passphase on the command line. 2005-08-20 15:37:57 +00:00
intrigeri
bfe530dc59 Removed an unnecessary check in dup handler. 2005-08-19 23:02:07 +00:00
intrigeri
88d1f719c5 Fixed a critical bug in sys handler vservers support: it tried (and failed) to save packages list even if packages=no. 2005-08-14 22:54:08 +00:00
intrigeri
3d3c5aa3df Fixed a critical bug in pgsql handler vservers support. 2005-08-14 22:49:43 +00:00
Elijah Saxon
428e9532bf label is no longer required (now this works with ninjahelper without problems) 2005-08-09 21:28:26 +00:00
intrigeri
ddaceb7dda Added helper for pgsql handler. 2005-08-09 20:59:20 +00:00
intrigeri
49dfbcb81f Added a few safety checks to pgsql handler. 2005-08-09 20:53:19 +00:00
intrigeri
4e0c31d016 Fixed/improved a few bits of rdiff, dup and sys handlers. 2005-08-09 20:50:05 +00:00
intrigeri
d675fa6df9 Added vservers support to duplicity handler. 2005-08-09 20:41:37 +00:00
intrigeri
773c194279 Added pgsql (PostgreSQL) handler, with vservers support. 2005-08-09 20:28:52 +00:00
Elijah Saxon
a37e9ccdb9 changed on to yes (on doesn't work!) 2005-07-27 17:30:24 +00:00
Micah Anderson
bd2d784c05 Fixed broken vserver dpkg parsing in sys handler 2005-07-19 16:08:39 +00:00
Micah Anderson
5c7bc95bc1 Fixed sys handler bracket problem 2005-07-19 15:24:50 +00:00
Micah Anderson
1f290a8a23 removed extra -o 2005-07-10 10:05:49 +00:00
Elijah Saxon
809f26574f minor 2005-07-09 00:00:47 +00:00
Elijah Saxon
7a145f8dd6 added cancel 2005-07-08 19:28:16 +00:00
Elijah Saxon
67b5cf70d7 made it so that helpers are dynamically defined. 2005-07-08 19:21:46 +00:00
Micah Anderson
1d3e3482be Added stefani's makecd handler 2005-07-08 16:24:57 +00:00
Elijah Saxon
91f3eb4648 greatly improved the rdiff wizard. added default option to menu in easydialog. 2005-07-07 21:14:19 +00:00
Elijah Saxon
e8cf41e99e fixed handling of * in easydialog.
added .disabled
2005-07-06 08:03:31 +00:00
Elijah Saxon
4c8e283994 created ninjahelper 2005-07-04 06:39:00 +00:00
Elijah Saxon
5cc6f5e5f0 options to sys 2005-07-01 20:09:16 +00:00
Elijah Saxon
0abb625ac2 improved error message if password file not found
moved start/stop ldap code so that it makes sense.
2005-06-28 06:24:33 +00:00
Micah Anderson
d52a1ac97e Added trac handler, changed VSERVERS variable to be lowercase and
added some vserver documentation to README and to the handlers
2005-06-13 19:37:26 +00:00
Elijah Saxon
1a2279cba4 added double quotes around password in .my.cnf 2005-06-09 20:02:28 +00:00
Elijah Saxon
1b3449f24c mysql --defaults-file stuff. 2005-06-01 22:44:04 +00:00
Elijah Saxon
a56165ce12 added support for --defaults-file 2005-06-01 18:50:22 +00:00
intrigeri
cadfdca981 Duplicity handler: added "bandwidthlimit" option. 2005-05-27 18:41:40 +00:00
Micah Anderson
1e410a6d95 Updates to handle vservers 2005-05-24 19:27:43 +00:00
intrigeri
26a57c396c Improved duplicity handler: option to disable remote files cleaning, optionnal backups gpg signing, option to specify the gpg key to use, nicelevel & testconnect options, optionnal string to pass to ssh/scp e.g. to use a non-default identity file ; created an example.dup file ; config is now split in sections. 2005-05-24 19:08:51 +00:00
Micah Anderson
4924d343a4 Added enhanced options to ldap handler 2005-04-21 18:47:57 +00:00
Elijah Saxon
c7e96acc45 rdiff works with sshd banner... rdiff local dest works... create logfile... when=hourly... rdiff nice... 2005-04-13 05:29:33 +00:00
Elijah Saxon
76711771db fixed bug which always reported error. 2005-03-21 17:50:49 +00:00
Elijah Saxon
9f9a166978 fixed bug when system has multiple usernames starting with "root". 2005-03-21 17:48:34 +00:00
Elijah Saxon
c313e23935 created 2005-03-18 20:14:49 +00:00
Elijah Saxon
907f7d4455 fixed bug with __star__ and sys handler.
well, not really, but i worked around a bug that i don't understand.
2005-03-14 21:49:29 +00:00
Elijah Saxon
ceb80d70b1 added force to hard link cp
ignore rsync error code 24
ignore cp return code.
2005-03-10 11:23:59 +00:00
Elijah Saxon
6b965976bd now we use hwinfo which is soooo much better than discover for this.
also, now it actually finds all disks in partition report.
2005-03-10 11:22:27 +00:00
Elijah Saxon
b808ac3de7 minor 2005-02-26 21:28:13 +00:00
Elijah Saxon
b29b969b86 added options, keep passed directly to rdiff-backup 2005-01-19 19:39:14 +00:00
Elijah Saxon
0e6fd3befa created 2005-01-19 19:37:30 +00:00
Elijah Saxon
19b4b83fbc created 2005-01-19 19:37:20 +00:00
Elijah Saxon
3158de11b9 update 2005-01-13 03:22:34 +00:00
Elijah Saxon
e8615f15d3 not working yet, but i am checking in changes 2005-01-13 01:01:34 +00:00
Elijah Saxon
6dc566098a 2005-01-08 00:05:28 +00:00
Elijah Saxon
6bc45553f0 version 0.4.1 2005-01-03 22:22:58 +00:00
Elijah Saxon
f4843b2fd7 added 'sys' handler. 2004-12-23 02:54:53 +00:00
Elijah Saxon
ef78e14b29 moved all to trunk 2004-12-09 04:37:12 +00:00