Copying files from one server to another


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Copying files from one server to another
# 1  
Old 12-12-2011
Error Copying files from one server to another

I need to copy huge set of data(files & floder) from one server to other.
Can any one guide me.I have tried throught ftp mget but it is vain...floder are not moving......

Do suggest me any good method
# 2  
Old 12-12-2011
What about scp -r?
# 3  
Old 12-12-2011
sorry how to use that cmd?
# 4  
Old 12-12-2011
If you just type the command in and press enter, it shows a short help. On Unix/Linux systems there is often the man command to display a help. You can also search this forum or Google for "ssh scp passwordless". If you don't have it installed, you should do that; it is part of the ssh package. The other host needs it of course too.
# 5  
Old 12-12-2011
Please mention the Operating System and version of both computers and give us some idea of the comms available between the two computers.

How big is "huge"?
How many files?
How many directories?
Do you have "rcp" or "scp" working?

Beware that preserving file permissions, file ownership and file timestamps may be hard work. Is this important?

Do you have enough spare disc space on both computers to hold an archive of the files you want to copy?

Lateral thought:
Do you have a backup device and matching software which is common to both computers?
# 6  
Old 12-13-2011
Quote:
Originally Posted by methyl
Please mention the Operating System and version of both computers and give us some idea of the comms available between the two computers.
loaded server:SunOS 5.8 Generi
target server:SunOS 5.10 Generic

How big is "huge"?
IT IS 10GB

How many files?
THERE MANY FILES

How many directories?
THEY ARE HUGE

Do you have "rcp" or "scp" working?
SCP IS NOT THERE I GUESS. WHEN I GIVE "MAN SCP" it is showing nothing

Beware that preserving file permissions, file ownership and file timestamps may be hard work. Is this important?

NOT WORRIED ABOUT FILE PERMISSIONS

Do you have enough spare disc space on both computers to hold an archive of the files you want to copy?

YA, WE HAVE ENOUGH SPACE IN THAT SERVER

Lateral thought:
Do you have a backup device and matching software which is common to both computers?
# 7  
Old 12-13-2011
Are your (sub?) directories on a same file system do you have more than one filesystem mounted under that directory structure?
Q: What is a floder?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copying files to remote server

I am trying to copy code to remote server, doing something like this However it is copying one file and than the script exits i=0; j=0 while read fn; do dir=${fn%/*} # Gets directory path fnm=${fn##*/} # Gets filename excl. path rgx_nwk="s/${nwk}/${nwk}.sac/g" ... (2 Replies)
Discussion started by: kristinu
2 Replies

2. Shell Programming and Scripting

Copying the files to Windows server from UNIX server

Hi Team, I had a requirement to write a shell script which automatically transfer the files from unix server to windows server. I can able to unix to unix using Scp command. I am not sure how to do unix to windows. I am very new on this concept. Could you please help me or guide in... (4 Replies)
Discussion started by: gvkumar25
4 Replies

3. Shell Programming and Scripting

Copying files from one server to another server?

Hi all, In Server1, one directory contains files now. In this directory, based on some operations, daily some files will generate and store regularly. Now i want to copy the files to Server2 through SFTP/FTP command on daily based on the previous day present data(i.e based on the latest file... (1 Reply)
Discussion started by: venkat6134
1 Replies

4. UNIX for Dummies Questions & Answers

Copying files from Unix Server to Local

How do i copy files from Unix Server to my Local Desktop.. ANy ideas..please suggest....V Urgent. (1 Reply)
Discussion started by: win4luv
1 Replies

5. UNIX for Dummies Questions & Answers

Copying files from different server

Is there any option to copy files from a different server other than using an SCP command??? thanks,:b: Arun manas (2 Replies)
Discussion started by: arunmanas
2 Replies

6. Shell Programming and Scripting

Copying files from one server to other.

Any one advice here- need to copy some files from one server to other server thru shell programming. (8 Replies)
Discussion started by: samkhu
8 Replies

7. Shell Programming and Scripting

script for Copying files from one server to another using scp

Hi Scripting experts, I am new to the unix scripting. Please help me out for solving the condition given below I am trying to develop a script for Copying files which are getting generated in server A to server B using scp. In serverA files are generating as for eg abc1.txt, abc2.txt,... (5 Replies)
Discussion started by: rohithji
5 Replies

8. UNIX for Dummies Questions & Answers

Copying a list of files from one 'server' to another?

I have two servers. I would like to copy some files from one directory on server A into the same directory on server B. Its not all the files in in the directory, just some of them. Is there a way to make a file list in a txt file and then somehow copy all the files in that list in one go to... (6 Replies)
Discussion started by: Sepia
6 Replies

9. Shell Programming and Scripting

copying files from one server to another server

Hi, I want to transfer files from one linux server to another linux server using shell script using sftp. But I dont won't that while connecting one server to another server it will ask for password , it should be part of script. I wont to know how password should be included in the... (4 Replies)
Discussion started by: manoj.solaris
4 Replies

10. UNIX for Advanced & Expert Users

Copying files between 2 Unix server

Is there a simple way to copy data from one server to a different server? Seems that if 2 servers are on the same network, there should be a simple way to copy between the two. Not just one file. I need to copy a whole directory with subdirectories from one server to a different one. I... (9 Replies)
Discussion started by: Docboyeee
9 Replies
Login or Register to Ask a Question