Antwort: Re: Backup of Sun OS
Hi folks, going back to the basic: use ufsdump/ufsrestore to create a bootable (yes!) image on a virgin disk ( no Volume Manager !). example: virgin disk is /dev/dsk/c1t5d0 and has same size as root disk. Now two ways to Loch Lemond: high one you will create partitions of the same size as on your root disk, low one take one partition for all except swap. Whatever you choose, partition it and create filesystems on all partitions. Mount new root under /new, new var under /new/var etc. Do ufsdump/restore: ufsdump 0f - / | ( cd /new; ufsrestore rf - ) and for var : ufsdump 0f - /var | ( cd /new/var; ufsrestore rf - ) for /opt the same ... Remember : ufsdump is always relative to the filesystem, so a mountpoint such as /var is always omitted ! Don't forget to install a bootblock, in this case: installboot (see man page, example sparc ) /dev/rdsk/c1t5d0s0 ( if slice 0 is / ) AND : Remove any traces of Volume Manager ( see Veritas VM / Solstice Disk Suite for details ). Even though you have copied a LIVE! system, it will be ok. What you will be missing isn't necessary and you come up with a working spare disk. Do it regularly and test it and be happy forever. The difference to a boot net is the possibility to boot without network and to customize it to your very needs including special data saved for restart purposes. Yours Peter Sattler [EMAIL PROTECTED] Ray Schafer [EMAIL PROTECTED]@VM.MARIST.EDU am 27.01.2002 22:50:11 Bitte antworten an ADSM: Dist Stor Manager [EMAIL PROTECTED] Gesendet von: ADSM: Dist Stor Manager [EMAIL PROTECTED] An:[EMAIL PROTECTED] Kopie: Thema: Re: Backup of Sun OS You could also take a look at Bare Metal Restore - from VERITAS. It was formerly a TKG product, but TKG was aquired by and megerd into VERITAS. You can still get BMR for TSM from IBM channels. Remco Post wrote: Hi, Jumpstart is free, and is more like the AIX nim. ufsdump/restore are ok tools, but they don't make a bootable image. The angian, if your happy with 'boot net -s' or 'boot cdrom -s' mount the nsf fs the ufsdump is on and then restoreing maulally, you'll probably be ok using usfdump. If you want to do these things automatically with one command, you'll probably need a very customized junpstart (not entierly impossible, if you have the time), or a third party non-free (as in beer ;) tool. SUN's equivalent to AIX's 'mksysb' is: ufsdump (backup OS) and ufsrestore (restore filesystems). Sorry, I don't have sample scripts, however, you can go to SUN's website, www.sun.com, and do a search of ufsdump to get the online command reference. PS. It's free. Jack -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of Wouter V Sent: Friday, January 25, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Backup of Sun OS MessageThere is a separate product that has the same functionality as mksysb on AIX, it is called 'JUMPSTART'.Contrary to mksysb, it is not a free product. I think you can by it at Sun. Regards, Wouter Verschaeve Unix Sys. Engineer -Oorspronkelijk bericht- Van: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]Namens MacMurray, Andrea (CC-ETS Ent Storage Svcs) Verzonden: vrijdag 25 januari 2002 20:59 Aan: [EMAIL PROTECTED] Onderwerp: Backup of Sun OS HI everybody, The first thing I have to say to this is that I am NOT a UNIX guru, so I greatly would appreciate all the help I can get. The problem is that our Unix team wants to backup a running Sun OS and then later on restore this backed up OS backup and boot the machine from there, which of course did not work. I know AIX has the make sysb solution for this, does anybody know of a solution for SUN. TSM version 4.2.1.9 on AIX 4.3.3 Thanks Andrea Mac Murray Sen. Systems Administrator ConAgra Foods, Inc. 7300 World Communication Drive Omaha,NE 68122 Tel: (402) 577-3603 [EMAIL PROTECTED] -- Met vriendelijke groeten, Remco Post SARA - Stichting Academisch Rekencentrum Amsterdam High Performance Computing Tel. +31 20 592 8008Fax. +31 20 668 3167 I really didn't foresee the Internet. But then, neither did the computer industry. Not that that tells us very much of course - the computer industry didn't even foresee that the century was going to end. -- Douglas Adams -- Ray Schafer VERITAS Software www.veritas.com Field Sales Strategy[EMAIL PROTECTED] +1 512 433 3300
Re: Backup of Sun OS
Andrea MacMurray wrote: The problem is that our Unix team wants to backup a running Sun OS and then later on restore this backed up OS backup and boot the machine from there, which of course did not work. Andrea: the answer is to use ufsdump/ufsrestore. We're in the same position as you, and we ended up with the locally-developed low-tech solution of using 8mm tapes with a tar archive followed by the O/S ufsdumps. What we then do in a DR is: 1: Boot the destination system with an OS CD. This doesn't even have to be the same OS level as the one we're restoring, we just need a running system. 2: Restore the tar archive and unpack it. This gives us a whole load of documentation plus a script. We then run this script which formats out the OS filesystems we need, (/, /usr, /var, etc). 3: The script then restores the data from the tape, (only the OS areas, not application/data areas), and finally does an installboot using the boot block, (and installboot), just restored from tape. 4: Reboot with the newly restored OS, and TSM-restore everything else. One of the things we're looking at is making boot images that could be saved into TSM, and then reloaded via 'boot net -s', or failing that a customised boot CD. As other people have said you might want to seriously look at the Kernel Group's 'Bare Metal Restore' product. However, if you check this list's archive's you'll see that there are doubts over it's long term future, given that Veritas now own it. Oh, the other thing would be to use Sun's Jumpstart system along with customised boot media. We're also looking at this, (as a low priority item), since it's standard and free, (I've got printed Jumpstart docs that came with the installation media, but they're also available on docs.sun.com). Regards Robert Cross, EDS UK Ltd. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This message is confidential. It may also be privileged or protected by other legal rules. It does not constitute an offer or acceptance of an offer, nor shall it form any part of a legally binding contract. If you have received this communication in error, please let us know by reply then destroy it. You should not use, print, copy the message or disclose its contents to anyone. E-mail is subject to possible data corruption, is not secure, and its content does not necessarily represent the opinion of this Company. No representation or warranty is made as to the accuracy or completeness of the information and no liability can be accepted for any loss arising from its use. This e-mail and any attachments are not guaranteed to be free from so-called computer viruses and it is recommended that you check for such viruses before down-loading it to your computer equipment. This Company has no control over other websites to which there may be hypertext links and no liability can be accepted in relation to those sites. Scottish Newcastle plc Registered in Scotland, Registered Number 16288 Registered Office: 33, Ellersly Road, Edinburgh, EH12 6HX * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Re: Backup of Sun OS
Hi, Jumpstart is free, and is more like the AIX nim. ufsdump/restore are ok tools, but they don't make a bootable image. The angian, if your happy with 'boot net -s' or 'boot cdrom -s' mount the nsf fs the ufsdump is on and then restoreing maulally, you'll probably be ok using usfdump. If you want to do these things automatically with one command, you'll probably need a very customized junpstart (not entierly impossible, if you have the time), or a third party non-free (as in beer ;) tool. SUN's equivalent to AIX's 'mksysb' is: ufsdump (backup OS) and ufsrestore (restore filesystems). Sorry, I don't have sample scripts, however, you can go to SUN's website, www.sun.com, and do a search of ufsdump to get the online command reference. PS. It's free. Jack -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of Wouter V Sent: Friday, January 25, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Backup of Sun OS MessageThere is a separate product that has the same functionality as mksysb on AIX, it is called 'JUMPSTART'.Contrary to mksysb, it is not a free product. I think you can by it at Sun. Regards, Wouter Verschaeve Unix Sys. Engineer -Oorspronkelijk bericht- Van: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]Namens MacMurray, Andrea (CC-ETS Ent Storage Svcs) Verzonden: vrijdag 25 januari 2002 20:59 Aan: [EMAIL PROTECTED] Onderwerp: Backup of Sun OS HI everybody, The first thing I have to say to this is that I am NOT a UNIX guru, so I greatly would appreciate all the help I can get. The problem is that our Unix team wants to backup a running Sun OS and then later on restore this backed up OS backup and boot the machine from there, which of course did not work. I know AIX has the make sysb solution for this, does anybody know of a solution for SUN. TSM version 4.2.1.9 on AIX 4.3.3 Thanks Andrea Mac Murray Sen. Systems Administrator ConAgra Foods, Inc. 7300 World Communication Drive Omaha,NE 68122 Tel: (402) 577-3603 [EMAIL PROTECTED] -- Met vriendelijke groeten, Remco Post SARA - Stichting Academisch Rekencentrum Amsterdam High Performance Computing Tel. +31 20 592 8008Fax. +31 20 668 3167 I really didn't foresee the Internet. But then, neither did the computer industry. Not that that tells us very much of course - the computer industry didn't even foresee that the century was going to end. -- Douglas Adams
Re: Backup of Sun OS
You could also take a look at Bare Metal Restore - from VERITAS. It was formerly a TKG product, but TKG was aquired by and megerd into VERITAS. You can still get BMR for TSM from IBM channels. Remco Post wrote: Hi, Jumpstart is free, and is more like the AIX nim. ufsdump/restore are ok tools, but they don't make a bootable image. The angian, if your happy with 'boot net -s' or 'boot cdrom -s' mount the nsf fs the ufsdump is on and then restoreing maulally, you'll probably be ok using usfdump. If you want to do these things automatically with one command, you'll probably need a very customized junpstart (not entierly impossible, if you have the time), or a third party non-free (as in beer ;) tool. SUN's equivalent to AIX's 'mksysb' is: ufsdump (backup OS) and ufsrestore (restore filesystems). Sorry, I don't have sample scripts, however, you can go to SUN's website, www.sun.com, and do a search of ufsdump to get the online command reference. PS. It's free. Jack -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of Wouter V Sent: Friday, January 25, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Backup of Sun OS MessageThere is a separate product that has the same functionality as mksysb on AIX, it is called 'JUMPSTART'.Contrary to mksysb, it is not a free product. I think you can by it at Sun. Regards, Wouter Verschaeve Unix Sys. Engineer -Oorspronkelijk bericht- Van: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]Namens MacMurray, Andrea (CC-ETS Ent Storage Svcs) Verzonden: vrijdag 25 januari 2002 20:59 Aan: [EMAIL PROTECTED] Onderwerp: Backup of Sun OS HI everybody, The first thing I have to say to this is that I am NOT a UNIX guru, so I greatly would appreciate all the help I can get. The problem is that our Unix team wants to backup a running Sun OS and then later on restore this backed up OS backup and boot the machine from there, which of course did not work. I know AIX has the make sysb solution for this, does anybody know of a solution for SUN. TSM version 4.2.1.9 on AIX 4.3.3 Thanks Andrea Mac Murray Sen. Systems Administrator ConAgra Foods, Inc. 7300 World Communication Drive Omaha,NE 68122 Tel: (402) 577-3603 [EMAIL PROTECTED] -- Met vriendelijke groeten, Remco Post SARA - Stichting Academisch Rekencentrum Amsterdam High Performance Computing Tel. +31 20 592 8008Fax. +31 20 668 3167 I really didn't foresee the Internet. But then, neither did the computer industry. Not that that tells us very much of course - the computer industry didn't even foresee that the century was going to end. -- Douglas Adams -- Ray Schafer VERITAS Software www.veritas.com Field Sales Strategy[EMAIL PROTECTED] +1 512 433 3300
Re: Backup of Sun OS
MessageHere's a link to a post someone put up about a year ago: http://msgs.adsm.org/cgi-bin/get/adsm0012/344.html Some other good resources: http://www.backupcentral.com (this site is run by the author of O'Reillys' UNIX Backup Recovery - an excellent book). In his book, there's a whole chapter dedicated to SunOS/Solaris. There are links all over this site to great scripts, free software, and other good backup related resources. http://www.autovault.org/discus/index.html (look for the Tivoli Storage Manager Scripts link) Good luck! - Original Message - From: MacMurray, Andrea (CC-ETS Ent Storage Svcs) To: [EMAIL PROTECTED] Sent: Friday, January 25, 2002 12:59 PM Subject: Backup of Sun OS HI everybody, The first thing I have to say to this is that I am NOT a UNIX guru, so I greatly would appreciate all the help I can get. The problem is that our Unix team wants to backup a running Sun OS and then later on restore this backed up OS backup and boot the machine from there, which of course did not work. I know AIX has the make sysb solution for this, does anybody know of a solution for SUN. TSM version 4.2.1.9 on AIX 4.3.3 Thanks Andrea Mac Murray Sen. Systems Administrator ConAgra Foods, Inc. 7300 World Communication Drive Omaha,NE 68122 Tel: (402) 577-3603 [EMAIL PROTECTED]
Backup of Sun OS
Title: Message HI everybody, The first thing I have to say to this is that I am NOT a UNIX guru, so I greatly would appreciate all the help I can get. The problem is that our Unix team wants to backup a running Sun OS and then later on restore this backed up OS backup and boot the machine from there, which of course did not work. I know AIX has the make sysb solution for this, does anybody know of a solution for SUN. TSM version 4.2.1.9 on AIX 4.3.3 Thanks Andrea Mac Murray Sen. Systems Administrator ConAgra Foods, Inc. 7300 World Communication Drive Omaha,NE 68122 Tel: (402) 577-3603 [EMAIL PROTECTED]
Re: Backup of Sun OS
Hi Andrea, There is a product just for that - The Kernel Group's Bare Metal Restore. -Bern HI everybody, The first thing I have to say to this is that I am NOT a UNIX guru, so I greatly would appreciate all the help I can get. The problem is that our Unix team wants to backup a running Sun OS and then later on restore this backed up OS backup and boot the machine from there, which of course did not work. I know AIX has the make sysb solution for this, does anybody know of a solution for SUN. TSM version 4.2.1.9 on AIX 4.3.3 Thanks Andrea Mac Murray Sen. Systems Administrator ConAgra Foods, Inc. 7300 World Communication Drive Omaha,NE 68122 Tel: (402) 577-3603 [EMAIL PROTECTED] Bern Ruelas| [EMAIL PROTECTED]_ Sr. Systems Engineer | () |_ Cadence Design Systems | /\___|__ 2655 Seely Ave.|Are you excited?... \ \ / | \ San Jose, CA 951344| /_ \o) __\__/__ On Fri, 25 Jan 2002, MacMurray, Andrea (CC-ETS Ent Storage Svcs) wrote: [NON-Text Body part not included]
Re: Backup of Sun OS
MessageThere is a separate product that has the same functionality as mksysb on AIX, it is called 'JUMPSTART'.Contrary to mksysb, it is not a free product. I think you can by it at Sun. Regards, Wouter Verschaeve Unix Sys. Engineer -Oorspronkelijk bericht- Van: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]Namens MacMurray, Andrea (CC-ETS Ent Storage Svcs) Verzonden: vrijdag 25 januari 2002 20:59 Aan: [EMAIL PROTECTED] Onderwerp: Backup of Sun OS HI everybody, The first thing I have to say to this is that I am NOT a UNIX guru, so I greatly would appreciate all the help I can get. The problem is that our Unix team wants to backup a running Sun OS and then later on restore this backed up OS backup and boot the machine from there, which of course did not work. I know AIX has the make sysb solution for this, does anybody know of a solution for SUN. TSM version 4.2.1.9 on AIX 4.3.3 Thanks Andrea Mac Murray Sen. Systems Administrator ConAgra Foods, Inc. 7300 World Communication Drive Omaha,NE 68122 Tel: (402) 577-3603 [EMAIL PROTECTED]
Re: Backup of Sun OS
SUN's equivalent to AIX's 'mksysb' is: ufsdump (backup OS) and ufsrestore (restore filesystems). Sorry, I don't have sample scripts, however, you can go to SUN's website, www.sun.com, and do a search of ufsdump to get the online command reference. PS. It's free. Jack -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of Wouter V Sent: Friday, January 25, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: Re: Backup of Sun OS MessageThere is a separate product that has the same functionality as mksysb on AIX, it is called 'JUMPSTART'.Contrary to mksysb, it is not a free product. I think you can by it at Sun. Regards, Wouter Verschaeve Unix Sys. Engineer -Oorspronkelijk bericht- Van: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]Namens MacMurray, Andrea (CC-ETS Ent Storage Svcs) Verzonden: vrijdag 25 januari 2002 20:59 Aan: [EMAIL PROTECTED] Onderwerp: Backup of Sun OS HI everybody, The first thing I have to say to this is that I am NOT a UNIX guru, so I greatly would appreciate all the help I can get. The problem is that our Unix team wants to backup a running Sun OS and then later on restore this backed up OS backup and boot the machine from there, which of course did not work. I know AIX has the make sysb solution for this, does anybody know of a solution for SUN. TSM version 4.2.1.9 on AIX 4.3.3 Thanks Andrea Mac Murray Sen. Systems Administrator ConAgra Foods, Inc. 7300 World Communication Drive Omaha,NE 68122 Tel: (402) 577-3603 [EMAIL PROTECTED]