Roll forward the next named ai extent with the new backup sequence number.
For example:
The aiarchiver log file extract below, shows:
-> an aiarchiver daemon switch pre backup
-> an aiarchiver daemon switch resulting from a full online probkup
-> an aiarchiver daemon switch (post full online probkup)
[dbname.archival.log] 0001,\aiarc\dbname,20080728,102808,20080728,101732,4,6,\aiarc\dbname.a1,\aiarc\ais1,\aiarc\ais1\aiarc~dbname.20080728.101732.00004.00000006.dbname.a1 0032,\aiarc\dbname,20080728,102940,1,5,20080728,102939,8,1,dbnamel2.bak,BACKUP_SET_20080728_102939 0001,\aiarc\dbname,20080728,102943,20080728,101732,5,7,\aiarc\dbname.a2,\aiarc\ais1,\aiarc\ais1\aiarc~dbname.20080728.101732.00005.00000007.dbname.a2
The resulting named ai files in the ai archiver directory at the time (-aiarcdir) are:
directory~database.dateAIFMstarted.timeAIFMstarted.backup-sequence.ai-sequence.extent-name
aiarc~dbname.20080728.101732.00004.00000006.dbname.a1
aiarc~dbname.20080728.101732.00005.00000007.dbname.a2 << should be named (...)00004.00000007.dbname.a2
aiarc~dbname.20080728.101732.00005.00000008.dbname.a3
If we were to roll foward (..)00005.00000007.dbname.a2 against the online probkup restored (dbnamel2.bak), it would fail.
This ai file 'belongs' as the last ai file to the previous backup sequence '00004'.
Instead, rollfoward the aifile named with the new backup sequence +1. In the above example - this would be (...).00005.00000008.dbname.a3
As a consequence, the backup sequence number of the backup (buseq) has been removed from Archive Record in AI archive log file since OpenEdge 10.1C02. |