Re: Mirrors not tracking main ftp site?

From: bpalmer <bpalmer(at)crimelabs(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-core(at)postgresql(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Mirrors not tracking main ftp site?
Date: 2001-06-05 02:24:51
Message-ID: Pine.BSO.4.30.0106042222450.30099-100000@mizer.crimelabs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> However, it seems that the mirrors have a lot more stuff:
> ftp://postgresql.readysetnet.com/pub/postgresql/dev/ shows dozens
> of files back to 7.1beta6, and so do the other several I checked in
> a random sample. Is the update mechanism failing to cause old files
> to be removed from the mirrors?

Found the problem. Since rsync gets a perms denied from .hidden, it
refuses to delete files.

root(at)seraph:/root# ./rsync-postgres-ftp
receiving file list ... opendir(.hidden): Permission denied
done
IO error encountered - skipping file deletion
wrote 105 bytes read 20762 bytes 2782.27 bytes/sec
total size is 521221478 speedup is 24978.27

When I changed the script to:

#/usr/local/bin/rsync -avz --delete hub.org::postgresql-ftp
/mnt/ftpd/pub/postgresql
/usr/local/bin/rsync -avz --ignore-errors --delete
hub.org::postgresql-ftp /mnt/ftpd/pub/postgresql

It worked. People need to either use the --ignore-errors or have the
.hidden folder on the server removed.

- - Brandon

- ----------------------------------------------------------------------------
b. palmer, bpalmer(at)crimelabs(dot)net pgp:crimelabs.net/bpalmer.pgp5

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBOxxDFPYgmKoG+YbuEQLeiACeIhRJQ0HTZQCJc+aqHzqSfTods7IAnjEO
m9vtW2WRh3PMPXdlWeEBzTzY
=u6ep
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2001-06-05 03:07:04 Re: Re: [GENERAL] +/- Inf for float8's
Previous Message bpalmer 2001-06-05 02:16:34 Re: Mirrors not tracking main ftp site?