need small information iun ufsdump


 
Thread Tools Search this Thread
Operating Systems Solaris need small information iun ufsdump
# 8  
Old 07-19-2009
Quote:
Originally Posted by jlliagre
If you like taking risks, yes.
I have done it many times, have never had any issue. Maybe I'm lucky Smilie
Quote:
Not the same result. A backup made of a mounted and read-write filesystem might be worthless.
my practises don't show any difference exept that exceptions mentioned on my previous post.
# 9  
Old 07-19-2009
The issue is not that much files created in backup time are not included but about overall consistency. Files can be removed, renamed or have their content modified during the backup. Unpredictable behavior may result with a system restored from such a backup.
# 10  
Old 07-20-2009
hi all;
if i want to take full image from my hard disk and restore it again to another hard disk
what is the step to do that
this is my hard disk
/dev/dsk/c1d0s0 mount /
/dev/dsk/c1d0s1 mount swap
/dev/dsk/c1d0s7 mount /export/hoem

Last edited by hosney00ux; 07-20-2009 at 06:23 AM..
# 11  
Old 07-20-2009
there is more then one solution for this...

1. boot your system from a cd/dvd and use "ufsdump/ufsrestore"
2. create a flasharchive from your system (read "man flarcreate")
3. create a software mirror of your disk with slvm
4. you can also use "liveupgrade" to make a full copy of your existing disk

the solution you should choose depends on your requirements! (system can/can't have downtime; the new disk is/isn't in the same machine; ...)
# 12  
Old 07-20-2009
Quote:
Originally Posted by hosney00ux
hi all;
if i want to full image from my hard disk and restore it again to another hard disk
what is the step to do that
this is my hard disk
/dev/dsk/c1d0s0 mount /
/dev/dsk/c1d0s1 mount swap
/dev/dsk/c1d0s7 mount /export/hoem
1. #format (check availability of HDD in system)

2. #prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/cxtxdxs2 (if they are in same size)
3. #newfs /dev/rdsk/cxtxdxs0 (setting up File system)
4. #mount /dev/dsk/cxtxdxs0 /mnt (mount corresponding sliice on which copying will accomplished)
5. #ufsdump 0f - /dev/rdsk/c1t0d0s0 | (cd /mnt && ufsrestore rf - )
6. #umount /mnt
Steps 3-6 will be repeated for each slice
7. # installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/cxtxdxs0

of course this is only one way u can do that. as DukeNuke2 said it depends on your requirements

thats all .. enjoy Smilie)

good luck
# 13  
Old 07-20-2009
very thanks for your effort helping me in this backup solution
# 14  
Old 07-20-2009
The ufsdump man page very clearly tells you not to do a dump against a read/write mounted file system.
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. 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

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

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

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

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

7. Solaris

dd vs. ufsdump / restore

I want to clone a disk, i have not done this yet, i think dd and ufsdump | ufsrestore are the most common two options i see documented on the internet. Which one is better? pro's & kons? Tnx! (3 Replies)
Discussion started by: BG_JrAdmin
3 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