Results 1 to 2 of 2
Is there a way to create a locally tar ball of a remote server / directory?
For example, remote Server-A, has directories A to D that I'd like to have ...
- 09-14-2007 #1Just Joined!
- Join Date
- Jul 2007
- Posts
- 21
Creating Remote Tarballs
Is there a way to create a locally tar ball of a remote server / directory?
For example, remote Server-A, has directories A to D that I'd like to have a tarball created; from Server-B, is there a way to create the tar-ball of Server-A and its' directories? Another option is from Server-A, can I create a tar-ball of Server-A onto Server-B?
Thanks in advance
- 09-14-2007 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
can you mount the server file systems locally via NFS?
If so, then it's easy: suppose server A is mounted on
/A whilst server B is mounted on /B: then use tar's
"-O" option--extract files to standard output--like so:
cd /; tar -O cf A.tar /A >/B
that should put A.tar on server B.the sun is new every day (heraclitus)


Reply With Quote