[CentOS] remote tar via ssh
umairshakeel at gmail.com
Mon Oct 1 05:41:55 UTC 2007
Its a normal scenario, when u access machine B from machine A, any utility
are using like ssh, rsync, or what machine B is acting as server for u....
so on client
side simple rsync is installed, on server side u have to use some
rsync-server package is
On 9/29/07, ann kok <annkok2001 at yahoo.com> wrote:
> Hi Les
> I am trying to use rsync
> 1/ Are both machine to have rsync installed?
> 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?
> Thank you for your help
> --- Les Mikesell <lesmikesell at gmail.com> wrote:
> > ann kok wrote:
> > > can you tell me what is the exactly command?
> > >
> > > machineA# ssh root at nachineB:tar cvf / ; tar xvf *
> > >
> > You need a - after the f options to represent
> > stdin/stdout and some
> > appropriate quoting.
> > ssh root at machineB 'tar cvf - /' |tar xvf -
> > (and you probably want to use --one-file-system or
> > some excludes to
> > avoid /proc and any NFS/cdrom mounts).
> > But, I'd recommend:
> > rsync -essh machineB:/ .
> > instead (also per filesystem with --one-file-system)
> > - especially if you
> > want to repeat it or restart after interruption.
> > --
> > Les Mikeselll
> > lesmikesell at gmail.com
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> Luggage? GPS? Comic books?
> Check out fitting gifts for grads at Yahoo! Search
> CentOS mailing list
> CentOS at centos.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentOS