Best way to Copy Files From One server to another server


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Best way to Copy Files From One server to another server
# 1  
Old 07-14-2011
Best way to Copy Files From One server to another server

Hi ,

I have two servers say server A and server B. I am generating some files in server A which I have to copy to Server B,what will be the best option and why it is better than the other( as I have to copy more than 3 GB data files daily)

1.FTP - I can't use FTP bcoz it's not allowed due to some firewall port issue.
2.Link file -- can I create a link file from one server to another
3.RCP \ SCP -- can I use these to copy

And Please let me know If any more options are available .

Reg,
Wang
# 2  
Old 07-14-2011
scp is best way to copy. Otherwise you can use rsync
# 3  
Old 07-15-2011
You could put them on an NFS server export that both mount (have to watch for both writing at the same time, so make sure you have file locking considered, unless one is read only). The you're not really copying files, but this may result in other issues. This could be a server C or simply server A running NFS, that is mounted by server B.

rsync would be my choice, as it tunnels over ssh. Also, if the files are not 3GB of new data, then it only copies changes to those files.

It's difficult to give a definitive answer without more information as to the nature of the files and what they are being used for.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copy multiple .txt files from one server to another server

:wall:Hi all, I have two servers : server A and server B Weekly wise i use to receive files to server A to one particular location say /source/location . NOTE: In this location there will be other files also present other than these weekly arrival 18 files. My task : i need a... (7 Replies)
Discussion started by: karmegam
7 Replies

2. UNIX for Dummies Questions & Answers

[Solved] Need help to copy files to another server

Hi all, I need a shell script to compress and transfer only last modified(new) file from one linux server to another linux sever. the files i need to backup are 2 files .txt & .log which will be created in the same folder for every 3-4hrs and this script need to run once in 24hrs. so only... (5 Replies)
Discussion started by: basszzz
5 Replies

3. Shell Programming and Scripting

Shell script to copy a file from one server to anther server and execute the binary

Hi , Is there any script to copy a files (weblogic bianary + silent.xml ) from one server (linux) to another servers and then execute the copy file. We want to copy a file on multiple servers and run the installation. Thanks (1 Reply)
Discussion started by: Nawrajesh
1 Replies

4. Shell Programming and Scripting

Copy files from Linux server to Windows server

Hi All, I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers. So i am looking for a script to transfer the file automatically from Linux server to Windows server? Please advise. Thanks... (3 Replies)
Discussion started by: arunmanas
3 Replies

5. Shell Programming and Scripting

Copy folder and files from unix server to linux server

We would be migrating unix solaries to Linux redhat. Basically source is unix and target is linux. i would like to copy entire file system unix/source/* to target linux/souce/* but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies

6. UNIX for Advanced & Expert Users

Copy files from SVN Server

Hi, We have a SVN server on which the developers upload their source code which is in the form of a .ear file or a folder. We login to the SVN server using our credentials and then go to the directory in which the application is placed and then click on the download link to download the... (6 Replies)
Discussion started by: mohtashims
6 Replies

7. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

8. Shell Programming and Scripting

Copy latest files from another server

Hi, I wanted to copy monthly generated csv file(s)( of latest date) at one server to my current server. So I wrote the following script, but does not work. The script is invoked on my current server Can you please help? !/bin/ksh #. /apps/comp/ cd /apps/di/dev/import/paper ssh hpqad02... (3 Replies)
Discussion started by: Alok Ranjan
3 Replies

9. UNIX for Dummies Questions & Answers

Copy files from remote server

Hi Friends, Could you please help me as per my requirement mentioned below ? I have to copy files from one unix server to another unix server, and the files that i need to copy from the remote server are only those which are modified/created Today from abc directory on the remote server (1 Reply)
Discussion started by: ramask
1 Replies

10. Shell Programming and Scripting

copy files from remote server (B) to target server (A)?

Hi All, what is the comand to log off the remote server? I have 2 servers A, B. I need to find all files older than 7 days on server B and copy over to server A. My logic is: login the remote server: ================= ssh hostB cd /data/test find . -mtime -7 -ls | awk '{print... (4 Replies)
Discussion started by: Beginer0705
4 Replies
Login or Register to Ask a Question