Copying data from one file server to another


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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  
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  
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 Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Copying part of a data file into another
latsyrc
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...... UNIX for Dummies Questions & Answers
8
UNIX for Dummies Questions & Answers
Doubt in C programming (copying data from one file to another)
Lyric
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...... Programming
5
Programming
Copying a file from one server to another (behind firewall.)
neil.k
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...... UNIX for Dummies Questions & Answers
3
UNIX for Dummies Questions & Answers
Copying dir (and sub dir) file names from ftp server to txt file in diff server
deking
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... UNIX for Dummies Questions & Answers
1
UNIX for Dummies Questions & Answers
Copying data from excel file
5ahen
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...... Shell Programming and Scripting
1
Shell Programming and Scripting