rsync-backup
10 years agoRelease 1.0.0. 1.0.0
Mark Wooding [Sat, 20 Jul 2013 17:42:48 +0000 (18:42 +0100)]
Release 1.0.0.

10 years agodebian: Split into multiple packages.
Mark Wooding [Tue, 16 Jul 2013 18:16:50 +0000 (19:16 +0100)]
debian: Split into multiple packages.

10 years agorfreezefs.c: Fix the help message, which was egregiously wrong.
Mark Wooding [Tue, 16 Jul 2013 17:26:13 +0000 (18:26 +0100)]
rfreezefs.c: Fix the help message, which was egregiously wrong.

10 years agoUse new mLib function annotations.
Mark Wooding [Tue, 16 Jul 2013 13:32:14 +0000 (14:32 +0100)]
Use new mLib function annotations.

And fix a minor bug caught by them.

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

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

The default is still to use no user name.

10 years agorsync-backup.in: Factor out the machinery for running a backup command.
Mark Wooding [Mon, 18 Mar 2013 20:12:00 +0000 (20:12 +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.

10 years agorsync-backup.in: Handle backslashes correctly in command output.
Mark Wooding [Fri, 14 Jun 2013 23:07:56 +0000 (00:07 +0100)]
rsync-backup.in: Handle backslashes correctly in command output.

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

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

11 years agoupdate-bkp-index.in: The tuple (host, fs, date) is not unique.
Mark Wooding [Mon, 28 Jan 2013 10:44:29 +0000 (10:44 +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.

11 years agoMerge branch 'staging'
Mark Wooding [Mon, 28 Jan 2013 10:04:55 +0000 (10:04 +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.

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

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

11 years agoMaintain an index of backup artifacts.
Mark Wooding [Fri, 25 Jan 2013 18:33:03 +0000 (18:33 +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.

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

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

11 years agorsync-backup.8, rsync-backup.in: Allow per-backup retention policy.
Mark Wooding [Fri, 14 Dec 2012 23:07:33 +0000 (23:07 +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.

11 years agorsync-backup.8, rsync-backup.in: New dry-run mode for testing logic.
Mark Wooding [Fri, 14 Dec 2012 23:06:10 +0000 (23:06 +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 years agorsync-backup.in, rsync-backup.8: Retry backups which fail fshash check.
Mark Wooding [Fri, 19 Oct 2012 08:46:31 +0000 (09:46 +0100)]
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 years agorsync-backup.in, rsync-backup.8: Ensure the store filesystem is mounted.
Mark Wooding [Mon, 8 Oct 2012 08:12:23 +0000 (09:12 +0100)]
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 years agoDebianization!
Mark Wooding [Sun, 7 Oct 2012 22:40:15 +0000 (23:40 +0100)]
Debianization!

11 years agoFirst cut at documentation. 0.99.1
Mark Wooding [Sun, 7 Oct 2012 21:20:47 +0000 (22:20 +0100)]
First cut at documentation.

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

11 years agofshash.in: Remove ambiguity for filenames containing ` -> '.
Mark Wooding [Sun, 7 Oct 2012 14:52:10 +0000 (15:52 +0100)]
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 years agoInitial commit.
Mark Wooding [Sun, 7 Oct 2012 13:26:23 +0000 (14:26 +0100)]
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.