chiark / gitweb /
rsbackup.git
6 weeks agoRegression tests for HTML report output master
Richard Kettlewell [Sat, 17 Aug 2013 17:31:35 +0000]
Regression tests for HTML report output

6 weeks agoRegression tests for text report output
Richard Kettlewell [Sat, 17 Aug 2013 17:24:18 +0000]
Regression tests for text report output

6 weeks agoFix recalculation of per-device backup counts.
Richard Kettlewell [Sat, 17 Aug 2013 17:08:34 +0000]
Fix recalculation of per-device backup counts.

fixes #4

8 weeks agoTypo fix.
Richard Kettlewell [Wed, 7 Aug 2013 17:48:38 +0000]
Typo fix.

2 months agoBring copyright notices up to date
Richard Kettlewell [Sat, 20 Jul 2013 08:12:55 +0000]
Bring copyright notices up to date

2 months agoAdding missing #include.
Richard Kettlewell [Sat, 20 Jul 2013 08:12:03 +0000]
Adding missing #include.

3 months agofiddling with release script
Richard Kettlewell [Sat, 8 Jun 2013 12:26:14 +0000]
fiddling with release script

3 months ago--retire no longer fails if a host directory does not exist.
Richard Kettlewell [Sat, 8 Jun 2013 12:25:47 +0000]
--retire no longer fails if a host directory does not exist.

4 months agoRelease 0.4.1 0.4.1
Richard Kettlewell [Sun, 19 May 2013 16:03:19 +0000]
Release 0.4.1

4 months agoMerge branch 'release'
Richard Kettlewell [Sun, 19 May 2013 15:58:47 +0000]
Merge branch 'release'

Conflicts:
configure.ac
debian/changelog
debian/rules

4 months agoCHANGES
Richard Kettlewell [Sun, 19 May 2013 15:56:50 +0000]
CHANGES

4 months agoMake --prune-incomplete work on its own
Jacob Nevins [Tue, 14 May 2013 21:34:37 +0000]
Make --prune-incomplete work on its own

When specified on its own, specifiers for hosts/volumes weren't read
from the command line, and neither were all hosts/volumes used
implicitly in the absence of command-line arguments.

6 months agoFix segmentation fault with --html
Jonathan David Amery [Thu, 14 Mar 2013 13:51:27 +0000]
Fix segmentation fault with --html

7 months agotypo fix
Richard Kettlewell [Sun, 3 Feb 2013 12:46:33 +0000]
typo fix

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

7 months agoRelease 0.4 release
Richard Kettlewell [Sat, 2 Feb 2013 17:01:46 +0000]
Release 0.4

7 months agoMerge commit 'branch-0.4' into release
Richard Kettlewell [Sat, 2 Feb 2013 16:57:37 +0000]
Merge commit 'branch-0.4' into release

Conflicts:
debian/rules

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

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

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

9 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>

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

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

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

10 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'.)

10 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

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

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

10 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>

10 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>

10 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

10 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

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

10 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

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

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

13 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

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

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

13 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

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

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

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

13 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...

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

13 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.

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

13 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

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

13 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.

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

14 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.

14 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

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

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

14 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.

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

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

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

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

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

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

14 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.

14 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.

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

16 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.

17 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).

17 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.

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

17 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.

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

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

18 months agoRelease 0.3 0.3
Richard Kettlewell [Sat, 24 Mar 2012 13:53:36 +0000]
Release 0.3

18 months agoMerge from branch-0.3
Richard Kettlewell [Sat, 24 Mar 2012 13:48:03 +0000]
Merge from branch-0.3

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

18 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

18 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.

22 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.

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

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

22 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.

22 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.

22 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.

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

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

22 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.)

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

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

22 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".

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

23 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.

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

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

23 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.

23 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.

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

23 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.

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

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

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