Ufsdump and migration


 
Thread Tools Search this Thread
Operating Systems Solaris Ufsdump and migration
# 1  
Old 03-01-2017
Ufsdump and migration

Hi all,

I have a Solaris 10 running on a M4000.
I wanted to migrate it to M10

q1) can I do a ufsdump on / in the m4000 and restore it on the m10 ?

q2) how do we ufsrestore on the naked M10 without any OS being install/running in the 1st place ?

q3) if the answer to the above is no , what is the easiest way to do a server migration (reinstall ?)

Regards,
Noob
# 2  
Old 03-01-2017
You can do a ufsdump of root (/) and restore it to another box by booting from DVD into single-user

Code:
ok> boot cdrom -s

and then accessing the ufsdump from tape or nfs handle or wherever you stored it. Before the restore you can format disk, set slices, mount the empty disk (typically onto /a) and restore the filesystem.

Be aware though that you may well have to tweak a number of things whilst in single-user after the restore such as boot block, /etc/vfstab, system file, and very likely the device nodes for drives, before the system will boot. Then modify the name of the network interface, etc. I've detailed this on a number of threads here in the past so search for it or post back here with your questions.
# 3  
Old 03-01-2017
If the model is not the same (M5000 ~= M4000 but M10 != M4000 I think) then you must install the OS first, and then transfer the other(!) parts with ufsdump (or with tar or with find+cpio).
# 4  
Old 03-11-2017
All the drivers that were installed for the M4000 will complicate things on the M10. I would recommend you do a rebuild on the M10 rather than a restore.
# 5  
Old 03-11-2017
Hi,

I'd definitely agree with what others have said here for sure. In my own experience of server migrations, you want to have a clean install of everything on the new server (the OS and all needed applications), then after it's all up and running you deal with copying across content and configuration files from the old server.

Now if you were going from one server to another that was absolutely 100% identical in every single way then maybe you could get away with just transferring the whole filesystem across, but even then, I'd personally always be a bit concerned about doing things that way these days.
# 6  
Old 03-13-2017
When it comes to cloning / DR / bare metal type activities, I always suggest Linux, AIX and Solaris Backup and System Recovery Software as a good place to start. Costs depend on your setup, but you can have a play with the demo to see how you like the tools. It allows for network and disk layout changes in the restore step so you can correct poor practice (e.g. one huge root filesystem) and clone, safe in the knowledge that you can avoid IP conflicts the first time it boots. You can clone to & from physical or virtual servers as required. You can choose to include the application & data or not, but if you rely on a 3rd party backup tool for these, make sure it is part of the root volume group you clone.

It should also cope with hardware architecture changes, but I haven't tested that part of it for Solaris because I didn't have dissimilar hardware available to try it on.

Other commercial providers include Cristie Software which can do a whole server (including data) in one go, but in my experience is not quite as flexible.

There too and free tools too. Consider clone cd linux free download - SourceForge and Awesome Open Source Cloning Software too.


I hope that this helps,
Robin
This User Gave Thanks to rbatte1 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Server migration - using ufsdump

hi all, i am refreshing my hardware, but i do not want to do a clean installation/reinstallation. I am wondering if i could do - do a ufsdump of the / partition (into a file on a nfs share) - bootup using cdrom in the new machine - mount the boot device/slice, and restore the ufsdump on... (7 Replies)
Discussion started by: javanoob
7 Replies

2. AIX

AIX - FC Switch migration, SAN Migration question!

I'm New to AIX / VIOS We're doing a FC switch cutover on an ibm device, connected via SAN. How do I tell if one path to my remote disk is lost? (aix lvm) How do I tell when my link is down on my HBA port? Appreciate your help, very much! (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies

3. Solaris

Ufsdump Solaris 11

Hello, i have a solaris 11 sparc64 and Im trying to do a backup to tape. This is the display: # ufsdump 0uf /dev/rmt/0cbn /dev/rdsk/c2t0d0s2 DUMP: Date of this level 0 dump: February 27, 2013 01:58:23 PM CET DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c2t0d0s2 to... (2 Replies)
Discussion started by: Ferch13
2 Replies

4. Solaris

ufsdump

Experts, Before patching am advised to take backup : so am going with: ufsdump -0uf /dev/rmt0 / ---> to take the whole / bkp to tape. some servers have /var in diff slice, In this case whether i need to take backup of /var also in tape? ufsdump -ouf /dev/rmt0 /var ---> to take... (3 Replies)
Discussion started by: fizan
3 Replies

5. Solaris

ufsdump a dir?

Is there a way to backup a single directory with ufsdump, or is tar better for that? (1 Reply)
Discussion started by: orange47
1 Replies

6. Solaris

Problem with ufsdump

Hi All Please help I am trying to dump /var to other disk with below command # ufsdump 0uf /backup /var and i am getting below error DUMP: NEEDS ATTENTION: Cannot open 'sun1/dump' . Do you want to retry the open? ( "Yes" or "No" ) and it's not moving ahead. What am i am... (6 Replies)
Discussion started by: kumarmani
6 Replies

7. UNIX for Dummies Questions & Answers

Ufsdump

Hi, I have 5 soraris boxes and i am trying to backup all to SAN.Which backup is more suitable tar or ufsdump? Also pls mention what are the important folders i need to back up. Thanks (3 Replies)
Discussion started by: solaris5.10
3 Replies

8. Solaris

ufsdump

Hi, I want to how to take backup of File system From Disk to Disk using ufsdump? Wheather we can take the backup of root file system from one disk to another if tape drive is not available? wheather it is reliable to restore root file system? (2 Replies)
Discussion started by: manoj.solaris
2 Replies

9. UNIX for Dummies Questions & Answers

ufsdump

hi i would like to backup my OS what is the exact command to do? beside backup to tapes can i back up to a directory in another server? will the command be the same? thanks. :confused: (4 Replies)
Discussion started by: legato
4 Replies

10. UNIX for Dummies Questions & Answers

Ufsdump

I want to try using Ufsdump for backups . The man pages state that the file systems should be inactive or be in the unmounted state . But for that system should be in single User mode. My query is that can we perform Ufsdump in run-level 3 ? And if no should I have to reboot it in Single user... (3 Replies)
Discussion started by: DPAI
3 Replies
Login or Register to Ask a Question