Re: Mirrors not tracking main ftp site? - Mailing list pgsql-hackers

From bpalmer
Subject Re: Mirrors not tracking main ftp site?
Date
Msg-id Pine.BSO.4.30.0106042222450.30099-100000@mizer.crimelabs.net
Whole thread Raw
In response to Mirrors not tracking main ftp site?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Mirrors not tracking main ftp site?
Re: [CORE] Re: Mirrors not tracking main ftp site?
List 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@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@crimelabs.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-----




pgsql-hackers by date:

Previous
From: bpalmer
Date:
Subject: Re: Mirrors not tracking main ftp site?
Next
From: Thomas Lockhart
Date:
Subject: Re: Re: [GENERAL] +/- Inf for float8's