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


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Creation and Transfer of TAR file from one machine to another Using UNIX script
# 1  
Old 08-22-2003
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
# 2  
Old 08-22-2003
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
# 3  
Old 08-27-2003
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Need UNIX script to check checksum and dummy file creation.

Hi Folks, I need a UNIX script which will copy files(Table wise) from source directory to destination directory (Under table directory) and also creates 2 additional files after getting copied to destination directory with extension .pdy and .ldy , . pdy file will be zero byte file should get... (4 Replies)
Discussion started by: Nicks1412
4 Replies

2. Shell Programming and Scripting

File transfer from UNIX to shared location using shell script

Is there any possible way transfering the file from unix to shared location using shell script. i had created the batch script to fetch the files from unix to shared location and it works fine. Due to some problem in windows unable to transfer the file to shared location automatically. can anyone... (2 Replies)
Discussion started by: venkat918
2 Replies

3. Windows & DOS: Issues & Discussions

Cygwin script to transfer file from windows to UNIX

Hi, Objective is to transfer files from windows server to Unix server using cygwin. I have installed cygwin, and I manually execute commands and transfer files from windows to unix using sftp. These are steps I execute 1) Run cmd 2) Run cygwin 3) At prompt type sftp user1@uniserver 4) lcd... (2 Replies)
Discussion started by: wahi80
2 Replies

4. Red Hat

UNIX script for daily file transfer ???

I need to create a script which needs to transfer the "<filename>+yyyymmdd".dat file from a unix machine to a linux machine.. daily. we can use an active batch to schedule the script. however, the script needs to detect if the new file is present, if present, then transfer. any help ?? (1 Reply)
Discussion started by: ravikodi
1 Replies

5. Shell Programming and Scripting

Tar file creation

Hi, I need to transfer some files from one server to another server. I need confirmation whether tar file will be created or not in HP UX with the following space details. du -s /home/webadmin/xxx/bin/ 469186 /home/webadmin/xxx/bin/ df -k /home/webadmin/xxx/bin/ 556110 total... (5 Replies)
Discussion started by: nag_sathi
5 Replies

6. IP Networking

How to transfer files from UNIX server to windows machine or vice versa using ftp or sftp commands?

hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command.. thanks very much, (3 Replies)
Discussion started by: Little
3 Replies

7. Shell Programming and Scripting

File transfer from Windows machine to Linux server

Hi guys, I need to send a txt file from a windows machine to Linux server. Any help is appreciated.... Thanks... (3 Replies)
Discussion started by: gowrishankar05
3 Replies

8. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

9. Shell Programming and Scripting

Need a script to tar all file systems on the machine into one filesystem.

Hi I am very poor at scripting.:o I need to develop a script that should tar up all the filesystems on the machine on to a single filesystem called /tarfilesystem. Any suggestions ... Thank You very much (1 Reply)
Discussion started by: urrahman_zia
1 Replies

10. Shell Programming and Scripting

how to transfer a file from unix to window machine

I want to ftp some of the unix files to my local PC through unix shell script. I want that script should be run from unix. when i tried by using scp, came to know that connection refused (3 Replies)
Discussion started by: balireddy_77
3 Replies
Login or Register to Ask a Question