Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backing up an HDISK

Status
Not open for further replies.

Roomer

Technical User
Oct 1, 2001
100
GB
I have been advided by IBM to backup all data within the hdisk2 array.

Anybody know how to do this ?
Would it be advisable to save this to tape or disk ?
 
Roomer,

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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top