Hi Indunil and all Thank you so much for helping me Now I am trying to use the following command to backup all files in hda to sda3 (mount on seconddrive folder) in the same machine and also excludes /usr/bin/rsync -avz --exclude=/boot1 --exclude=/seconddrive --exclude=/proc /* /seconddrive but i got the following error. is lt normal? ls my command correct? how can avoid it? thank you again ERROR: sys/module/yenta_socket/parameters/isa_probe failed verification -- update discarded. ERROR: sys/module/yenta_socket/parameters/pwr_irqs_off failed verification -- update discarded. ERROR: sys/power/disk failed verification -- update discarded. ERROR: sys/power/image_size failed verification -- update discarded. ERROR: sys/power/resume failed verification -- update discarded. ERROR: sys/power/state failed verification -- update discarded. sent 438137201 bytes received 1323530 bytes 1713297.20 bytes/sec total size is 1368434026 speedup is 3.11 rsync error: some files could not be transferred (code 23) at main.c(892) [sender=2.6.8] --- Indunil Jayasooriya <indunil75 at gmail.com> wrote: > try this, > > /usr/bin/rsync -avz > root at 192.168.0.22/var/spool/mail/ /var/spool/mail/ > > this says you rsync to machien 192.168.0.22 from > your loacl box and copy > /var/spool/mail of remote box(192.168.0.22) to > /var/spool/mail/ of local > box. > > > > On 9/29/07, Les Mikesell <lesmikesell at gmail.com> > wrote: > > > > ann kok wrote: > > > Hi Les > > > > > > I am trying to use rsync > > > > > > 1/ Are both machine to have rsync installed? > > > > Yes, and the remote side needs ssh access. > > > > > > > 2/ machine A#rsync -essh machineB:/ . > > > I try this command but what wrong I am > > > > > > rsync -essh root at machineB:/ . > > > skipping directory /. > > > client: nothing to do: perhaps you need to > specify > > > some filenames or the --recursive option? > > > > > > > Sorry - the command should really be more like: > > rsync -essh -av root at machineB:/ . > > > > If you specify a directory as the target, you must > specify recursive > > also, but '-a' is a special option that includes > many of the other > > options, including recursion. You probably also > want --one-file-system > > or some --excludes to avoid taking /proc, > though. > > > > -- > > Les Mikesell > > lesmikesell at gmail.com > > _______________________________________________ > > CentOS mailing list > > CentOS at centos.org > > http://lists.centos.org/mailman/listinfo/centos > > > > > > -- > Thank you > Indunil Jayasooriya > ____________________________________________________________________________________ Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz