Normally GemStone starts with tranlog1.dbf as the first tranlog in a series. But after using /dev/null for tranlogs and then switching back to normal tranlogs, the first log will be tranlog0.dbf.
If a backup is taken while tranlog0.dbf is in effect, you will be unable to restore this backup. When subsequently attempting to restore tranlogs or commit the restore, the system will respond as though the restoreFromBackups: had never occurred:
topaz 1> run
SystemRepository restoreFromBackup: 'backupOnT0.dat'
%
finshed restore commitRestore
--- MM/DD/2018 HR:MN:SC.XXX Logging out
The restore from backup completed, with XXXXXXX objects restored.
Ready for restore from transaction log(s). (error 4046)
topaz> login
....
topaz 1> run
SystemRepository restoreStatus
%
Restore is not active.
topaz 1> run
SystemRepository restoreFromArchiveLogs: '/my/archive/tlogs'
%
----------------------------------------------------
GemStone: Error Nonfatal
a ImproperOperation occurred (error 2717), , You cannot restoreLogs without first executing restoreFromBackup
topaz 1>
Increment the tranlog ID by executing "SystemRepository startNewLog" before taking the backup.
Last updated: 6/29/18