[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Backing up Arch archives

From: Julian T. J. Midgley
Subject: [Gnu-arch-users] Backing up Arch archives
Date: Fri, 9 Apr 2004 01:13:31 +0000 (UTC)

What's the best strategy for taking backups of Arch archives?

It looks to me as though tla archive-mirror run from a cron job is a
good candidate (none of the consistency problems associated with
rsync).  However, one can't commit to a mirror (sensibly enough), so
when you recover the archive from the mirror after a disk failure,
say, how do you tell the recovered archive to stop considering itself
a mirror and to permit commits again?

Whilst talking of mirrors, there appears to be a very minor bug in 1.2
whereby attempting to commit repeatedly to a mirror fails
non-idempotently, leaving a lock behind and displaying a less helpful
error message on the second and subsequent attempts:

fate-amenable-to-change:~/tmp/faff--trunk--0.1--patch-5$ tla commit
M  faff
attempt to write directly to mirror
    archive: address@hidden
    mirror of: address@hidden

fate-amenable-to-change:~/tmp/faff--trunk--0.1--patch-5$ tla commit
M  faff
arch_commit: unable to acquire revision lock (internal error in 
    tree: /home/jtjm/tmp/faff--trunk--0.1--patch-5
    revision: address@hidden/faff--trunk--0.1--patch-6

Julian T. J. Midgley             
Cambridge, England.
PGP: BCC7863F FP: 52D9 1750 5721 7E58 C9E1  A7D5 3027 2F2E BCC7 863F

reply via email to

[Prev in Thread] Current Thread [Next in Thread]