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

From The Hermit Hacker
Subject Re: [CORE] Re: Mirrors not tracking main ftp site?
Date
Msg-id Pine.BSF.4.33.0106050822300.38494-100000@mobile.hub.org
Whole thread Raw
In response to Re: Mirrors not tracking main ftp site?  (bpalmer <bpalmer@crimelabs.net>)
List pgsql-hackers
okay, just removed the .hidden directory from the ftp server, which should
correct that ... I had setup that .hidden directory to be excluded though,
not sure why it was bothering things :(

On Mon, 4 Jun 2001, bpalmer wrote:

> -----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-----
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org



pgsql-hackers by date:

Previous
From: Horst Herb
Date:
Subject: full write log
Next
From: "Valentin Puente"
Date:
Subject: Multiprocessor performance