Backup / restore


 
Thread Tools Search this Thread
Operating Systems Solaris Backup / restore
# 1  
Old 07-27-2005
Backup / restore

Hi.... everyone could help me to understand how to do a backup of my servers .. operating systems is sun solaris 8 .
I have some question about ....

1) Is better backup phisical disk or partition ???
i sow the command is ufsdump 0cfu /expbck/bcksunver/c0t0d0s5 dev/dsk/c0t0d0s5 to backup single partition is correct ?
2) How i can determinate the logical partition on the disk which is the command to display it ?
3) if i have problem with the disk how i can restore the backup of the partition or of the phisical disk ?

Tnks in advance Smilie
# 2  
Old 07-27-2005
There is no such thing as a logical and physical partitions in Solaris. I think you may mean partitions and volumes. In that case, remember that volume management systems store volume/disk group specific data in private regions of the disk and spreads copies of it accross disks for redundancy. It is important to backup your volume configuration data and your system/applicaiton data. If you are not runing a volume manager then you can just rely on ufsdump.

If you lose your vol config data (pretty hard since it is spread across multiple disks), you will not be able to recreate your volumes on a replacement disk and you will have to recite thrm from memory.

Question 2: Commands differ with different vol managers VXvm uses vxprint Disk Suite uses metastat.

Q3: read up on ufsrestore
# 3  
Old 07-27-2005
I think 'logical partition' was intended to mean mount point.

to find out where a disk is mounted you can use this:
Code:
df -k | awk '/^\/dev/ {print $1" is mounted on "$NF}'

# 4  
Old 08-01-2005
tnk!!!

I'am sorry but i'am not expert could you help me plse ?????

i must back this system it is correct the following ???

command df : result

nifsunwrk:/export/home/netdemo> df
/ (/dev/dsk/c1t0d0s0 ): 222268 blocks 378150 files
/proc (/proc ): 0 blocks 29949 files
/dev/fd (fd ): 0 blocks 0 files
/etc/mnttab (mnttab ): 0 blocks 0 files
/var/run (swap ):13709216 blocks 888212 files
/tmp (swap ):13709216 blocks 888212 files
/nif (/dev/md/dsk/d3 ):18467950 blocks 2920674 files
/opt (/dev/dsk/c1t0d0s4 ): 4666888 blocks 559042 files
/usr/local (/dev/md/dsk/d0 ): 5008048 blocks 604001 files
/export/home (/dev/md/dsk/d1 ): 3173910 blocks 636026 files
/export/home/netdemo(/dev/md/dsk/d6 ):36032940 blocks 4210866 files
/usr/local/repository(/dev/md/dsk/d2 ): 1079510 blocks 2177913 files
/nica/nif/data/arclogs(/dev/md/dsk/d5 ): 8883238 blocks 640643 files
/nica/nif/nifw/debug(/dev/md/dsk/d4 ):10304804 blocks 641998 files
/export/home/netdemo/source(nifxwrk:/u/netdemo): 281032 blocks 172973 files
/export/home/netdemo/aixver(nifxver:/home/neticon/last): 1067040 blocks 822287 files
/export/home/netdemo/aixv55(nifxver:/home/neticon/v55/last): 417824 blocks 821554 files

to backup the entire system i lunch the command :

ufsdump 0cfu /expbck/bcksunver/c1t0d0s0 /dev/rdsk/c0t0d0s0
ufsdump 0cfu /expbck/bcksunver/d3 /dev/rdsk/d3
ufsdump 0cfu /expbck/bcksunver/c1t0d0s4 /dev/rdsk/c1t0d0s4
ufsdump 0cfu /expbck/bcksunver/d0 /dev/rdsk/d0
ufsdump 0cfu /expbck/bcksunver/d1 /dev/rdsk/d1
ufsdump 0cfu /expbck/bcksunver/d6 /dev/rdsk/d6
ufsdump 0cfu /expbck/bcksunver/d2 /dev/rdsk/d2
ufsdump 0cfu /expbck/bcksunver/d5 /dev/rdsk/d5
ufsdump 0cfu /expbck/bcksunver/d4 /dev/rdsk/d4

is correct ??? i'am sure that a have the complete system backup ???
if my system crash i have an a valid backup to restore the environment ???

tnk.....

Sorry for my bad english :-(((((
# 5  
Old 01-22-2006
Post a listing of your /etc/vfstab file
Then only it can be verified correctly
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Backup and restore query

I have some old directories and files that I which to archive off. I have created archive using -p option with /usr/sbin/backup to a file. If I then do a du -g on the original directory and the archive differ as I'd expect due to using the p flag to compress the files < 2gb as part of the backup. ... (1 Reply)
Discussion started by: gefa
1 Replies

2. Red Hat

Backup / Restore

Hi, I need to back up a RH file system (96G). The files are oracle .dbf format some of which are 5G in size. I know that tar has got a size restriction of 2G so I cannot use this. Can anyone recommend an alternative way of backuping up this FS? I have been looking at dump but this... (6 Replies)
Discussion started by: Duffs22
6 Replies

3. Solaris

Zpool backup and restore

hi, my requirement goes something like this: In current setup, we have SPARC server running Solaris10 5/08. Out of 3 HDD available, 2 HDD (other than root) were zpool-ed and 3 zones were created. Now, we have bought a new server with similar H/W config and planning to move the zones... (1 Reply)
Discussion started by: EmbedUX
1 Replies

4. AIX

Backup and restore

Hi experts, i got a question. i have a production server with two Volume Group(VG) which are rootvg and datavg. Both of these VGs are 256 PP SIZE. On Disaster Recovery Server (DR server) contains two empty hardisks for restoring rootvg and datavg from production server. This two hardisks are... (7 Replies)
Discussion started by: polar
7 Replies

5. Shell Programming and Scripting

Backup and restore in unix

Hello everybody, i am trying to make a script in UNIX to backup some compressed files to a tape drive. The thing is that i cannot use cpio command because some of these files are greater than 2GB. so i think the only solution left is backup command. to restore the files i should use the... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

6. Shell Programming and Scripting

Backup/restore scripts

hi people i am in need of some assistance here hoping to star a linux course in january to wanted to get some experiance before starting so got a hold of some old assessments from a mate at college so just working through them in my spare time for the past 8 weeks or so and this is the final ? that... (2 Replies)
Discussion started by: boabbyrab
2 Replies

7. AIX

How to restore from mksysb backup

system is not booting ... i want to restore from mksysb backup. (2 Replies)
Discussion started by: AIXlearner
2 Replies

8. HP-UX

F-Backup restore

Hello! i have a blank harddrive and a complete tape backup of the workstation. the backup is made with F-Backup. Now my question is: how can i restore my workstation? thanks for every idea! paul tittel hup-si (3 Replies)
Discussion started by: paultittel
3 Replies

9. AIX

Backup and restore

I have several H80 machines, all with AIX 4.3.3. On these machines I have mksysb running for rootvg backups and savevg for non-rootvg backups. I'm trying to get a list of files on the tapes, but I can't seem to do it with tar for the mksysb images. I keep getting the directory checksum errors?... (3 Replies)
Discussion started by: uXion
3 Replies

10. UNIX for Dummies Questions & Answers

Cannot restore a TAR backup

I backed up a unix database using "tar -cvf /dev/rmt1 -N 800 /*" Normally I would restore this using "tar -xvf /dev/rmt1 -N 800" This is reporting an error about "not enough memory" I have done a new test backup and restore using the same commands and they work. ANY IDEAS ? (2 Replies)
Discussion started by: Ross.Goodman
2 Replies
Login or Register to Ask a Question