![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: re: Backup/record/since=backup I assumed that the command BACKUP/RECORD/SINCE=BACKUP [] [-]$TEST.BCK/SAVE for example would backup files in the current directory that are new or have been updated since the last backup operation. Is this correct or does every /IMAGE backup require the /RECORD qualifier to keep the working correctly. I've noticed that my incremental backup operation is backing all files. The backup date is getting modified however the files are backed up with each BACKUP/RECORD/SINCE=BACKUP command. What am I missing on incremental backups? Thanks, Gordon Schmitt The Answer is : Please read the documented procedures for correctly performing BACKUPs and incremental BACKUPs -- the BACKUP commands necessary for these operations and for full and incremental restorations are included in the examples at the end of the BACKUP section of the _System Management Utilities Reference Manual_. In the example "Saves a disk volume for incremental backups for the first time", you will find: $ BACKUP/RECORD/IMAGE/LOG/LABEL=label ddcu: saveset.BCK/SAVE In the subsequent example "Saves a disk volume for incremental backups (not the first time)" you will find: $ BACKUP/RECORD/FAST/LOG ddcu:[*...]*.*;*/SINCE=BACKUP - _$ saveset/SAVE/LABEL=label You can also eliminate the use of the /RECORD on the incremental pass, allowing you to build up a series of incremental tapes. The following two DCL subroutines are examples from a procedure that can perform both an incremental and a full BACKUP. These examples show how you can build up a series of incremental BACKUPs based on the last full (/RECORD) BACKUP pass. $INCR: SUBROUTINE $ Set NoOn $ Reply/All/Bell "Starting Incremental Backup" $ Backup - Sys$SysDevice:[*...]*.*;*/SINCE=BACKUP - tape:XD.BCK/Save/NoRewind - /Label=XD/Ignore=(Label)/Verify $ Reply/All/Bell "Incremental Backup Done" $ Return $ EndSubroutine $FULL: SUBROUTINE $ Set NoOn $ Reply/All/Bell "Starting Full Backup" $ Backup - Sys$SysDevice:/Image - tape:XD.BCK/Save/Rewind - /Label=XD/Ignore=(Label)/Verify/Record $ Reply/All/Bell "Full Backup Done" $ Return $ EndSubroutine The Wizard would strongly recommend testing out your full and incremental BACKUP restoration process periodically -- preferably before you actually need to restore a disk or a specific file. Testing the process will uncover potential documentation and procedural errors, as well as any potential errors in the BACKUP procedures themselves, as well as any potential problems with the archival media and device(s).
|