chiark / gitweb /
rsync-backup
2 months agoRelease 1.0.0. master 1.0.0
Mark Wooding [Sat, 20 Jul 2013 17:42:48 +0000]
Release 1.0.0.

2 months agodebian: Split into multiple packages.
Mark Wooding [Tue, 16 Jul 2013 18:16:50 +0000]
debian: Split into multiple packages.

2 months agorfreezefs.c: Fix the help message, which was egregiously wrong.
Mark Wooding [Tue, 16 Jul 2013 17:26:13 +0000]
rfreezefs.c: Fix the help message, which was egregiously wrong.

2 months agoUse new mLib function annotations.
Mark Wooding [Tue, 16 Jul 2013 13:32:14 +0000]
Use new mLib function annotations.

And fix a minor bug caught by them.

2 months agoMake `rfreezefs' optional, conditioned on whether we find mLib.
Mark Wooding [Tue, 16 Jul 2013 10:49:30 +0000]
Make `rfreezefs' optional, conditioned on whether we find mLib.

2 months agorsync-backup.{in,8}: New option to set the remote user name.
Mark Wooding [Mon, 15 Jul 2013 13:16:14 +0000]
rsync-backup.{in,8}: New option to set the remote user name.

The default is still to use no user name.

2 months agorsync-backup.in: Factor out the machinery for running a backup command.
Mark Wooding [Mon, 18 Mar 2013 20:12:00 +0000]
rsync-backup.in: Factor out the machinery for running a backup command.

In particular, we want the piece which messes with log files and checks
whether the command worked.

3 months agorsync-backup.in: Handle backslashes correctly in command output.
Mark Wooding [Fri, 14 Jun 2013 23:07:56 +0000]
rsync-backup.in: Handle backslashes correctly in command output.

6 months agorsync-backup.in: Fix stupid bug in index deletion.
Mark Wooding [Wed, 20 Mar 2013 16:59:02 +0000]
rsync-backup.in: Fix stupid bug in index deletion.

7 months agofshash.1: Fix some stupid editorial errors.
Mark Wooding [Thu, 28 Feb 2013 16:49:27 +0000]
fshash.1: Fix some stupid editorial errors.

8 months agoupdate-bkp-index.in: The tuple (host, fs, date) is not unique.
Mark Wooding [Mon, 28 Jan 2013 10:44:29 +0000]
update-bkp-index.in: The tuple (host, fs, date) is not unique.

So we must fix the schema, and include the volume name in the primary
key.  This is still early days, so I'm just going to break it.

8 months agoMerge branch 'staging'
Mark Wooding [Mon, 28 Jan 2013 10:04:55 +0000]
Merge branch 'staging'

* staging:
  Maintain an index of backup artifacts.
  rsync-backup.8: Put the variables in alphabetical order.
  rsync-backup.in: Missing `NAME' section.

8 months agorsync-backup.8: Describe `HOST/FS/last' symlink.
Mark Wooding [Fri, 25 Jan 2013 22:56:13 +0000]
rsync-backup.8: Describe `HOST/FS/last' symlink.

8 months agorsync-backup.8: Missing `.RS'/`.RE' in description of `retain'.
Mark Wooding [Fri, 25 Jan 2013 22:55:37 +0000]
rsync-backup.8: Missing `.RS'/`.RE' in description of `retain'.

8 months agoMaintain an index of backup artifacts.
Mark Wooding [Fri, 25 Jan 2013 18:33:03 +0000]
Maintain an index of backup artifacts.

There's a new program `update-bkp-index' to create and refresh the
database from a backup volume, and some new pieces of `rsync-backup' to
update the index incrementally as artifacts are committed and expired.

8 months agorsync-backup.8: Put the variables in alphabetical order.
Mark Wooding [Fri, 25 Jan 2013 18:31:15 +0000]
rsync-backup.8: Put the variables in alphabetical order.

8 months agorsync-backup.in: Missing `NAME' section.
Mark Wooding [Fri, 25 Jan 2013 18:27:46 +0000]
rsync-backup.in: Missing `NAME' section.

9 months agorsync-backup.8, rsync-backup.in: Allow per-backup retention policy.
Mark Wooding [Fri, 14 Dec 2012 23:07:33 +0000]
rsync-backup.8, rsync-backup.in: Allow per-backup retention policy.

Now stuff like the media library doesn't keep old mistakes and changed
files forever, but we can still keep lots of history for most of the
filesystems.

9 months agorsync-backup.8, rsync-backup.in: New dry-run mode for testing logic.
Mark Wooding [Fri, 14 Dec 2012 23:06:10 +0000]
rsync-backup.8, rsync-backup.in: New dry-run mode for testing logic.

There's a tweak to retention policy coming up, and it turns out to be bad
to test such things on one's production backups.

11 months agorsync-backup.in, rsync-backup.8: Retry backups which fail fshash check.
Mark Wooding [Fri, 19 Oct 2012 08:46:31 +0000]
rsync-backup.in, rsync-backup.8: Retry backups which fail fshash check.

I'm getting annoyed with vampire:root failing in the morning and then
succeeding after a manual retry.  So get the script to retry automatically.

11 months agorsync-backup.in, rsync-backup.8: Ensure the store filesystem is mounted.
Mark Wooding [Mon, 8 Oct 2012 08:12:23 +0000]
rsync-backup.in, rsync-backup.8: Ensure the store filesystem is mounted.

Previously this was left as the responsibility of some wrapper script,
but that's really annoying, and we should do it ourselves.

11 months agoDebianization!
Mark Wooding [Sun, 7 Oct 2012 22:40:15 +0000]
Debianization!

11 months agoFirst cut at documentation. 0.99.1
Mark Wooding [Sun, 7 Oct 2012 21:20:47 +0000]
First cut at documentation.

11 months agofshash.in: Save and restore working directory when walking.
Mark Wooding [Sun, 7 Oct 2012 21:20:04 +0000]
fshash.in: Save and restore working directory when walking.

11 months agofshash.in: Remove ambiguity for filenames containing ` -> '.
Mark Wooding [Sun, 7 Oct 2012 14:52:10 +0000]
fshash.in: Remove ambiguity for filenames containing ` -> '.

The problem is that we can't tell which occurrence is the separator for
a symbolic link.  Fix this by adding an otherwise pointless backslash.

11 months agoInitial commit.
Mark Wooding [Sun, 7 Oct 2012 13:26:23 +0000]
Initial commit.

This is still a little sketchy.  Some pieces are lacking documentation.
But the basic code is currently in production use, so it can't be that
bad.