Re: rsyncing to live apt-rpm repository

Axel Thimm <[email protected]> Sat, 11 Mar 2006 10:57:08 +0100
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
--===============0333854301==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="uZ3hkaAS1mZxFaxD"
Content-Disposition: inline


--uZ3hkaAS1mZxFaxD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 10, 2006 at 04:52:25PM -0800, Kai wrote:
> Is it safe to rsync to a live apt-rpm repository? Or is it recommended
> to first shutdown the web server hosting the repository?

o Rsync the rpm packages only w/o --delete (e.g. --exclude base)
o Rsync the metadata only
o Rsync again with --delete

That way you will never have a race. Users will immediately see the
new repo in step two.
--=20
Axel.Thimm at ATrpms.net

--uZ3hkaAS1mZxFaxD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEEp70QBVS1GOamfERAoFeAJ9LKBmUUKsO/cvYCrxlcihoZFgHVgCfSupU
y4KQvw+uXABejrOV9tAB4Eo=
=H3xH
-----END PGP SIGNATURE-----

--uZ3hkaAS1mZxFaxD--

--===============0333854301==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
apt-rpm mailing list
[email protected]
http://distro2.conectiva.com.br/mailman/listinfo/apt-rpm

--===============0333854301==--