Creation and Transfer of TAR file from one machine to another Using UNIX script | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Creation and Transfer of TAR file from one machine to another Using UNIX script

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-22-2003
rahuljadhav rahuljadhav is offline
Registered User
 
Join Date: Aug 2003
Last Activity: 22 August 2003, 6:59 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Creation and Transfer of TAR file from one machine to another Using UNIX script

Hi,

I want to create unix script such that it should run on machine A, it should run TAR commands on machine B and copy that TAR to machine C.

Is it possible?

Thanks
Rahul
Sponsored Links
    #2  
Old 08-22-2003
Bab00shka Bab00shka is offline
Registered User
 
Join Date: Apr 2002
Last Activity: 1 October 2006, 6:50 PM EDT
Location: Chesterfield, UK
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Rahul

Does the script have to run on box A? Why don't you get the script to run on box B?

It will then be possible to run the script and automate an ftp to box C

Cheers
Helen
Sponsored Links
    #3  
Old 08-27-2003
OllieTech OllieTech is offline
Registered User
 
Join Date: Aug 2003
Last Activity: 6 December 2006, 3:28 PM EST
Location: Dover, DE, USA
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Is there any particular reason for writing this script? I'm thinking a cron job on Box B that creates a tar of the files/dir that you want. Then another cron on Box B that runs rsync to back that tar up to Box C. Actually, I currently use this process in backing up some of my servers.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
File transfer from Windows machine to Linux server gowrishankar05 Shell Programming and Scripting 3 09-27-2011 11:14 PM
How to transfer files from unix machine to local machine using shell script? vidhyaS Shell Programming and Scripting 1 08-08-2011 10:27 AM
how to transfer a file from unix to window machine balireddy_77 Shell Programming and Scripting 3 10-12-2007 04:44 AM
Unix File creation time tinivt Shell Programming and Scripting 2 01-23-2007 05:27 AM
program to transfer a file from client machine to server nathgopi214 Programming 3 07-04-2006 06:16 AM



All times are GMT -4. The time now is 05:48 AM.