Copying data from one file server to another


 
Thread Tools Search this Thread
Operating Systems Solaris Copying data from one file server to another
# 1  
Old 05-21-2013
Copying data from one file server to another

Hello people,

I have a question regarding transferring data from one file server to another.
The server is a Solaris 9 box
The old file server is connected via Ethernet cable, and the new file server we are switching is a Fiber channel.
can I use the

Code:
dd if=server:/app1 of=server2:/app1

and then on the server I just change the mount points and edit the entry in the /etc/mnttab and share it in the /etc/dfs/dfstab file?

Sounds easy right? Any comments and advice is appreciated.
# 2  
Old 05-21-2013
Not sure if I understand, But if you just want to copy file(s), why not just use the scp or rsync.
This User Gave Thanks to spacebar For This Post:
# 3  
Old 05-21-2013
Nice I never thought about SCP.

So all I have to do now is use scp to copy from host to host.

Code:
scp host1:/path/* /local_path/

And add entries on the application accordingly so that the information will be backed up in the new server right?
The old file server is going to be disposed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to preserve time stamp while copying a directory from Server B to Server A?

Experts, Please help me out here. How to preserve time stamp while copying a directory from Server B to Server A (3 Replies)
Discussion started by: ahmed.vaghar
3 Replies

2. Shell Programming and Scripting

Copying a file with UTF char on UNIX server

Hi, I need to run a SQL which check for special UTF char in DB. When I try to copy that in UNIX file it changes it to some wierd chat. How can in retain the UTF chars in my script? e.g. ο|π|ρ|σ|τ|υ|φ|χ|ψ Any help will be appriciated. Thanks, (14 Replies)
Discussion started by: varun22486
14 Replies

3. 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

4. UNIX for Dummies Questions & Answers

Copying part of a data file into another

Hi, I have a large number of data files each containing simple integers from 1 to around 25000 in ascending order. However, they are not in a specific progression; some numbers are missing in each file. For ex. datfile1 may have the numbers in order 1 2 4 6 7 8 12 ... 24996 24999 while datfile2... (8 Replies)
Discussion started by: latsyrc
8 Replies

5. Programming

Doubt in C programming (copying data from one file to another)

Hello, i'm new to the forum and so am i to C programming. Recently i've gotten a task to create a program that will read an existing .bin file and copy the data to a non existing (so i have to create it) .txt file (some type of conversion) Now, i now how to put the arguments, opening and... (5 Replies)
Discussion started by: Lyric
5 Replies

6. UNIX for Dummies Questions & Answers

Copying a file from one server to another (behind firewall.)

Hi, I want to copy a file from one server A to another server B. Usually I use scp username@source-server:/path . (from the destination folder) However, in this particular case, I have server C behind a firewall. So, I connect to Server B and ssh over to server C. --this is the source... (3 Replies)
Discussion started by: neil.k
3 Replies

7. UNIX for Dummies Questions & Answers

Copying dir (and sub dir) file names from ftp server to txt file in diff server

Hey all, i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file. any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
1 Replies

8. Shell Programming and Scripting

Copying data from excel file

Hii friends, I am a newbie to unix/shell scripting and got stuck in implementing a functionality.Dear experts,kindly spare some time to bring me out of dark pit :confused:.. My requirement is somewhat wierd,let me explain what i have and what i need to do... 1) there are several excel... (1 Reply)
Discussion started by: 5ahen
1 Replies

9. UNIX for Dummies Questions & Answers

script copying the directory (or file) from server to my pc

Hello, I'm trying to create the shell script that: copy (or transfer) the directory from the unix server to my external hard drive (or hard drive) I've been serching this kind of thread here, but no luck so far. anyone can help me? Thank you. (2 Replies)
Discussion started by: myjwjw
2 Replies

10. UNIX for Advanced & Expert Users

Copying a file from Solaris to Windows 2003 server

Hello, I am really new to solaris and I want to know the easiest way to copy a file from a solaris server to an Iomega NAS running windows 2003 server. Can I map the drive on the windows box so the solaris server can see it. Any advice would be appreciated. (1 Reply)
Discussion started by: akula81
1 Replies
Login or Register to Ask a Question