intrigeri
d65fa0c058
Cherry-picked "fixes for mysql handler for mysqld inside a vserver"
...
This commit (64edfccf76
) was wrongly committed to
the debian branch.
Conflicts:
handlers/mysql.in
2010-01-05 13:09:38 +01:00
intrigeri
d4c5f73ad7
dup.helper: do not propose to exclude /home/*/.gnupg twice anymore ( Closes : #563044 )
2009-12-31 17:05:47 +01:00
intrigeri
f4ab3148f1
mysql, pgsql: Quote output filenames
...
... to support shell meta-characters in database names.
Closes Redmine bug #617 .
2009-12-25 02:33:13 +01:00
intrigeri
5da707b309
rsync: added vim and Emacs modelines for consistency's sake
2009-12-25 02:28:55 +01:00
Micah Anderson
34d0d30593
adjust the comparison operators in the rsync handler, fixes #1473
2009-12-02 17:09:16 -05:00
intrigeri
f967264717
ldap, mysql, pgsql: use gzip's --rsyncable option
2009-11-19 20:27:46 +01:00
Silvio Rhatto
75d17d06f2
Enhanced rsync handler.
...
- Added support for:
- Remote destinations
- Long rotation format similar to maildir handler
- Batch files through --read-batch and --write-batch
- Custom file list using --files-from
- SSH persistent connection using ControlMaster
- The rsync:// protocol
- Metadata folder for each backup folder
- General refactoring
- Code cleanup
Not all options were tested and it might contain bugs.
Tests, comments and patches are welcome. :)
2009-11-06 11:16:16 -05:00
Micah Anderson
f549dc44f6
Fix missing $ in variable name, fixes : #1239
2009-09-23 16:07:58 -04:00
intrigeri
1b991d6c15
dup: fixed bandwidth vs desturl testing
2009-07-18 10:48:10 +02:00
intrigeri
f45803230a
dup: fixed bandwidthlimit test
...
Thanks to Ian Beckwith <ianb@erislabs.net> for the patch.
2009-07-18 10:47:55 +02:00
Micah Anderson
8000beda16
added sshoptions variable to the maildir handler for arbitrary options that you might need to pass
...
updated the example.maildir to include this option, as well as detail the missing desid_file, destport
2009-07-09 19:00:41 -04:00
Matthijs Kooijman
78884142e7
Add a vim modeline with indentation settings.
...
The modelines added match the emacs lines already present and also set
the filetype to sh (just like the emacs lines).
2009-05-23 10:42:20 +02:00
Matthijs Kooijman
4ecaae9405
Make all indentation consistent.
...
Previously, there were many indentation styles in use: Real tabs, 2, 3
or 4 spaces, mixing these within the same file, function or even within
a single line.
This commit changes all bash scripts in the handlers, src and lib dirs
to use consistent indentation: three spaces are now used everywhere.
Other files (e.g. Makefiles) are left untouched.
Additionally, this commit removes all trailing whitespace.
2009-05-23 10:34:16 +02:00
intrigeri
386c427594
sys: backup dmsetup info as well, for easier restoring of Luks headers
2009-01-22 23:37:50 +00:00
intrigeri
772af74c80
sys: new lvm option to backup LVM metadata of every detected volume group
2009-01-22 22:15:13 +00:00
intrigeri
36854a51d4
sys: new luksheaders option to backup the Luks header of every Luks device
2009-01-22 22:14:22 +00:00
intrigeri
94861df686
mysql: fix 'mysqladmin ping' use, see changelog for details
2009-01-12 22:47:30 +00:00
intrigeri
2cfcdd636d
mysql: new sqldumpoptions config variable ( Closes : #502966 )
2008-12-09 11:40:03 +00:00
Micah Anderson
a76cc2f576
fix location of deleted_on file and add missing destid_file options in maildir handler
2008-08-08 04:50:55 +00:00
Micah Anderson
351369b874
update makecd handler to work with new toolset
2008-07-25 20:11:24 +00:00
Micah Anderson
98e62c9537
. make maildir helper look in every subdirectory of the source directory for
...
maildirs, rather than just looking in the directories [a-zA-Z0-9], thanks
for the patch from chris@cenolan.com (Trac#43)
2008-07-06 16:05:14 +00:00
intrigeri
0a6abfc3ce
dup: added option --force to cleanup and remove-older-than commands, else they actually do not do anything
2008-06-29 07:26:36 +00:00
intrigeri
947b6f03ff
sys: explain how to fix the issue on "debconf-get-selections missing" error
2008-06-29 07:01:29 +00:00
intrigeri
788e82b56a
dup: set secure permissions on tmpdir when creating it
2008-06-25 09:54:45 +00:00
intrigeri
ddce1197cb
sys: make debconf-get-selections detection on VServers really more robust
2008-06-25 09:21:11 +00:00
intrigeri
edeb50c733
sys: fix catifexec invocations with arguments to prevent "line 191: [: too many arguments" error messages
2008-06-25 09:07:30 +00:00
intrigeri
755c0160d4
sys: make error message clearer when debconf-get-selections can not be found on the host
2008-06-25 09:02:06 +00:00
intrigeri
3f29d82b6c
sys: typo
2008-06-25 09:01:20 +00:00
intrigeri
f1cb4e9a64
sys: fixed debconf-get-selections search in VServers, especially in case it is not available on the host
2008-06-25 09:00:04 +00:00
intrigeri
1d930270d0
sys: fix typo
2008-06-25 08:47:48 +00:00
Micah Anderson
ed9d104613
stop failing on all the trac backups if just one fails
2008-06-25 03:27:06 +00:00
Micah Anderson
b499255f8a
fix missing which that intrigeri saw
2008-06-24 20:31:58 +00:00
Micah Anderson
910abf33c7
added more robust mdadm raid device capture, by actually scanning active arrays via mdadm, rather than just catting the mdadm.conf file, which may be empty
2008-06-24 19:57:31 +00:00
Micah Anderson
4d81bb451c
fixed catifexec function to actually work, also now takes arguments that are passed, thanks to a report from John Hallam
2008-06-24 19:53:36 +00:00
Micah Anderson
33ff4f7506
add the ability to save the debconf package selection states in the sys handler, which aides in restoring installed packages with the right choices made
2008-06-24 18:57:39 +00:00
intrigeri
fd6796ad99
sys: support selection of VServers to run on with the new vsnames configuration option (Closes: Trac#45)
2008-06-24 16:05:44 +00:00
intrigeri
88b787718d
pgsql, mysql, svn: use new vservers_running function from lib/vserver (factorization++)
2008-06-24 15:55:10 +00:00
intrigeri
6c628e78f4
lib/vserver: added vservers_running function, use it in sys handler (to ease future fix for Trac#45)
2008-06-24 15:49:06 +00:00
intrigeri
ad8db347dc
dup: actually allow to backup only VServers, by relaxing $include test
2008-06-24 15:39:03 +00:00
intrigeri
56617bfc5b
sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms (Closes: Trac#39)
2008-06-24 15:13:51 +00:00
intrigeri
1330b16c99
pgsql: clarify error message when backupdir does not exist
2008-06-24 15:01:35 +00:00
intrigeri
c18c24b4e2
dup: warn about bandwithlimit being unused when desturl is set
2008-06-24 14:11:22 +00:00
intrigeri
f0caa9cc1b
dup: support every duplicity-supported transport with new configuration option desturl ( Closes : #483712 , #346040 , Trac#2)
2008-06-24 13:32:34 +00:00
intrigeri
5297a4855d
LDAP helper: make error message clearer when no supported backend is found
2008-06-23 21:09:14 +00:00
intrigeri
f9a0906320
LDAP: support HDB backend just as the BDB one
2008-06-23 21:07:19 +00:00
Micah Anderson
eff97c8235
add an option to maildir handler to enable you to specify a particular
...
ssh identity file, defaulting to the expected /root/.ssh/id_rsa. This
is important to have if you are trying to backup to a different user
on a backuphost than other handlers are using. For example, if the
rdiff handler is connecting to backalbatross@backupserver-pn using
/root/.ssh/id_rsa for public key authentication, and you want to
configure the maildir handler to connect as user
backmaildir@backupserver-pn you will might want to specify a different
identity file for that authentication (if you do not want to share the
id file between the 'backalbatross' and 'backmaildir' users).
Note: this cannot be accomplished with a ssh config file because that
file is host based, ie. you can only specify one user per host
specified in the config
2008-06-19 15:04:41 +00:00
Elijah Saxon
72df77b210
change the date format for the deleted timestamp
2008-02-19 20:37:39 +00:00
Elijah Saxon
2a61e873bc
fixed bug where maildirs that start with a number were skipped. make deleted maildirs record the date they were deleted
2008-02-19 20:31:52 +00:00
Micah Anderson
3d1389c7fe
move -maxdepth 1 option before -type d due to find giving this warning when it is after:
...
find: warning: you have specified the -maxdepth option after a
non-option argument -type, but options are not positional (-maxdepth
affects tests specified before it as well as those specified after
it). Please specify options before other arguments.
2008-02-13 16:57:54 +00:00
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