Re: setting mirror server

Erwin <[email protected]>
Newsgroups gmane.linux.gentoo.user.indonesia
Message-ID <1073460259.5141.4.camel@localhost>
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
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/+7Qj/YMhL/xiuHkRAgFOAJ91MJ1rmHsunTfamlLA33FnaMOhBwCgv1iu
hjKynK/GUaUPUPht6KMClJ0=
=NKMP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.