matthijs/upstream/backupninja.git
14 years agoAdd duplicity output line by line instead of with a whole at one time. Should help...
olivier [Tue, 5 Jan 2010 05:44:36 +0000 (06:44 +0100)]
Add duplicity output line by line instead of with a whole at one time. Should help fix #536360

14 years agoFix indentation of previously cherry-picked patch
intrigeri [Tue, 5 Jan 2010 12:11:57 +0000 (13:11 +0100)]
Fix indentation of previously cherry-picked patch

14 years agoCherry-picked "fixes for mysql handler for mysqld inside a vserver"
intrigeri [Tue, 5 Jan 2010 12:09:38 +0000 (13:09 +0100)]
Cherry-picked "fixes for mysql handler for mysqld inside a vserver"

This commit (64edfccf7684d9c080e734b25fa9361f0190afec) was wrongly committed to
the debian branch.

Conflicts:

handlers/mysql.in

14 years agodup.helper: do not propose to exclude /home/*/.gnupg twice anymore (Closes: #563044)
intrigeri [Thu, 31 Dec 2009 16:05:47 +0000 (17:05 +0100)]
dup.helper: do not propose to exclude /home/*/.gnupg twice anymore (Closes: #563044)

14 years agoTODO: removed issues that are resolved or tracked in Redmine
intrigeri [Fri, 25 Dec 2009 03:27:21 +0000 (04:27 +0100)]
TODO: removed issues that are resolved or tracked in Redmine

14 years agoFixed remaining pointers to our deprecated Trac instance.
intrigeri [Fri, 25 Dec 2009 03:25:44 +0000 (04:25 +0100)]
Fixed remaining pointers to our deprecated Trac instance.

14 years agoautotools: added the stat command to the automagically replaced ones
intrigeri [Fri, 25 Dec 2009 03:09:29 +0000 (04:09 +0100)]
autotools: added the stat command to the automagically replaced ones

... hoping it will help supporting *BSD some day.

14 years agomysql, pgsql: Quote output filenames
intrigeri [Fri, 25 Dec 2009 01:33:13 +0000 (02:33 +0100)]
mysql, pgsql: Quote output filenames

... to support shell meta-characters in database names.
Closes Redmine bug #617.

14 years agorsync: added vim and Emacs modelines for consistency's sake
intrigeri [Fri, 25 Dec 2009 01:28:55 +0000 (02:28 +0100)]
rsync: added vim and Emacs modelines for consistency's sake

14 years agofix copy'n'paste doc error
intrigeri [Fri, 25 Dec 2009 00:30:11 +0000 (01:30 +0100)]
fix copy'n'paste doc error

14 years agoeasydialog: allow form fields input to grow up to 100 chars (Closes: #562249)
intrigeri [Thu, 24 Dec 2009 15:57:31 +0000 (16:57 +0100)]
easydialog: allow form fields input to grow up to 100 chars (Closes: #562249)

14 years agoadjust the comparison operators in the rsync handler, fixes #1473
Micah Anderson [Wed, 2 Dec 2009 22:09:16 +0000 (17:09 -0500)]
adjust the comparison operators in the rsync handler, fixes #1473

14 years agoldap, mysql, pgsql: use gzip's --rsyncable option
intrigeri [Thu, 19 Nov 2009 19:27:46 +0000 (20:27 +0100)]
ldap, mysql, pgsql: use gzip's --rsyncable option

14 years agoEnhanced rsync handler.
Silvio Rhatto [Mon, 15 Jun 2009 15:14:01 +0000 (12:14 -0300)]
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. :)

14 years agoFix missing $ in variable name, fixes: #1239
Micah Anderson [Wed, 23 Sep 2009 20:07:58 +0000 (16:07 -0400)]
Fix missing $ in variable name, fixes: #1239

14 years agoStandardize the example file format. Making the comments have the same
Micah Anderson [Thu, 27 Aug 2009 20:53:43 +0000 (16:53 -0400)]
Standardize the example file format. Making the comments have the same
number of hash marks, clearly specify example settings and what the
defaults are set to.

14 years agodup: fixed bandwidth vs desturl testing
intrigeri [Sat, 18 Jul 2009 08:48:10 +0000 (10:48 +0200)]
dup: fixed bandwidth vs desturl testing

14 years agodup: fixed bandwidthlimit test
intrigeri [Sat, 18 Jul 2009 08:45:45 +0000 (10:45 +0200)]
dup: fixed bandwidthlimit test

Thanks to Ian Beckwith <ianb@erislabs.net> for the patch.

14 years agoadded sshoptions variable to the maildir handler for arbitrary options that you might...
Micah Anderson [Thu, 9 Jul 2009 23:00:41 +0000 (19:00 -0400)]
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

14 years agoAdd a vim modeline with indentation settings.
Matthijs Kooijman [Fri, 22 May 2009 13:27:09 +0000 (15:27 +0200)]
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).

14 years agoMake all indentation consistent.
Matthijs Kooijman [Fri, 22 May 2009 12:50:52 +0000 (14:50 +0200)]
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.

15 years agosys: backup dmsetup info as well, for easier restoring of Luks headers public/master
intrigeri [Thu, 22 Jan 2009 23:37:50 +0000 (23:37 +0000)]
sys: backup dmsetup info as well, for easier restoring of Luks headers

15 years agosys: new lvm option to backup LVM metadata of every detected volume group
intrigeri [Thu, 22 Jan 2009 22:15:13 +0000 (22:15 +0000)]
sys: new lvm option to backup LVM metadata of every detected volume group

15 years agosys: new luksheaders option to backup the Luks header of every Luks device
intrigeri [Thu, 22 Jan 2009 22:14:22 +0000 (22:14 +0000)]
sys: new luksheaders option to backup the Luks header of every Luks device

15 years agomysql: fix 'mysqladmin ping' use, see changelog for details
intrigeri [Mon, 12 Jan 2009 22:47:30 +0000 (22:47 +0000)]
mysql: fix 'mysqladmin ping' use, see changelog for details

15 years agoadd support for 'when = manual' (Closes: #511299)
intrigeri [Mon, 12 Jan 2009 22:47:08 +0000 (22:47 +0000)]
add support for 'when = manual' (Closes: #511299)

15 years agoadded .gitignore file
intrigeri [Mon, 12 Jan 2009 22:46:42 +0000 (22:46 +0000)]
added .gitignore file

... and populate it with autotools/build files.
This is of course intended to make life easier for people using git-svn.

Signed-off-by: intrigeri <intrigeri@boum.org>
15 years agomysql: new sqldumpoptions config variable (Closes: #502966)
intrigeri [Tue, 9 Dec 2008 11:40:03 +0000 (11:40 +0000)]
mysql: new sqldumpoptions config variable (Closes: #502966)

15 years agobackupninja: do not assume English locale when using date (Closes: #465837)
intrigeri [Tue, 9 Dec 2008 11:08:53 +0000 (11:08 +0000)]
backupninja: do not assume English locale when using date (Closes: #465837)

15 years agoFAQ: new file, with first Q/A for duplicity vs. sudo related issues
intrigeri [Tue, 9 Dec 2008 10:56:15 +0000 (10:56 +0000)]
FAQ: new file, with first Q/A for duplicity vs. sudo related issues

15 years agofix location of deleted_on file and add missing destid_file options in maildir handler
Micah Anderson [Fri, 8 Aug 2008 04:50:55 +0000 (04:50 +0000)]
fix location of deleted_on file and add missing destid_file options in maildir handler

15 years agofix reportspace
intrigeri [Mon, 28 Jul 2008 17:12:31 +0000 (17:12 +0000)]
fix reportspace

15 years agoupdate makecd handler to work with new toolset
Micah Anderson [Fri, 25 Jul 2008 20:11:24 +0000 (20:11 +0000)]
update makecd handler to work with new toolset

15 years agoprepare for release
Micah Anderson [Mon, 21 Jul 2008 20:49:34 +0000 (20:49 +0000)]
prepare for release

15 years agoclarify how the nodata option should be specified in the config file for mysql
Micah Anderson [Sun, 6 Jul 2008 17:58:52 +0000 (17:58 +0000)]
clarify how the nodata option should be specified in the config file for mysql

15 years agofix language to make sense
Micah Anderson [Sun, 6 Jul 2008 17:21:57 +0000 (17:21 +0000)]
fix language to make sense

15 years ago . make maildir helper look in every subdirectory of the source directory for
Micah Anderson [Sun, 6 Jul 2008 16:05:14 +0000 (16:05 +0000)]
     . 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)

15 years agodup: added option --force to cleanup and remove-older-than commands, else they actual...
intrigeri [Sun, 29 Jun 2008 07:26:36 +0000 (07:26 +0000)]
dup: added option --force to cleanup and remove-older-than commands, else they actually do not do anything

15 years agosys: explain how to fix the issue on "debconf-get-selections missing" error
intrigeri [Sun, 29 Jun 2008 07:01:29 +0000 (07:01 +0000)]
sys: explain how to fix the issue on "debconf-get-selections missing" error

15 years agodup: set secure permissions on tmpdir when creating it
intrigeri [Wed, 25 Jun 2008 09:54:45 +0000 (09:54 +0000)]
dup: set secure permissions on tmpdir when creating it

15 years agoautotools: remove requirement on md5sum, which is not used anymore
intrigeri [Wed, 25 Jun 2008 09:42:23 +0000 (09:42 +0000)]
autotools: remove requirement on md5sum, which is not used anymore

15 years agolib/tools.in(maketemp): really remove insecure fall-back if mktemp is missing, since...
intrigeri [Wed, 25 Jun 2008 09:40:13 +0000 (09:40 +0000)]
lib/tools.in(maketemp): really remove insecure fall-back if mktemp is missing, since it is now required at build-time

15 years agolib/Makefile.am: fix CLEANFILES, add substitution for MKTEMP, else ninjahelper crashes
intrigeri [Wed, 25 Jun 2008 09:33:35 +0000 (09:33 +0000)]
lib/Makefile.am: fix CLEANFILES, add substitution for MKTEMP, else ninjahelper crashes

15 years agosys: make debconf-get-selections detection on VServers really more robust
intrigeri [Wed, 25 Jun 2008 09:21:11 +0000 (09:21 +0000)]
sys: make debconf-get-selections detection on VServers really more robust

15 years agosys: fix catifexec invocations with arguments to prevent "line 191: [: too many argum...
intrigeri [Wed, 25 Jun 2008 09:07:30 +0000 (09:07 +0000)]
sys: fix catifexec invocations with arguments to prevent "line 191: [: too many arguments" error messages

15 years agosys: make error message clearer when debconf-get-selections can not be found on the...
intrigeri [Wed, 25 Jun 2008 09:02:06 +0000 (09:02 +0000)]
sys: make error message clearer when debconf-get-selections can not be found on the host

15 years agosys: typo
intrigeri [Wed, 25 Jun 2008 09:01:20 +0000 (09:01 +0000)]
sys: typo

15 years agosys: fixed debconf-get-selections search in VServers, especially in case it is not...
intrigeri [Wed, 25 Jun 2008 09:00:04 +0000 (09:00 +0000)]
sys: fixed debconf-get-selections search in VServers, especially in case it is not available on the host

15 years agosys: fix typo
intrigeri [Wed, 25 Jun 2008 08:47:48 +0000 (08:47 +0000)]
sys: fix typo

15 years agostop failing on all the trac backups if just one fails
Micah Anderson [Wed, 25 Jun 2008 03:27:06 +0000 (03:27 +0000)]
stop failing on all the trac backups if just one fails

15 years agofix missing which that intrigeri saw
Micah Anderson [Tue, 24 Jun 2008 20:31:58 +0000 (20:31 +0000)]
fix missing which that intrigeri saw

15 years agoadded more robust mdadm raid device capture, by actually scanning active arrays via...
Micah Anderson [Tue, 24 Jun 2008 19:57:31 +0000 (19:57 +0000)]
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

15 years agofixed catifexec function to actually work, also now takes arguments that are passed...
Micah Anderson [Tue, 24 Jun 2008 19:53:36 +0000 (19:53 +0000)]
fixed catifexec function to actually work, also now takes arguments that are passed, thanks to a report from John Hallam

15 years agoadd the ability to save the debconf package selection states in the sys handler,...
Micah Anderson [Tue, 24 Jun 2008 18:57:39 +0000 (18:57 +0000)]
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

15 years agomade mktemp a requirement for building backupninja, added autotools variables to...
Micah Anderson [Tue, 24 Jun 2008 18:02:23 +0000 (18:02 +0000)]
made mktemp a requirement for building backupninja, added autotools variables to substitute the proper binary location and removed bad fall-back when mktemp was not there

15 years agosys: support selection of VServers to run on with the new vsnames configuration optio...
intrigeri [Tue, 24 Jun 2008 16:05:44 +0000 (16:05 +0000)]
sys: support selection of VServers to run on with the new vsnames configuration option (Closes: Trac#45)

15 years agopgsql, mysql, svn: use new vservers_running function from lib/vserver (factorization++)
intrigeri [Tue, 24 Jun 2008 15:55:10 +0000 (15:55 +0000)]
pgsql, mysql, svn: use new vservers_running function from lib/vserver (factorization++)

15 years agolib/vserver: added vservers_running function, use it in sys handler (to ease future...
intrigeri [Tue, 24 Jun 2008 15:49:06 +0000 (15:49 +0000)]
lib/vserver: added vservers_running function, use it in sys handler (to ease future fix for Trac#45)

15 years agodup: actually allow to backup only VServers, by relaxing $include test
intrigeri [Tue, 24 Jun 2008 15:39:03 +0000 (15:39 +0000)]
dup: actually allow to backup only VServers, by relaxing $include test

15 years agosys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms (Closes: Trac#39)
intrigeri [Tue, 24 Jun 2008 15:13:51 +0000 (15:13 +0000)]
sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms (Closes: Trac#39)

15 years agopgsql: clarify error message when backupdir does not exist
intrigeri [Tue, 24 Jun 2008 15:01:35 +0000 (15:01 +0000)]
pgsql: clarify error message when backupdir does not exist

15 years agoFixed tr construct reporting a warning (Closes: #452669).
intrigeri [Tue, 24 Jun 2008 14:36:52 +0000 (14:36 +0000)]
Fixed tr construct reporting a warning (Closes: #452669).

15 years agodup: warn about bandwithlimit being unused when desturl is set
intrigeri [Tue, 24 Jun 2008 14:11:22 +0000 (14:11 +0000)]
dup: warn about bandwithlimit being unused when desturl is set

15 years agodup: support every duplicity-supported transport with new configuration option destur...
intrigeri [Tue, 24 Jun 2008 13:32:34 +0000 (13:32 +0000)]
dup: support every duplicity-supported transport with new configuration option desturl (Closes: #483712, #346040, Trac#2)

15 years agoAllow the entire backup run to be halted by an action (Closes: #455836)
intrigeri [Tue, 24 Jun 2008 10:48:55 +0000 (10:48 +0000)]
Allow the entire backup run to be halted by an action (Closes: #455836)

15 years agoLDAP helper: make error message clearer when no supported backend is found
intrigeri [Mon, 23 Jun 2008 21:09:14 +0000 (21:09 +0000)]
LDAP helper: make error message clearer when no supported backend is found

15 years agoLDAP: support HDB backend just as the BDB one
intrigeri [Mon, 23 Jun 2008 21:07:19 +0000 (21:07 +0000)]
LDAP: support HDB backend just as the BDB one

15 years agoadd changelog entry for maildir destid_file addition
Micah Anderson [Thu, 19 Jun 2008 15:06:31 +0000 (15:06 +0000)]
add changelog entry for maildir destid_file addition

15 years agoadd an option to maildir handler to enable you to specify a particular
Micah Anderson [Thu, 19 Jun 2008 15:04:41 +0000 (15:04 +0000)]
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

15 years agofix spelling error
Micah Anderson [Thu, 8 May 2008 15:16:41 +0000 (15:16 +0000)]
fix spelling error

16 years agoadd changelog entry for maildir fix
Micah Anderson [Thu, 13 Mar 2008 19:43:22 +0000 (19:43 +0000)]
add changelog entry for maildir fix

16 years agofix cstream definition
Micah Anderson [Thu, 13 Mar 2008 15:48:59 +0000 (15:48 +0000)]
fix cstream definition

16 years agochange the date format for the deleted timestamp
Elijah Saxon [Tue, 19 Feb 2008 20:37:39 +0000 (20:37 +0000)]
change the date format for the deleted timestamp

16 years agofixed bug where maildirs that start with a number were skipped. make deleted maildirs...
Elijah Saxon [Tue, 19 Feb 2008 20:31:52 +0000 (20:31 +0000)]
fixed bug where maildirs that start with a number were skipped. make deleted maildirs record the date they were deleted

16 years agomove -maxdepth 1 option before -type d due to find giving this warning when it is...
Micah Anderson [Wed, 13 Feb 2008 16:57:54 +0000 (16:57 +0000)]
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.

16 years agosupport new duplicity versions:
intrigeri [Mon, 14 Jan 2008 20:32:19 +0000 (20:32 +0000)]
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

16 years agordiff: incorporate sshoptions into options via remote-schema if not there
Micah Anderson [Wed, 12 Dec 2007 02:54:09 +0000 (02:54 +0000)]
rdiff: incorporate sshoptions into options via remote-schema if not there

16 years agofixed ignore_version default value
Micah Anderson [Wed, 5 Dec 2007 20:41:54 +0000 (20:41 +0000)]
fixed ignore_version default value

16 years agoadd wget handler, add released tag to the changelog and setup changelog for next...
Micah Anderson [Sun, 2 Dec 2007 17:34:26 +0000 (17:34 +0000)]
add wget handler, add released tag to the changelog and setup changelog for next release

16 years agoprepare for release
Micah Anderson [Sun, 2 Dec 2007 17:06:06 +0000 (17:06 +0000)]
prepare for release

16 years agoadd missing parameter to rsync
Micah Anderson [Sun, 2 Dec 2007 16:56:32 +0000 (16:56 +0000)]
add missing parameter to rsync

16 years agoduplicity: clarify comments about duplicity versions compatibility
intrigeri [Thu, 29 Nov 2007 19:54:44 +0000 (19:54 +0000)]
duplicity: clarify comments about duplicity versions compatibility

16 years agoredhat spec file updates
Micah Anderson [Wed, 28 Nov 2007 15:09:06 +0000 (15:09 +0000)]
redhat spec file updates

16 years agodup: new tmpdir config option, useful when duplicity fills up /tmp
intrigeri [Mon, 26 Nov 2007 07:42:24 +0000 (07:42 +0000)]
dup: new tmpdir config option, useful when duplicity fills up /tmp

16 years agoadded bug number
Micah Anderson [Sun, 25 Nov 2007 17:54:54 +0000 (17:54 +0000)]
added bug number

16 years agofix duplicity version test
intrigeri [Sun, 25 Nov 2007 17:17:55 +0000 (17:17 +0000)]
fix duplicity version test

16 years agofix typo
Micah Anderson [Sun, 25 Nov 2007 00:05:37 +0000 (00:05 +0000)]
fix typo

16 years agoallow for exclude only configurations to rdiff-backup handler: Closes Trac#21
Micah Anderson [Sat, 24 Nov 2007 23:44:07 +0000 (23:44 +0000)]
allow for exclude only configurations to rdiff-backup handler: Closes Trac#21

16 years agofixup ldap SSL/TLS options, make TLS default in helper, Closes: Trac#13
Micah Anderson [Sat, 24 Nov 2007 23:23:08 +0000 (23:23 +0000)]
fixup ldap SSL/TLS options, make TLS default in helper, Closes: Trac#13

16 years agofix Trac#25
Micah Anderson [Sat, 24 Nov 2007 23:13:24 +0000 (23:13 +0000)]
fix Trac#25

16 years agoFixes for Trac#24
Micah Anderson [Sat, 24 Nov 2007 23:07:16 +0000 (23:07 +0000)]
Fixes for Trac#24

16 years agofixed ldap handler not recognizing database suffix
Micah Anderson [Sat, 24 Nov 2007 23:03:21 +0000 (23:03 +0000)]
fixed ldap handler not recognizing database suffix

16 years agofixed Trac#29 causing slapcat + gzip not to work
Micah Anderson [Sat, 24 Nov 2007 23:00:33 +0000 (23:00 +0000)]
fixed Trac#29 causing slapcat + gzip not to work

16 years agofixed ldap helper setting compress option wrong, standardize on options
Micah Anderson [Sat, 24 Nov 2007 22:44:39 +0000 (22:44 +0000)]
fixed ldap helper setting compress option wrong, standardize on options

16 years agoactually include the example file
Micah Anderson [Sat, 24 Nov 2007 22:20:46 +0000 (22:20 +0000)]
actually include the example file

16 years agoadd a maildir examples file
Micah Anderson [Sat, 24 Nov 2007 22:17:04 +0000 (22:17 +0000)]
add a maildir examples file

16 years agoadded local support to rdiff helper
Micah Anderson [Sat, 24 Nov 2007 21:53:15 +0000 (21:53 +0000)]
added local support to rdiff helper

16 years agofixed Trac #1, actually add example.rsync
Micah Anderson [Sat, 24 Nov 2007 21:32:30 +0000 (21:32 +0000)]
fixed Trac #1, actually add example.rsync

16 years agoadd patch from matthew palmer to enhance mysql database selection (Closes: #452039)
Micah Anderson [Tue, 20 Nov 2007 01:28:49 +0000 (01:28 +0000)]
add patch from matthew palmer to enhance mysql database selection (Closes: #452039)

16 years agoadd example.rsync and updated rsync handler from rhatto
Micah Anderson [Tue, 6 Nov 2007 21:20:36 +0000 (21:20 +0000)]
add example.rsync and updated rsync handler from rhatto