SAP Knowledge Base Article - Preview

2295364 - Activate automatic log backup fails: Missing backup history


When you try to enable the Automatic Log Backup feature using 'autolog_on' command  line tool:

        19-03-2016 17-11-57.png

or scheduling the 'Activate Automatic Log Backup' action in DB13:

        19-03-2016 17-12-58.png

        19-03-2016 17-13-55.png

it fails with the below errors:

         -24988,ERR_SQL: SQL error

           -126,Databackup missing (Backuphistory lost)

           20008,(AUTO)SAVE LOG has been aborted due to missing backup history

 The errors can also be seen in the Database Manager Log File('dbm.prt'):

           19-03-2016 17-21-00.png

LOG backups (no matter Automatic or Manual) can only be made once at least one COMPLETE DATA Backup was generated, thus initializing the backup history of the databae. However, even after creating a COMPLETE DATA Backup, the automatic LOG backup activation fails with the above error.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.



  • MaxDB >= 7.6.
  • liveCache >= 7.6.
  • All OS platforms.


SAP NetWeaver all versions ; SAP Supply Chain Management 7.0


backup, autolog, automatic, logbackup, autolog_show, database, studio, MaxDB, liveCache, CCMS, log, template, log_segment , KBA , BC-DB-SDB-DBA , Database Administration MaxDB , BC-DB-LVC , liveCache , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.