Gentoo Archives: gentoo-user-id

From: Erwin <erwin@g.o>
To: gentoo-user-id@l.g.o
Subject: Re: [gentoo-user-id] setting mirror server
Date: Wed, 07 Jan 2004 07:24:17
Message-Id: 1073460259.5141.4.camel@localhost
In Reply to: Re: [gentoo-user-id] setting mirror server by Indra Wahyudi
On Wed, 2004-01-07 at 15:29, Indra Wahyudi wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wednesday 07 January 2004 07:48, Erwin wrote: > > On Tue, 2004-01-06 at 21:41, Indra Wahyudi wrote: > > > > > > Hi.., > > > > > > Barusan gw coba setting rsync box gw. Servicenya OK, anehnya semua file > > > yg gw ambil dari server ga masuk ke kompi gw. Celakanya lagi, klo gw > > > remote box gw dari server trus rsync dari server.. file ketransfer. > > > > > > Masalahnya.. koq dia ga mo lasung dari box gw??? klo box gw di remote > > > dari server trus di rsync koq bisa yah???? > > > > > > Any suggest??? > > > > Hrm.. skenarionya begini bukan: > > 1. box --sync--> server rsync (gagal) > > 2. server --ssh--> box --sync--> server rsync (sukses) > > ? > > Cocok banget :D > > > > > Kalau betul, secara logika kalau kasus (2) sukses, harusnya kasus (1) > > juga berhasil. Boleh tau perintah sync yang dipake gak? > > > > dari box client: > # rsync -anvz rsync://neodayax@rangkong/cvs-project /home/pingu/backup-cvs > > file berhasil di list, ketika di cek.. nihil :( > trus coba: > # rsync -anv -e --rsh="ssh -l pingu" rsync://neodayax@rangkong/cvs-project / > home/pingu/backup-cvs > > hasil sama dg di atas. > Perintah pertama klo di coba remote dari server ke box client berhasil.
Yup.. dari rsync --help: "-n, --dry-run show what would have been transferred" flag -n hanya menampilkan file-file apa saja yang akan di download, tapi gak benar-benar diambil. Seperti perintah `emerge -fp` mungkin :-) Coba rsync lagi tanpa flag -n salam, -- Erwin Gentoo Documentation Project GPG: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFC62B879 FP: BD5D EE9C 23DC 1AD5 9DA3 DCE1 FD83 212F FC62 B879

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user-id] setting mirror server Indra Wahyudi <indra.wahyudi@×××××××××.id>