ufsdump


 
Thread Tools Search this Thread
Operating Systems Solaris ufsdump
# 1  
Old 10-18-2011
ufsdump

Experts,

Before patching am advised to take backup :

so am going with:
Code:
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 /var as sep slice bkp to tape.

Kinldy help.

Last edited by Scott; 10-18-2011 at 05:27 AM.. Reason: Added code tags
# 2  
Old 10-18-2011
I don't think you would need to do var separately if its mounted in /

but I believe that's not the way ufsdump work at all. it takes devices as input, not directories.
so instead of / you need something like /dev/rdsk/C0t3d0s0

(and yes, in that case you'd need to dump /var separately but using its 'slice name')
This User Gave Thanks to orange47 For This Post:
# 3  
Old 10-18-2011
If our entire os image resides on silce0 then follow :

ufsdump -0uf /dev/rmt0 /dev/rdsk/C0t3d0s0 --> back up whole root fs ?

If our /var resides on separate slice then follow:

ufsdump -ouf /dev/rmt0 /dev/rdsk/C0t3d0s6 ---> back up /var slice ?

Now is it correct orange ?

Thanks
# 4  
Old 10-18-2011
I think so. but, honestly, I never used ufsdump. so better wait for confirmation from someone more experienced.

also, think you need to unmount the slices that are being copied. so you might need booting from liveCD or similar.

another option is to pull out the hard drive and backup the entire drive with dd.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

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... (5 Replies)
Discussion started by: javanoob
5 Replies

2. UNIX for Dummies Questions & Answers

How to do a ufsdump remote?

People i have 2 sun sparc solaris 10. I have one filesystem to 98% and i need to do a ufsdump of that filesystem. THe problem is that i don't have space to allocate the dump of the filesystem. Thats why i want to do it from the other sun and bring the ufs dump to de /FREE filesystem. ... (4 Replies)
Discussion started by: enkei17
4 Replies

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

4. Solaris

Using ufsdump and ufsrestore

HI Gurus, I have a sunfire V445 server running SAP ECC 6.0 with an Oracle database on Solaris 9 (SunOS 5.9). I recently completed a ufsdump to tape of the following files:- /, /usr, /oracle, /export, /sapr3, I want to restore these files from tape onto a different server of the same... (5 Replies)
Discussion started by: charleywasharo
5 Replies

5. UNIX for Advanced & Expert Users

ufsdump and restore

I just completed a level 0 ufsdump of the following files:- ufsdump 0uf /dev/rmt/0n / ufsdump 0uf /dev/rmt/0n /usr ufsdump 0uf /dev/rmt/0n /export/home ufsdump 0uf /dev/rmt/0n /oracle ufsdump 0uf /dev/rmt/0n /sapr3 I need to restore ALL the files onto a different machine and continue... (1 Reply)
Discussion started by: charleywasharo
1 Replies

6. UNIX for Dummies Questions & Answers

ufsdump issue

I ran this dump (as root) and got the following............. # ufsdump 0f /dev/rmt/0n / DUMP: Writing 32 Kilobyte records DUMP: Date of this level 0 dump: Tue 11 Dec 2007 06:07:35 AM PST DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c2t1d0s0 (gambler:/) to... (1 Reply)
Discussion started by: shorty
1 Replies

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

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

9. UNIX for Dummies Questions & Answers

netinstall with ufsdump

Hello all, I was wondering is it possible to install Solaris over the network whit jumpstart and just ufsretore a dump file? The clinet's disk would totally be empty. I know that I can use the rules files, would I put the command to uferestore from the server in the pre install rules file. I... (0 Replies)
Discussion started by: larryase
0 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