Commit Graph

298 Commits

Author SHA1 Message Date
intrigeri
f351306d82 dup: add support for RackSpace's CloudFiles.
Thanks to Yuval Kogman <nothingmuch@woobling.org> for the patch.
2011-10-22 21:46:50 +02:00
intrigeri
25ad989fb7 Make the .dup generated by ninjahelper more consistent with example.dup.
I.e. document tmpdir.
2011-09-24 19:10:35 +02:00
intrigeri
47bc20217c Releasing backupninja 0.9.10. 2011-09-23 16:41:21 +02:00
intrigeri
65ff22247e Remove useless and inconsistent executable bit on sys handler. 2011-09-20 22:36:04 +02:00
intrigeri
3b5297425b Mention removal of LDAP support in ChangeLog. 2011-09-20 22:33:49 +02:00
intrigeri
14957533e4 Make typography consistent with previous ChangeLog entries. 2011-09-20 22:22:35 +02:00
intrigeri
b90255b645 Add missing item into ChangeLog. 2011-09-20 22:22:14 +02:00
intrigeri
f9f2f2a812 Fix credits. 2011-09-12 20:33:58 +02:00
intrigeri
5d94e2ad0d dup: fix incorrect duplicity version check for keepincroffulls.
Thanks to Olivier Berger <oberger@ouvaton.org> for the patch.
(Closes Redmine bug #3443)
(Closes: #641120)
2011-09-11 00:18:23 +02:00
intrigeri
c43aa3697b Update ChangeLog and AUTHORS. 2011-08-30 13:02:47 +02:00
intrigeri
9d8d89fd02 Recording Debian bug number. 2011-08-30 12:59:44 +02:00
intrigeri
4e5d994e8a Update ChangeLog. 2011-08-17 19:29:29 +02:00
intrigeri
7b57f84a92 Cleanup: stop supporting duplicity < 0.6.01 (Redmine#2538). 2011-08-17 12:31:30 +02:00
intrigeri
e691eb7a10 Allow 'when = XXX' in sh jobs.
when=XXX did work already. This patch allow to write this with spaces around the
equal sign - as in every other backup.d/ file.
2011-08-17 12:15:37 +02:00
intrigeri
69c0ec09c5 Releasing backupninja 0.9.9 2011-05-15 19:27:41 +02:00
intrigeri
49a5c56321 sys: fix gathering of information about loaded modules.
cut is in /usr/bin actually.
2011-05-15 19:19:48 +02:00
intrigeri
d32cc2318c sys: fix hwinfo (Closes: #625501) 2011-05-05 09:17:37 +02:00
intrigeri
448b6f495e Updating ChangeLog and AUTHORS. 2011-04-26 11:08:59 +02:00
intrigeri
cdcc2bc5c9 Do arithmetic using bash rather than bc (Closes: #603173) 2011-04-26 11:00:02 +02:00
intrigeri
d9f2fca055 Fix ChangeLog. 2011-04-26 10:35:02 +02:00
Olivier Berger
6ab6f3907f Fix duplicity option's name 2011-04-25 22:40:45 +02:00
Olivier Berger
a1c2229e1a Proposed feature to address https://labs.riseup.net/code/issues/2492 2011-04-25 22:40:44 +02:00
intrigeri
6aca9c822b All handlers: stop using "local VAR" outside functions. (Closes: #530647) 2011-04-25 18:55:58 +02:00
intrigeri
2392094a24 Make units clearer (Closes Redmine bug #2737). 2011-02-16 08:22:10 +01:00
intrigeri
a036144de8 Documentation: recommend using 4096 bits RSA keys everywhere. 2011-01-27 19:02:28 +01:00
intrigeri
8190b0dbc7 rdiff.helper: generate 4096 bits RSA keys. 2011-01-27 19:00:15 +01:00
intrigeri
5c7a26f70d Update ChangeLog and authors. 2010-12-26 18:56:33 +01:00
intrigeri
6ad15139e0 Merge remote branch 'origin/0.9.8.1'
Conflicts:
	AUTHORS
	ChangeLog
2010-12-13 11:42:36 +01:00
intrigeri
8098286aa1 dup helper: fix separate signing key usecase.
Thanks to Ian Beckwith for the patch.
2010-12-13 11:24:21 +01:00
intrigeri
13f247afeb Fix reliance on bash for pipefail. (Closes: #602374)
Thanks to Sergio Talens-Oliag <sto@debian.org> for the bug report and patch.
2010-11-07 13:07:26 +01:00
Micah Anderson
ab92883a63 bump version numbers in preparation for release 2010-10-31 16:30:45 -04:00
Micah Anderson
8629599e5d add changelog entry for vgcfgbackup fix
Conflicts:

	ChangeLog
2010-10-29 10:42:14 -04:00
Micah Anderson
f49a612006 Do not error out when no job is configured (Closes: #597684)
Conflicts:

	ChangeLog
2010-10-29 10:30:43 -04:00
Micah Anderson
846fa74cbc add changelog entry for vgcfgbackup fix 2010-10-12 11:49:18 -04:00
intrigeri
dc7f723e5c Remove support for duplicity < 0.4.4. Even etch-backports has a newer one. 2010-10-12 11:44:35 +02:00
intrigeri
55d9452da5 dup: use --tempdir option rather than TMPDIR environment variable.
Closes Roundup bug #598.

This breaks support of Debian etch.
2010-10-12 11:15:47 +02:00
intrigeri
817ffa139b Update ChangeLog. 2010-10-12 10:52:22 +02:00
intrigeri
cc35262c2a Update ChangeLog after merging sarava's rsync branch. 2010-10-11 09:06:56 +02:00
intrigeri
d598a50cb9 Do not error out when no job is configured (Closes: #597684) 2010-09-22 20:47:34 +02: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
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
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
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
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
6e8c722ca2 Release 0.9.7 2010-01-27 17:11:37 -05: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
intrigeri
49bfd02bd3 reportspace: skip non-directories and places that don't exist on the local filesystem (Closes: #536049) 2010-01-05 14:34:30 +01:00
intrigeri
b6fd3b231e Added ChangeLog entry for previous commit. 2010-01-05 13:52:43 +01:00
intrigeri
8fb9415609 Adding optional report of infos sent by handlers in the email (closes #563734)
Cherry-picked and re-indented patch 76792c8f45afa1fdaeb81c2af77499ca0b83ce64
from Olivier Berger.

Conflicts:

	src/backupninja.in
2010-01-05 13:39:32 +01:00
intrigeri
00e759430a Added ChangeLog entry for 61eb6a7484. 2010-01-05 13:19:17 +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
4996d8deb7 autotools: added the stat command to the automagically replaced ones
... hoping it will help supporting *BSD some day.
2009-12-25 04:09:29 +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
6606cce445 easydialog: allow form fields input to grow up to 100 chars (Closes: #562249) 2009-12-24 16:57:31 +01:00
intrigeri
f967264717 ldap, mysql, pgsql: use gzip's --rsyncable option 2009-11-19 20:27:46 +01: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
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
a1c625fcc3 add support for 'when = manual' (Closes: #511299) 2009-01-12 22:47:08 +00:00
intrigeri
2cfcdd636d mysql: new sqldumpoptions config variable (Closes: #502966) 2008-12-09 11:40:03 +00:00
intrigeri
4506202ea7 backupninja: do not assume English locale when using date (Closes: #465837) 2008-12-09 11:08:53 +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
intrigeri
c4f2b1d45e fix reportspace 2008-07-28 17:12:31 +00:00
Micah Anderson
351369b874 update makecd handler to work with new toolset 2008-07-25 20:11:24 +00:00
Micah Anderson
d404d8b754 prepare for release 2008-07-21 20:49:34 +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
788e82b56a dup: set secure permissions on tmpdir when creating it 2008-06-25 09:54:45 +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
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
Micah Anderson
ca12e5617b 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 2008-06-24 18:02:23 +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
4dc5c3443f Fixed tr construct reporting a warning (Closes: #452669). 2008-06-24 14:36:52 +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