chiark / gitweb /
rsbackup.git
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 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

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

2 years 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.

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

2 years 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.

2 years 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

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

2 years 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.

2 years 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.

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

2 years 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”.

2 years 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.

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

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

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

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

2 years 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.

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

2 years agoMerge branch 'master' of /home/richard/git/rsbackup
Richard Kettlewell [Sat, 7 May 2011 10:21:58 +0000]
Merge branch 'master' of /home/richard/git/rsbackup

2 years agoCheck for iconv library
Richard Kettlewell [Fri, 6 May 2011 20:13:06 +0000]
Check for iconv library
(Needed on OSX)

2 years agoupdate CHANGES
Richard Kettlewell [Fri, 6 May 2011 19:58:36 +0000]
update CHANGES

2 years agoNew always-up host config option
Richard Kettlewell [Fri, 6 May 2011 19:56:14 +0000]
New always-up host config option

2 years agoNew warning options:
Richard Kettlewell [Fri, 6 May 2011 19:52:10 +0000]
New warning options:
  --warn-store        bad stores/unavailable devices
  --warn-unreachable  unreachable hosts
  --warn-all          all warnings
Always warn if *no* devices available.

2 years agoCorrect stylesheet link
Richard Kettlewell [Fri, 6 May 2011 19:04:52 +0000]
Correct stylesheet link
(which was the whole point...)

2 years agomove CHANGES.html to doc/
Richard Kettlewell [Fri, 6 May 2011 19:04:28 +0000]
move CHANGES.html to doc/

2 years agoSupport debian/rules CONFIGURE_EXTRA=...
Richard Kettlewell [Fri, 6 May 2011 19:03:35 +0000]
Support debian/rules CONFIGURE_EXTRA=...

2 years agostderr has to be a terminal for progress bar
Richard Kettlewell [Thu, 5 May 2011 20:35:38 +0000]
stderr has to be a terminal for progress bar
(since that's where the progress bar goes)

2 years agoDisplay an ASCII progress bar when reading logs
Richard Kettlewell [Thu, 5 May 2011 20:34:31 +0000]
Display an ASCII progress bar when reading logs
(if --verbose and stdout is a terminal)

2 years agoDocument changes in CHANGES.html
Richard Kettlewell [Thu, 5 May 2011 19:43:18 +0000]
Document changes in CHANGES.html

2 years agoOption to control 'unknown host' etc warnings cpp
Richard Kettlewell [Thu, 5 May 2011 14:13:22 +0000]
Option to control 'unknown host' etc warnings

2 years agoInstall scripts
Richard Kettlewell [Wed, 4 May 2011 21:28:27 +0000]
Install scripts

2 years agoTypo.
Richard Kettlewell [Wed, 4 May 2011 19:49:22 +0000]
Typo.

2 years agoInclude newline in --version output
Richard Kettlewell [Wed, 4 May 2011 19:46:18 +0000]
Include newline in --version output

2 years agoCorrect parsing of quoted strings
Richard Kettlewell [Wed, 4 May 2011 19:40:45 +0000]
Correct parsing of quoted strings

2 years agoTest for backup completion properly
Richard Kettlewell [Wed, 4 May 2011 19:27:47 +0000]
Test for backup completion properly
- the Perl script doesn't hide status 24 in quite the same way.

2 years agoChange warning section heading
Richard Kettlewell [Wed, 4 May 2011 19:24:27 +0000]
Change warning section heading

2 years agoDisplay errors if --verbose.
Richard Kettlewell [Wed, 4 May 2011 19:20:04 +0000]
Display errors if --verbose.

2 years agoIf verbose, report backups not made because already done.
Richard Kettlewell [Wed, 4 May 2011 19:07:56 +0000]
If verbose, report backups not made because already done.

2 years agoMore docs typos
Richard Kettlewell [Mon, 2 May 2011 18:59:17 +0000]
More docs typos

2 years agoVarious manual improvements
Richard Kettlewell [Mon, 2 May 2011 18:53:27 +0000]
Various manual improvements

2 years agoPut back --store reference in HTML manual.
Richard Kettlewell [Mon, 2 May 2011 18:42:24 +0000]
Put back --store reference in HTML manual.

2 years agoImplement --store option.
Richard Kettlewell [Mon, 2 May 2011 17:54:46 +0000]
Implement --store option.

2 years agoMerge branch 'cpp' of /home/richard/git/rsbackup into cpp
Richard Kettlewell [Mon, 2 May 2011 14:57:55 +0000]
Merge branch 'cpp' of /home/richard/git/rsbackup into cpp

2 years agoGenerate text version of report.
Richard Kettlewell [Mon, 2 May 2011 14:56:57 +0000]
Generate text version of report.

Not especially pretty or configurable but does the job.

For email, send a multipart/alternative message with both the text and
HTML versions.

2 years agoAdd MIME-Version and User-Agent headers to email.
Richard Kettlewell [Mon, 2 May 2011 14:54:33 +0000]
Add MIME-Version and User-Agent headers to email.

2 years agoSanity check in BulkRemove
Richard Kettlewell [Mon, 2 May 2011 11:49:45 +0000]
Sanity check in BulkRemove

2 years agoTest --dry-run.
Richard Kettlewell [Mon, 2 May 2011 11:47:17 +0000]
Test --dry-run.
Don't remove empty directories when --dry-run.
A bit more verbosity.

2 years agoQuieten ubuntu lucid's compiler
Richard Kettlewell [Mon, 2 May 2011 08:10:36 +0000]
Quieten ubuntu lucid's compiler

2 years agoscripts/dist, and move css to doc/ where it belongs.
Richard Kettlewell [Sun, 1 May 2011 10:40:46 +0000]
scripts/dist, and move css to doc/ where it belongs.