Commit Graph

558 Commits

Author SHA1 Message Date
intrigeri
817ffa139b Update ChangeLog. 2010-10-12 10:52:22 +02:00
intrigeri
8a2a7ba297 Add Jacob Anawalt to authors. 2010-10-12 10:52:15 +02:00
Jacob Anawalt
7355535ee1 Enable pg_dump format option.
The format option of pg_dump enables tar and custom archive file formats in
addition to the default plain-text file containing SQL commands.

When either the tar or custom format are selected the behaviour of database=all is changed to no longer dump a single file via pg_dumpall. Instead pg_dumpall
is called once to export the "global" data (roles & tablespaces) and then
pg_dump is called once for each non-template table in the database.

To support the GZIP and GZIP_OPTS variables in backupninja and to give the
default --rsyncable gzip compression flag a chance at working on a PostgreSQL
backup, the custom output is forced to not use compression. Instead compression
is done via a pipe to gzip. Hopefully this benefits rsync and rdiff-backup
style backups for reduced backup and storage costs that outweigh the
restoration ones.
2010-10-12 10:49:34 +02:00
intrigeri
cc35262c2a Update ChangeLog after merging sarava's rsync branch. 2010-10-11 09:06:56 +02:00
intrigeri
b53a2e1c90 Merge remote branch 'sarava/rsync' 2010-10-11 09:06:14 +02:00
Silvio Rhatto
2bf727c140 Don't remove created metadata after rotation at rsync 2010-09-25 16:29:43 -03:00
intrigeri
d598a50cb9 Do not error out when no job is configured (Closes: #597684) 2010-09-22 20:47:34 +02:00
Silvio Rhatto
eff27ce1cd Fixing long rotation at rsync handler 2010-09-20 22:10:13 -03:00
intrigeri
c0c02efafd rdiff: support reading include/exclude patterns from files. 2010-09-12 23:26:08 +02:00
intrigeri
34e439ea7b Release 0.9.8 2010-09-12 19:56:28 +02:00
intrigeri
9ec23c5471 Update ChangeLog with rsync changes. 2010-09-03 18:33:14 +02:00
Silvio Rhatto
e90b9b78bb Removing rsync handler changelog 2010-09-02 20:39:42 -03:00
Silvio Rhatto
6bc07684e9 Removing unneeded hostname and user from ssh_cmd_base 2010-09-02 20:39:07 -03:00
Silvio Rhatto
c3f4247c06 Changing 'info' to 'fatal' at rsync handler set_lockfile function 2010-09-01 19:02:29 -03:00
Silvio Rhatto
7cbf1b2013 Rsync handler CHANGELOG update 2010-08-25 20:53:23 -03:00
Silvio Rhatto
f4ed3ae9a2 Making sure that the pid on lockfile reffers to an rsync backup process 2010-08-21 19:30:02 -03:00
Silvio Rhatto
7f075c1e3e Fixing lockfile checks for rsync handler 2010-08-21 18:37:48 -03:00
Silvio Rhatto
9fe6ebf377 RSYNC_RSH fix 2010-08-17 12:18:16 -03:00
Silvio Rhatto
7ef6a0b844 Fixing ssh_cmd and RSYNC_RSH at rsync handler 2010-08-17 10:59:13 -03:00
intrigeri
4015578106 Fix code logic to make dbusername/dbpassword actually usable (Closes Redmine bug #2264) 2010-06-24 16:53:58 +02:00
intrigeri
9179c59b50 mysql: don't lock tables in the information_schema database (Closes: #587011) 2010-06-24 16:18:44 +02:00
intrigeri
6e2a9468cf Fix ssl and tls options description (Closes Roundup bug #2407) 2010-06-14 19:16:34 +02:00
intrigeri
aeca6912a8 Added GZIP_OPTS option, defaulting to --rsyncable.
... so that this option can be disabled on systems that don't support it.
This also allows to use another compression program, such as pbzip2 on SMP
machines (closes Roundup bug #2405).
2010-06-14 19:06:59 +02:00
intrigeri
211d6506cb Fix typo in manpage (Closes: #583778) 2010-05-30 19:36:42 +02:00
intrigeri
4015b1b262 NEWS: added note about excluding duplicity cache dir. 2010-05-10 22:22:25 +02:00
intrigeri
46ace65573 Added /var/cache/backupninja/duplicity to default excludes.
... for rdiff.helper, dup.helper, example.dup and example.rdiff.
2010-05-10 22:18:49 +02:00
intrigeri
d6ec2b4e62 Store duplicity cache to /var/cache/backupninja/duplicity.
... instead of previous /var/backups/duplicity.
2010-05-10 22:15:41 +02:00
intrigeri
99434c8b07 Added ftp_password option.
This is the only way to securely transmit the FTP password from backupninja
to duplicity.
2010-05-06 20:05:20 +02:00
intrigeri
219a6eb958 Better example.dup documentation. Thanks, Alster! 2010-05-06 19:47:54 +02:00
intrigeri
6cf9c8988b Added NEWS item about the new duplicity archive directory location. 2010-05-06 19:37:57 +02:00
intrigeri
acd5a7e2e4 Fix ChangeLog entry. 2010-05-06 19:28:02 +02:00
intrigeri
33365d0953 dup: use --archive-dir /var/backups/duplicity unless the user has specified it (Closes: 580213) 2010-05-06 19:27:18 +02:00
intrigeri
25f50151e7 Updated ChangeLog and AUTHORS. 2010-05-06 18:56:56 +02:00
intrigeri
e0981ba3f0 Rephrase, reformat and sync example dup configuration. 2010-05-06 18:53:51 +02:00
Olivier Berger
abf7a4bb65 Implement Debian #535996 to use --full-if-older-than 2010-05-02 17:45:02 +02:00
olivier
4f4ee9b0d9 Add full-if-older-than with half the keep duration 2010-05-02 12:05:15 +02:00
intrigeri
582b7521cb dup: ignore anything but digits and "." when comparing versions (Closes: #578987)
I'd love to use "dpkg --compare-versions" but we don't want backupninja to be
Debian-specific. Any similar tool?

Signed-off-by: intrigeri <intrigeri@boum.org>
2010-04-24 20:00:13 +02:00
intrigeri
1cd91839c3 dup: use duplicity's --extra-clean option when necessary
This is necessary to get rid of unnecessary old cache files when cleaning up,
when using duplicity >=0.6.01 that depends on local caching.

Closes: #572721
2010-03-06 19:25:27 +01:00
intrigeri
7dce2f1138 sys: only run mdadm if RAID devices actually exist (Closes: #572450) 2010-03-06 15:27:34 +01:00
Micah Anderson
81921efa98 added missing newline to the end of example.ldap 2010-01-29 11:22:57 -05:00
Micah Anderson
3af5f0dd53 Update README and INSTALL to be more clear how to install backupninja 2010-01-27 17:45:21 -05:00
Micah Anderson
6e8c722ca2 Release 0.9.7 2010-01-27 17:11:37 -05:00
Micah Anderson
5d6666acfb fix alpha sort order in examples/Makefile.am to be less confusing 2010-01-26 18:46:40 +13:00
Micah Anderson
8886413321 add a few more 'formItem include' lines to the rdiff and dup handlers
to improve the ninjahelper interface as requested by alster in redmine
2010-01-19 12:01:18 +13:00
Micah Anderson
2108cf4646 add Chris Nolan to Authors for the maildir directory fix, and add
something to the changelog all for 98e62c9537
2010-01-18 11:43:55 +13:00
intrigeri
46eccf2fd0 rdiff: fix confusing error if rdiff-backup cannot be found on remote server.
Thanks to maniacmartin <martin@maniacmartin.com> for the patch on which this one
is based.
This closes Redmine bug #1209.
2010-01-09 23:25:03 +01:00
intrigeri
64c4d190a3 dup: support backups to Amazon S3 buckets
Thanks to stefan <s.freudenberg@jpberlin.de> for the patch.
This fixes Redmine bug #658.
2010-01-09 23:14:17 +01:00
intrigeri
0fbd8744f5 set BACKUPNINJA_DEBUG when invoked with -d (Closes: #537266) 2010-01-09 01:19:21 +01:00
intrigeri
4e0519e390 rdiff,dup: fix include/exclude paths with spaces (Closes: #398435)
This also fixes Redmine bug #1021.
2010-01-09 00:44:43 +01:00
intrigeri
47313bca65 ldap,mysql,pgsql: use bash pipefail option so that failed dumps are reported as such
This should fix Redmine bug #1340.

This option makes pipelines return as status the value of the last (rightmost)
command to exit with a non-zero status, or zero if all commands exit
successfully. See bash(1) for details.

E.g. this prevents the following from exiting with status 0 (!) if pg_dumpall
fails:

        pg_dumpall | gzip
2010-01-08 23:40:23 +01:00