chiark / gitweb /
rsbackup.git
4 weeks agotypo fix master
Richard Kettlewell [Sun, 3 Feb 2013 12:46:33 +0000]
typo fix

4 weeks agoUpdate version number.
Richard Kettlewell [Sat, 2 Feb 2013 17:08:19 +0000]
Update version number.

4 weeks agodebian: version number branch-0.4
Richard Kettlewell [Fri, 1 Feb 2013 18:21:38 +0000]
debian: version number

6 weeks agoBring copyright notices up to date
Richard Kettlewell [Sat, 19 Jan 2013 11:34:03 +0000]
Bring copyright notices up to date

2 months agoMerge branch 'pre-access-hook'
Richard Kettlewell [Mon, 10 Dec 2012 21:55:05 +0000]
Merge branch 'pre-access-hook'

2 months agoRemove "ls" invocation
Matthew Vernon [Mon, 10 Dec 2012 10:34:36 +0000]
Remove "ls" invocation

The ls -l invocation doesn't do anything useful, and causes cron mail to
be emitted. So I deleted it.

Signed-off-By: Matthew Vernon <matthew@debian.org>

2 months agogitignore
Richard Kettlewell [Sun, 9 Dec 2012 20:42:32 +0000]
gitignore

2 months agoTidy up interactive prompt.
Richard Kettlewell [Sun, 9 Dec 2012 20:41:39 +0000]
Tidy up interactive prompt.

3 months agoTypo fix.
Richard Kettlewell [Sat, 24 Nov 2012 17:19:56 +0000]
Typo fix.

3 months agoHonor 'hostname localhost' properly in volume availability check.
Richard Kettlewell [Sat, 24 Nov 2012 11:23:59 +0000]
Honor 'hostname localhost' properly in volume availability check.

