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

21 months 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

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

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

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

21 months 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.

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

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

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

21 months 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)

21 months 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)

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

21 months 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

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

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

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

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

21 months 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.

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

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

21 months 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.

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

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

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

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

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

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

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

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

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

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

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

22 months agoHomepage field in debian/control
Richard Kettlewell [Sun, 1 May 2011 10:21:39 +0000]
Homepage field in debian/control

22 months agoman syntax pedantry
Richard Kettlewell [Sun, 1 May 2011 10:18:35 +0000]
man syntax pedantry

22 months agoDebianization fixes
Richard Kettlewell [Sun, 1 May 2011 10:11:47 +0000]
Debianization fixes

22 months agoTypo.
Richard Kettlewell [Sun, 1 May 2011 10:10:34 +0000]
Typo.