On Saturday 05 February 2005 03:53, David Corbin wrote:
> The box in question is publicly accessible.  Why have another port open if
> I don't need to?  Besides, I can't get rsyncd to start correctly, so I was
> looking for alternatives.

Use:

rsync --recursive --links --safe-links --perms --times --compress --force 
--whole-file--delete --delete-after --stats --timeout=30 
--exclude='distfiles' --exclude='local' --exclude='packages' --progress 
--verbose serverhostname:/usr/portage/ /usr/portage

on the second machine and rsync will use ssh by default, you can tell this 
rsync explicitly with '-e ssh' (see also man rsync)
You need an ssh-able account on the server for this.
You can alter the timeout value like you want. Keep an eye on the tailing 
slash by /usr/portage/, this is very importend, because rsync is special in 
this case (/usr/portage/ means the same as /usr/portage/* in the shell)

Then run "emerge --metadata" to update you portage cache in /var/cache/edb.

best
Martin


--
[email protected] mailing list

Reply via email to