(It's not supposed to 'ssh localhost'.)

3 months agoAdd hooks for mounting and unmounting backup devices
Richard Kettlewell [Mon, 19 Nov 2012 21:20:30 +0000]
Add hooks for mounting and unmounting backup devices

3 months agoCHANGES.html
Richard Kettlewell [Fri, 16 Nov 2012 21:21:09 +0000]
CHANGES.html

3 months agoman page style
Richard Kettlewell [Fri, 16 Nov 2012 21:20:01 +0000]
man page style

3 months agoEnable plain devices in rsbackup-mount
Matthew Vernon [Fri, 16 Nov 2012 16:46:25 +0000]
Enable plain devices in rsbackup-mount

If you set DEVICE_plain in rsbackup/devices, then rsbackup-mount simply
mounts the relevant device rather than trying to cryptsetup it.

This patch documents the new syntax in the manual and the example
rsbackup.devices file.

Signed-off-by: Matthew Vernon <matthew@debian.org>

3 months agoAdd a --key-file argument to rsbackup-mount
Matthew Vernon [Fri, 16 Nov 2012 16:46:24 +0000]
Add a --key-file argument to rsbackup-mount

One might want to store the passphrase for a luks device in a key-file
and then use rsbackup-mount to open and mount said device for backups.
To do this, it would be handy to pass on a --key-file argument to
cryptsetup. This patch does that (and updates the usage message and
manual).

Signed-off-by: Matthew Vernon <matthew@debian.org>

3 months agoNew check-file option to test whether a volume is available
Richard Kettlewell [Sat, 10 Nov 2012 16:04:52 +0000]
New check-file option to test whether a volume is available

3 months ago--text and --html accept - to write to stdout
Richard Kettlewell [Sat, 10 Nov 2012 14:49:51 +0000]
--text and --html accept - to write to stdout

3 months agoCorrect handling of single-letter options
Richard Kettlewell [Sat, 10 Nov 2012 14:46:12 +0000]
Correct handling of single-letter options

3 months agobackup: new 'devices' option to restrict device usage
Richard Kettlewell [Sat, 10 Nov 2012 14:45:04 +0000]
backup: new 'devices' option to restrict device usage

4 months agoprune: reason text spacing
Richard Kettlewell [Thu, 25 Oct 2012 21:01:15 +0000]
prune: reason text spacing

4 months agoprune: more useful prune explanation
Richard Kettlewell [Thu, 25 Oct 2012 17:07:30 +0000]
prune: more useful prune explanation

6 months agoutils: quieten compiler on 32-bit platforms
Richard Kettlewell [Tue, 21 Aug 2012 18:15:29 +0000]
utils: quieten compiler on 32-bit platforms

6 months agodoc: mention snapshot support in manual
Richard Kettlewell [Sun, 19 Aug 2012 15:03:48 +0000]
doc: mention snapshot support in manual

6 months agodoc: correct documentation of /snap
Richard Kettlewell [Sun, 19 Aug 2012 14:45:02 +0000]
doc: correct documentation of /snap

6 months agodoc: man page for rsbackup-snapshot-hook
Richard Kettlewell [Sun, 19 Aug 2012 14:41:59 +0000]
doc: man page for rsbackup-snapshot-hook

6 months agodistcheck-clean
Richard Kettlewell [Sun, 19 Aug 2012 14:29:24 +0000]
distcheck-clean

6 months agoCHANGES: mention --verbose changes
Richard Kettlewell [Sun, 19 Aug 2012 12:30:59 +0000]
CHANGES: mention --verbose changes

6 months agoUniform --verbose handling
Richard Kettlewell [Sun, 19 Aug 2012 12:28:42 +0000]
Uniform --verbose handling

6 months ago--verbose (and --dry-run) report commands more reliably.
Richard Kettlewell [Sun, 19 Aug 2012 12:17:46 +0000]
--verbose (and --dry-run) report commands more reliably.

This must have got lost quite early...

6 months agotests: a little more coverage gcov
Richard Kettlewell [Sun, 19 Aug 2012 09:49:25 +0000]
tests: a little more coverage

6 months agogcov support.
Richard Kettlewell [Sat, 30 Apr 2011 09:07:09 +0000]
gcov support.

After 'make check' do:
  (cd src && echo *.cc *.h | xargs -n1 gcov)
to generate *.gcov files.

6 months agoBring CHANGES up to date timeouts
Richard Kettlewell [Sun, 19 Aug 2012 09:01:46 +0000]
Bring CHANGES up to date

6 months agobackup, hooks: apply timeouts to hooks and rsync
Richard Kettlewell [Sat, 4 Aug 2012 13:05:05 +0000]
backup, hooks: apply timeouts to hooks and rsync

6 months agosubprocess: warn on timeout exceeded
Richard Kettlewell [Sat, 4 Aug 2012 13:04:17 +0000]
subprocess: warn on timeout exceeded

6 months agosubprocess: add timeout support to Subprocess.
Richard Kettlewell [Sat, 4 Aug 2012 12:30:30 +0000]
subprocess: add timeout support to Subprocess.

Decouple Subprocess from Command a bit to reduce the object code
requirements for the test program.

7 months agohooks: suppress LVM warnings hooks
Richard Kettlewell [Sun, 22 Jul 2012 14:53:57 +0000]
hooks: suppress LVM warnings

7 months agohooks: move postbackup hook earlier.
Richard Kettlewell [Sun, 22 Jul 2012 14:53:41 +0000]
hooks: move postbackup hook earlier.

This stops its log output supplanting the final status line in the
logfile.

7 months agohooks: systest script & fix various hook script problems
Richard Kettlewell [Sun, 22 Jul 2012 14:33:53 +0000]
hooks: systest script & fix various hook script problems

7 months agohooks: tidy up FD handling
Richard Kettlewell [Sun, 22 Jul 2012 11:22:03 +0000]
hooks: tidy up FD handling

7 months ago--divisor option to snapshot hook script
Richard Kettlewell [Sat, 14 Jul 2012 08:55:46 +0000]
--divisor option to snapshot hook script

7 months agoTests verify that (only) expected hooks ran.
Richard Kettlewell [Sat, 7 Apr 2012 08:37:08 +0000]
Tests verify that (only) expected hooks ran.

7 months agoMore hook support work.
Richard Kettlewell [Sat, 24 Mar 2012 20:06:49 +0000]
More hook support work.

7 months agoHook support
Richard Kettlewell [Sat, 24 Mar 2012 17:33:09 +0000]
Hook support

7 months agohooks: proposed interface
Richard Kettlewell [Sun, 18 Mar 2012 13:20:27 +0000]
hooks: proposed interface

7 months agodate: remove redundant method signature
Richard Kettlewell [Sun, 22 Jul 2012 12:01:29 +0000]
date: remove redundant method signature

7 months agologging: another try at date formatting
Richard Kettlewell [Sun, 22 Jul 2012 10:53:52 +0000]
logging: another try at date formatting

7 months agologging: format dates more sensible
Richard Kettlewell [Sat, 14 Jul 2012 11:47:25 +0000]
logging: format dates more sensible

7 months agobackup: report errors more uniformly
Richard Kettlewell [Sat, 14 Jul 2012 09:20:37 +0000]
backup: report errors more uniformly

Errors creating directories and flag files are now reported the same
as failed rsync jobs.  This means that there's a greater chance
problems will show up in the backup report rather junk mail from cron.

The implementation is a bit of a kludge but should do the job for the
time being.

Problem reported by Peter Maydell.

7 months agodebian/rules clean succeeds even without a Makefile.
Richard Kettlewell [Fri, 13 Jul 2012 19:24:12 +0000]
debian/rules clean succeeds even without a Makefile.

Reported by Matthew Vernon.

9 months agoAdd missing <unistd.h> includes
Richard Kettlewell [Sat, 12 May 2012 08:46:16 +0000]
Add missing <unistd.h> includes

9 months agodocument: provide virtual destructors for base classes.
Richard Kettlewell [Sat, 12 May 2012 08:45:20 +0000]
document: provide virtual destructors for base classes.

10 months agotest: always use bash for test scripts.
Richard Kettlewell [Mon, 9 Apr 2012 10:50:09 +0000]
test: always use bash for test scripts.

Works around a bug in the FreeBSD sh
(assignments aren't exported when invoking a function).

10 months agounicode: use a cast to support platforms with broken iconv() signature.
Richard Kettlewell [Mon, 9 Apr 2012 10:32:43 +0000]
unicode: use a cast to support platforms with broken iconv() signature.

C++ won't tolerate implicit conversion from 'void *' so we have to
work out what the destination of the cast should be.

10 months agoconfigure: use /usr/local on FreeBSD
Richard Kettlewell [Mon, 9 Apr 2012 10:19:25 +0000]
configure: use /usr/local on FreeBSD

10 months agoautogen: can use /bin/sh, therefore do so.
Richard Kettlewell [Mon, 9 Apr 2012 10:17:51 +0000]
autogen: can use /bin/sh, therefore do so.

11 months agoRegenerate stylesheet.cc
Richard Kettlewell [Sat, 24 Mar 2012 16:31:34 +0000]
Regenerate stylesheet.cc

11 months agoAdd doxygen markup
Richard Kettlewell [Sat, 24 Mar 2012 16:31:02 +0000]
Add doxygen markup

11 months agoUpdate CHANGES branch-0.3
Richard Kettlewell [Sun, 18 Mar 2012 14:15:55 +0000]
Update CHANGES

11 months agoPut backups back into their proper order
Richard Kettlewell [Sun, 18 Mar 2012 14:03:45 +0000]
Put backups back into their proper order

11 months agoLog details of why a backup is pruned.
Richard Kettlewell [Sun, 18 Mar 2012 13:43:05 +0000]
Log details of why a backup is pruned.

15 months agoMove store permissions check after the 'device-id' check.
Richard Kettlewell [Tue, 22 Nov 2011 19:08:06 +0000]
Move store permissions check after the 'device-id' check.

This is a better way of testing whether what we find is supposed to be
a backup medium or is an empty mount point.

15 months agoDocument current store validity logic
Richard Kettlewell [Thu, 17 Nov 2011 19:43:28 +0000]
Document current store validity logic

15 months agoUnmounted stores are unavailable, not bad.
Richard Kettlewell [Thu, 17 Nov 2011 19:33:39 +0000]
Unmounted stores are unavailable, not bad.

15 months agoSort results of directory listings.
Richard Kettlewell [Sat, 5 Nov 2011 18:05:48 +0000]
Sort results of directory listings.

This ensures that warnings are sensibly ordered.

15 months agoMark backups when prune starts.
Richard Kettlewell [Sat, 5 Nov 2011 18:02:39 +0000]
Mark backups when prune starts.

This allows us to avoid reporting partly pruned backups as viable in
the report, and to ensure that pruning of partly pruned backups
continues on a subsequent prune even if the pruning parameters have
changed.

15 months agoCreate .incomplete files while pruning.
Richard Kettlewell [Sat, 5 Nov 2011 17:29:09 +0000]
Create .incomplete files while pruning.

This means there is at least some indication that the backup is now
dead.  However the logs will show it as alive until the pruning is
complete, so more work is required here.

15 months agodocs: macdink a bit
Richard Kettlewell [Sat, 5 Nov 2011 14:33:56 +0000]
docs: macdink a bit

15 months agodebian: doc-base registration. docbase
Richard Kettlewell [Sat, 5 Nov 2011 14:22:11 +0000]
debian: doc-base registration.

15 months agoStart on a doc-base registration.
Richard Kettlewell [Sun, 15 May 2011 18:59:19 +0000]
Start on a doc-base registration.
(Doesn't work properly - the stylesheet is lost.)

15 months agoCHANGES: link to github.
Richard Kettlewell [Sat, 5 Nov 2011 12:26:04 +0000]
CHANGES: link to github.

15 months agoDescribe --text in HTML manual.
Richard Kettlewell [Sat, 5 Nov 2011 12:20:53 +0000]
Describe --text in HTML manual.

15 months ago--logs option to control logfile verbosity in report.
Richard Kettlewell [Sat, 5 Nov 2011 12:16:06 +0000]
--logs option to control logfile verbosity in report.

The default is "not very verbose".

16 months agoCHANGES: typo.
Richard Kettlewell [Sun, 16 Oct 2011 09:41:14 +0000]
CHANGES: typo.

16 months agoImprove handling of missing and misconfigured stores.
Richard Kettlewell [Sun, 16 Oct 2011 09:37:45 +0000]
Improve handling of missing and misconfigured stores.

If it looks like a store is present but misconfigured (for instance,
wrong permissions) is always reported as an error.  If it looks like
the store is absent then this is only reported if --warn-store is
given, but if no configured store is present then the problems found
with all configured stores are listed.

The documentation on how to set up stores has also been clarified.

16 months agoCHANGES: ispell-buffer.
Richard Kettlewell [Sat, 15 Oct 2011 12:10:27 +0000]
CHANGES: ispell-buffer.

16 months agoREADME: typo fix.
Richard Kettlewell [Sat, 15 Oct 2011 11:37:30 +0000]
README: typo fix.

16 months agoEnable partial transfer warnings by default.
Richard Kettlewell [Sat, 15 Oct 2011 09:00:04 +0000]
Enable partial transfer warnings by default.

These errors are still not considered to make the backup fail - at
this point the question is merely how conservative rsbackup is at
reporting them to the operator.

16 months agoDisplay rsync errors on stderr.
Richard Kettlewell [Sat, 15 Oct 2011 08:56:37 +0000]
Display rsync errors on stderr.

The old behavior can be restored with --no-errors.

16 months agoAdd --warn-partial option.
Richard Kettlewell [Sat, 15 Oct 2011 08:42:59 +0000]
Add --warn-partial option.

16 months agoRestore creation of .incomplete files.
Richard Kettlewell [Sat, 8 Oct 2011 10:14:16 +0000]
Restore creation of .incomplete files.

The C++ version does not rely on them itself but they are a useful
hint to the operator when trying to identify which backup to restore
from.

Also minor documentation improvements.

16 months agodebian: create /var/log/backup
Richard Kettlewell [Fri, 7 Oct 2011 19:43:02 +0000]
debian: create /var/log/backup

16 months agodebian: binary depends on build.
Richard Kettlewell [Fri, 7 Oct 2011 19:36:51 +0000]
debian: binary depends on build.

21 months agoMore specific naming
Richard Kettlewell [Sat, 14 May 2011 15:43:13 +0000]
More specific naming

21 months agoBring doc/CHANGES.html up to date
Richard Kettlewell [Sat, 14 May 2011 09:49:21 +0000]
Bring doc/CHANGES.html up to date

21 months agoHighlight heading for failure logs if most recent attempt for device.
Richard Kettlewell [Sat, 14 May 2011 09:43:26 +0000]
Highlight heading for failure logs if most recent attempt for device.

21 months agoGPL3 throughout
Richard Kettlewell [Sun, 8 May 2011 16:01:20 +0000]
GPL3 throughout

21 months agoCope with files being left around, mv prompting, etc.
Richard Kettlewell [Sun, 8 May 2011 15:59:00 +0000]
Cope with files being left around, mv prompting, etc.

21 months agoRefer to exact GPL version from debian/copyright
Richard Kettlewell [Sun, 8 May 2011 15:50:26 +0000]
Refer to exact GPL version from debian/copyright

21 months ago--version option for tool scripts.
Richard Kettlewell [Sun, 8 May 2011 15:49:16 +0000]
--version option for tool scripts.

21 months agoSingle letter options for tool scripts.
Richard Kettlewell [Sun, 8 May 2011 15:39:08 +0000]
Single letter options for tool scripts.
Also some examples in man pages.

21 months agoSingle-letter command-line options.
Richard Kettlewell [Sun, 8 May 2011 15:34:29 +0000]
Single-letter command-line options.
Most of these worked already, but were not documented.

21 months agoTypo.
Richard Kettlewell [Sun, 8 May 2011 13:37:53 +0000]
Typo.

21 months agoThe “oldest” backup for a host with no backups now shows up as “none”
Richard Kettlewell [Sun, 8 May 2011 11:33:24 +0000]
The “oldest” backup for a host with no backups now shows up as “none”
rather than “1980-01-01”.

21 months agoDon't try to rmdir . and .. when retiring volume.
Richard Kettlewell [Sat, 7 May 2011 21:08:59 +0000]
Don't try to rmdir . and .. when retiring volume.

21 months ago--prune honors selections again
Richard Kettlewell [Sat, 7 May 2011 19:35:24 +0000]
--prune honors selections again

21 months agoUse PATH_SEP more consistently.
Richard Kettlewell [Sat, 7 May 2011 19:34:32 +0000]
Use PATH_SEP more consistently.

21 months agoSet dev version string
Richard Kettlewell [Sat, 7 May 2011 11:21:07 +0000]
Set dev version string

21 months agoTypo.
Richard Kettlewell [Sat, 7 May 2011 11:20:02 +0000]
Typo.

21 months agoRebuild html man pages in scripts/dist. branch-0.2
Richard Kettlewell [Sat, 7 May 2011 11:03:19 +0000]
Rebuild html man pages in scripts/dist.

21 months agoUpdate version number.
Richard Kettlewell [Sat, 7 May 2011 11:02:18 +0000]
Update version number.