When using Sysback/6000 to back up a system, the tar command can be used as the actual backup process to preserve sparse files, such as those used by Oracle. However, this method may cause problems for backing up the rootvg as tar has a limitation that cannot handle pathnames longer than 100 characters. This document provides two options as workarounds to this situation.
This document applies to AIX Version 4.x and Sysback Version 4.
The AIX 4.3 and RX/6000 product documentation library can be accessed at the
following URL:
http://www.rs6000.ibm.com/resource/aix_resource/Pubs/index.html
Additional information can be found in the document "Cloning with mksysb for rootvg and Sysback V4 for Additional Volume Groups", 4FAX Number 8561.
There are two workaround options for this error.
The following steps are necessary only if you intend to use option 2.
sbdefaults -B tar
cp /usr/lpp/sysback/.settings /usr/lpp/sysback/.settings.tar
sbdefaults -B backup
cp /usr/lpp/sysback/.settings /usr/lpp/sysback/.settings.bak
NOTE: These scripts are samples only and are provided to assist users in creating their own custom scripts. They are not supported by IBM.
Script for option 1
#!/bin/ksh # Make mksysb backup to drive rmt0, then Volume Group backups to rmt1 # Note: stacking mkvgback backups after mksysb backup is not advisable # # mksysb backup of rootvg (mksysb can only backup rootvg) mksysb -i /dev/rmt0 # mkvgback of secondary Volume Groups with TAR backend with # progress indicator mkvgback -xf/dev/rmt1 appvg oravg
Script for option 2
#!/bin/ksh # Set to BACKUP cp /usr/lpp/sysback/.settings.bak /usr/lpp/sysback/.settings # Make Sysback backup of rootvg and appvg with the progress indicator sysback -xf/dev/rmt0 appvg # Set backend to TAR cp /usr/lpp/sysback/.settings.tar /usr/lpp/sysback/.settings # Make Volume Group Backup of Oracle Volume Group with the # progress indicator. #The 'n' flag tells the system to not rewind the tape drive # 'stacking' this backup onto the same tape as the sysback mkvgback -nxf/dev/rmt0 oravg
[ Doc Ref: 96231073320858 Publish Date: Jul. 18, 2000 4FAX Ref: 8597 ]