Visit Our UNIX and Linux User Community


backup the whole system to a usb disk.


 
Thread Tools Search this Thread
Operating Systems Solaris backup the whole system to a usb disk.
# 1  
Old 05-07-2012
backup the whole system to a usb disk.

Hi dears, im working with a sun sparc server(M4000) , solaris 10 installed.
I need a little help, because i wanna know if is it possible to backup the whole system in a usb disk.
Im gonna explain you a little more why i want to do it.
Currently i have installed a Solaris 10 working with veritas, sybase and a propietary software. I have to change the propietary software to make some test. For that i have to reinstall Solaris, sybase, and veritas, reconfigure the system and install the propietary software.
The problem is, that i have to make the test and recover the current configuration. For that i want to backup all the information to a usb disk (500g), and when i finish testing, could copy all the information again.
In windows i would do it using the ghost program and making a snapshot of the whole disk. But here with spark and solaris i dont know what is the best way to do it.
The stuff is: backup the server now, can delete the solaris and install another things, when i finish testing could recover my server in the current status that has today.

Thanks in advance.
# 2  
Old 05-07-2012
Could you provide more detail like:


Do you use SVM for OS filesystems and Veritas for app, or all Veritas FS?

How many disks do you have?

Are you using any type of RAID.

Do you use Veritas for OS and Application?

Do you use SVM?

Can you post a mount -p

What you try to achieve is not as simple as you would with "ghost" for Windows.

Don't you have a spare disk to do the testing?
This User Gave Thanks to juan.brein For This Post:
# 3  
Old 05-07-2012
Hi Juan thanks for your answer.
I dont have a RAID.
The server has two disk working together (it was automatically configured).
I think veritas only reply the database. But now, the other server (the stanby is down).
I dont know what is SVM.

Now im going to the place where i have the server to get the logs. (mount -p)

Do you need any other log? (SVM, Veritas configuration, disk configuration). Please send me a detail.

Thanks!
# 4  
Old 05-07-2012
SVM is Solaris Volume Manager. It's basically the Volume Manager Solution provided by Oracle, it can do some of the things Veritas can do. Veritas is way more powerful reliable and expensive :-)

What you are trying to achieve is not rocket science, but be aware that you could face some problems that will require additional knowledge like boot process troubleshooting
and Veritas Volume.

If this is your only production box I definitely wouldn't rely on a USB backup.

That said, it would be nice to know the solaris version () the filesystem structure (mount -p).

Do you have a Solaris Installation CD? Does the box has a CD/DVD drive? Have you tried to boot from the CD/DVD?
This User Gave Thanks to juan.brein For This Post:
# 5  
Old 05-07-2012
I have Symantec Veritas. I have solaris installation cd, i can send you the realease i have when i get the information.
Im gonna get: Solaris version (uname -X), df -k, mount -p, and some veritas information (hastatus etc). Is it ok?, do you need some other information to guide me?. Which tool i can use, i saw something like flarcreate, ufsdum, or vxdump, and i see some command like dd ....... What do you have in mind?

THanks in advance:!

Last edited by botella; 05-07-2012 at 04:17 PM..
# 6  
Old 05-07-2012
it depends on the configuration...

if you have raw slices for the OS, then ufsdump is the best.

If you have Veritas Filesystem for the database then it could be possible to clone the veritas filesystems, umount the original filesystems, mount the cloned filesystems, and when you roll back just mount back the old filesystems. but depends obviously if you have available space.
If not vxdump would do the job if you have vxfs over veritas volume manager, if you have ufs over veritas volume manager then we can use ufsdump as well...

Feel free to IM me, I sent the details by PM.

cheers

Juan

Previous Thread | Next Thread
Test Your Knowledge in Computers #941
Difficulty: Medium
A ping of death is a type of attack on a computer system that involves sending a malformed or otherwise malicious ping to a computer.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies

2. Solaris

Anyway to do ufsdump os backup to usb drives

hi folks happy new year to all, I haven't been coming round for a long time. I've been googling about this can't seem to find any good examples, I need to know if it's possible to do a ufsdump os backup into a usb flash drive. Then what about in event of os recovery when we boot to single... (2 Replies)
Discussion started by: sparcguy
2 Replies

3. Solaris

How to backup ZFS filesystems to files on USB drive?

Dear Solaris 10 Experts, I need to carry out a manual backup of all zpool/zfs filesystems on a Solaris 10 x86 server in order to port it onto VM Ware hardware but don't know how to do it. Past exercises have been smooth using ufsdump & ufsrestore for small standalone servers. Below are the zfs... (22 Replies)
Discussion started by: gjackson123
22 Replies

4. Solaris

Backup on USB

How can i backup the whole solaris system to a usb. I have already mounted the usb: /dev/dsk/c2t0d0s2 15G 3.5G 11G 24% /dns_backup Is there a specific command to backup or do i have to manually copy all the files to the usb. I will use the backup to restore the system after... (1 Reply)
Discussion started by: sanjeev_ron
1 Replies

5. Solaris

Broken system disk - mount a zfs backup fs

I have installed Solaris 11 Express on my machine. I have made a script which would take snapshots of all the rpool filesystems every day and send them to a (local) hard drive. There is a zpool on that drive called backup. Now in case of a system failure, I will act according to a manual on the... (1 Reply)
Discussion started by: RychnD
1 Replies

6. UNIX for Dummies Questions & Answers

Backup Hard Disk Xenix System V

Hey all, At my work we have an installation that runs on a Xenix System V coupled with a PLC. Now I have to take a backup of the complete Hard Disk from the PC but have no idea how to manage this. Could someone help me and tell me which steps I have to take. Thanx. (8 Replies)
Discussion started by: sideshow bob
8 Replies

7. Shell Programming and Scripting

Unmount USB disk

Hi, How can I unmount an usb disk using the command umount? (3 Replies)
Discussion started by: Guccio
3 Replies

8. UNIX for Dummies Questions & Answers

backup disk to disk to tape question

Hi all I had started to learn how to backup disk to disk to tape method Firstly I had backup to my NAS tar czvf /MyNetworkStorge/backup.tar /home Secondly I using dd command to copy the tar to tape dd if=/MyNetworkStorge/backup.tar of=/dev/tape0 But the tape drive always hang.... (5 Replies)
Discussion started by: lijiajin
5 Replies

9. SCO

SCO 6. Backup & Restore from USB

Finaly got usb working on sco6. If anyone need help with that just ask. My final goal is to able to do a complete system backup/restore to/from usb. The problems I need help with 1. Can't cpio to usb device. Getting an error message device not found 2. When booted from sco6 emergency... (3 Replies)
Discussion started by: miles556
3 Replies

10. UNIX for Dummies Questions & Answers

Using USB Memory Sticks to backup

I'm trying to set up a RELIABLE backup routine using several USB memory sticks on a SCO 6 Server. Does anybody have any experience of how to do this? I presume I have to mount the memory stick, copy the files to it & then unmount the stick so that another memory stick could be used for the next... (5 Replies)
Discussion started by: ifleet2007
5 Replies

Featured Tech Videos