Backing up to disk is almost always faster (unless you are backing up to disks on another system and you have a slow network). If you are in danger of losing hdisk2, I'd get the backup onto another disk as soon as possible.
Backing up to tape, while slow, is more portable (you can restore to another system, for example) and doesn't use up disk resources.
As for how to do the backup: it depends. I'm going to assume you don't have any third party backup software.
What volume group is hdisk2 in? If it's in rootvg, a mksysb will save everything in rootvg and give you a bootable tape. (You should be doing regular mksysb tapes.)
If hdisk2 is in another volume group (or you don't care if the backup is bootable), you can use the backup command to back up all the filesystems on hdisk2 or you could use savevg to save all files in the entire volume group. Take a look at the man pages for backup, restore, savevg and restvg.
Another method you could use would be to tar the files onto the tape. tar won't work on a file larger than 2 GB, though. (I think the dd command does work with large files.)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.