On Tue, 16 Aug 2005, Polachak, Jason M CTR NAVSEA wrote:

All,
I currently have a system that is going to be moved onto some new hardware. The system is currently running solaris 7 on a sparc station 10. It will then be moved onto an Ultra 10 workstation still running solaris 7. My question is how do I backup the entire system so that I can restore it on the new ultra 10. My guess was to use cpio. However I am fairly new to solaris. How would I do this? Also will the cpio arhive then work on different architechture? My best guess is to back the whole system up is to do. find . | cpio -H odc -ov /destination/path However if that creates the backup archive how do you apply it to the new system?

You can use either tar/cpio/pax to do mostly the same thing, or ufsdump to do something similar. I usually use tar, for which the command to create an archive would be:
  cd /path/to/stuff/to/backup && tar -cf /path/to/backup.tar .
and to restore is
  cd /path/to/restore/to && tar -xpf /path/to/backup.tar

Tar/cpio/pax archives can usually be moved across hw and os platforms, though not all data may be restored in some cases (e.g. metadata or > 8.3 filenames on msdos fs).

Be careful what all you restore. You do not want to write over certain files in /etc /dev /kernel and other places, even though you are going from 7 to 7 on Sparc architecture. Writing over some of these files (like /etc/path_to_inst) may result in a server that does not boot. Best is to keep data and customizations separate from the base OS so you know what else you have to install after such a change, and to track what config files you have customized in the base system.

Good luck,

-f
http://www.blackant.net/



Your help is greatly appreciated,
Jason

_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to