Copying/Restoring UNIX O/S


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Copying/Restoring UNIX O/S
# 1  
Old 10-01-2015
Copying/Restoring UNIX O/S

can someone shed just a little light in the broadest sense, not actual commands, on what is involved in copying a UNIX install from one HD to another, or if that is even possible

Can I use DOS as a frame of reference or is that at all relevant? With DOS (and early Windows versions) You could copy all the o/s files from one disk to another, but the second disk would not boot unless you did the:
sys [drive letter:] command to move the correct system files to the boot sector of the target storage device.

If I simply copied all files from one Unix HD to another HD, I am guessing the second HD would not boot the first machine? Is it possible to copy UNIX to the second HD and make the second HD boot the first machine?

Again, not looking for step by step instructions, just wanting to understand what has to happen in general.

I know there are some license issues, but I am licensed to use the product and all I want to do is backup the Unix install and understand what I am doing instead of just typing a bunch of commands.
# 2  
Old 10-01-2015
A bootable disk contains an OS-specific boot code. It is not a regular file.
Also there is partitioning information on the disk, and this is not a regular file either.
The frame where files are stored in is called a filesystem. Microsoft DOS only understands FAT filesystem, Windows understands FAT and NTFS filesystem. But SCO-Unix certainly uses a different file system. Linux understands many filesystem types, maybe the one from SCO-Unix.
You all-files backup will miss the boot code, the partitioning information, the filesystem.
--
The BIOS on an X86 PC requires the disk to have an MBR, master boot record. This can contain the boot code, or contains code to find another boot code block (that in turn can find another boot code).
My knowledge ends here. Look at Wikipedia. Hope that other guys here know more...
# 3  
Old 10-01-2015
It has been a while but IIRC I used
Code:
dd

as drive duplicator in an earlier version. Pulled the old drive out, put the newly created drive in its place, and it came up running.

Also used ghost on one long ago. Suspect that acronis would do the same.
# 4  
Old 10-02-2015
you could also tar+gz (almost) everything and restore it later (using some LiveUSB for eg), but as pointed out, you'd need to create partitions, boot and filesystems manually.
advantage over dd is: backup takes less space and it defrags on unpacking.
disadvantage: more complicated, might take more time.
# 5  
Old 10-02-2015
If you think that you are likely to want to do this on any kind of regular basis, I would suggest that Clonezilla is an excellent tool. However in some cases it will require that the system is taken out of production to allow the clone.

Works at a full disk level, partition level or even a file system level - from experience it works on almost all X86 systems and all the combinations of OS.

Regards

Dave
This User Gave Thanks to gull04 For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Copying the file from UNIX box to other

Hi Folks , I have two different unix boxes named lonrs2345 and lonrs2367 now i want to copy a file from lonrs2345 to lonrs2367 , now below is the location of file which i want to copy lonrs2345 :- /opt/app/fgty/abc.xml lonrs2367 :- /opt/app/fgty/ Now as you can see above i want to... (2 Replies)
Discussion started by: n4noida
2 Replies

2. Shell Programming and Scripting

Problem copying files from windows to unix

Hello, I want some directions for a command inside a shell script which would copy files from some path on my windows os (say my documents) to the path where my shell script is saved and I want it to exit the sftp session and continue executing the remaining lines in my shell script after... (2 Replies)
Discussion started by: Vishwa308
2 Replies

3. UNIX for Dummies Questions & Answers

Copying application directory from one unix box to another

Hi , if I copy an application directory (with all its subdirectories) from one unix box to another (suppose same version), will that application work in the 2nd unix box? (3 Replies)
Discussion started by: me_saby
3 Replies

4. HP-UX

Copying files from one unix to another unix box

Need a clarification .... While copying files from one unix to another unix box . I am working on two / three unix boxes which are all in a network.. in which home directory are mounted ..(I didn't understand what is the exact meaniing of that) So can i copy the files from one box to another... (2 Replies)
Discussion started by: girija
2 Replies

5. Solaris

Information about taking dump of a unix server on a tape and then restoring

Hi all, Can anyone provide me with a site or book that gives detailed information about taking dump of a unix server on a tape and then restoring the server from the dump Also i want information about migration from old server to new server (solaris 5.6 to solaris 8) (3 Replies)
Discussion started by: asalman.qazi
3 Replies

6. UNIX for Dummies Questions & Answers

Restoring back a deleted file in unix.

Hi, Can any one tell me how to restore back the deleted file in unix? I know the file name. If i know the inode number of the file does help more to restore back the file? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies

7. Shell Programming and Scripting

copying from unix to windows

Hi, I am new to shell scripting, I want to copy some imp files from solaris server to windows server in a particular directory,username and password should be inside script and i want to it should copy output of some commands to windows server.first it will copy output of command to file then... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

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

9. UNIX for Dummies Questions & Answers

Copying file from UNIX to Microsoft

I am running Solaris 7. I need to copy a file from unix located in $out to an NT server. Since the only thing I know how to do on the unix box is to turn it on, can someone please help!!!! (3 Replies)
Discussion started by: athpam
3 Replies

10. UNIX for Advanced & Expert Users

copying files from Unix to NT 4.0 Sp5

Hi, Does onyone know of a utility or command that would permit me to copy files from a UNIX environment to Windows NT SP5 environment. (3 Replies)
Discussion started by: regimbaldpj
3 Replies
Login or Register to Ask a Question