[Top][All Lists]

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

[Gnu-arch-users] Safe background mirroring with hardlink tree of archive

From: Robin Green
Subject: [Gnu-arch-users] Safe background mirroring with hardlink tree of archive?
Date: Mon, 12 Apr 2004 17:13:06 +0100
User-agent: Mutt/1.5.4i

I'm planning to add optional auto-mirroring to dtla. Do I recall correctly
that tla only adds files to archives, never modifies them, so it is safe
to do, as an optimisation:

cp -al /home/user1/archives/2004-foo /home/dtla/archives/2004-foo
sudo -u dtla tla archive-mirror address@hidden &

(Using different users - or at least different values of $HOME - is necessary
because the background archive-mirror command needs to have a different
idea of where the archive is compared to any other tla commands that might be
run concurrently.)

The point of this would be to unlock the archive more quickly. It might not
be worth it really, but mirroring over sftp does seem to be quite slow.

Attachment: pgpxxjG7Uvfi8.pgp
Description: PGP signature

reply via email to

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