a mksysb (for the rootvg) and a savevg (for other volume groups) are really
a better deal in my opinion. You have the size of the partitions, the names, and the data. You can recreate the volume group or just a few files.... It doesn't take that much longer to make a bootable mksysb and that backs up usr and var and everything in rootvg that is mounted.
General info about backing up and restoring.
Backup by Name:
find / -print | backup -i -f /dev/rmt0
Listing of backup tape:
restore -Tvf /dev/rmt0
Restoring a file:
restore -xvf /dev/rmt0 /home/mike/chap1
(REMEMBER to remove the restoresymtable file when you are done from the current directory....this can fill up your directory if you leave it. It is used to determine when to delete files, link files, update files, etc on the next incremental restore.)
----------------------------------------------------------------------------------
restore Command
List files on media restore -T [-q] [-v] [-f device]
For example:
#restore -Tvf /dev/rmt0
Restore individual files. Pathnames on backup by name are preserved. restore -x [-q] [-v] [-f device] [file1 file2..]
For example:
#restore -xvf /dev/rmt0 /home/mike/manual/chap1
Restore complete file system restore -r [-q] [-v] [-f device]
Restore backups in order i.e. -0 then -1 etc.
#restore -rqvf /dev/rmt0
-=----------------------
To restore from a mksysb. You can either go into service mode and select a full restore of your mksysb to whichever disks you need, or you can restore a few files from the mksysb only.
To restore a few files :
restore -s4 -xdvf /dev/rmt0.1 ./etc/myfiles
Remember that you must either put them in a directory that does not contain a file by the same name, or you must remove the original file first before doing a restore. Also (REMEMBER to remove the restoresymtable file.