1968002 - Unable to write to archive -- (db_backup.cxx) - SAP IQ | SAP Knowledge Base Article

SAP Knowledge Base Articles - preview

1968002 - Unable to write to archive -- (db_backup.cxx) - SAP IQ


  • IQ backup operation encountered backup error, while it was writing backup image files to file-system:

Msg 21, Level 14, State 0:
SQL Anywhere Error -1012002: Unable to write to archive. ('') -- (db_backup.cxx 741)

  • Other errors that can be logged in the iqmsg file include

    Exception Thrown from dblib/db_backup.cxx:855, Err# 4
    ErrID: 4098 (db_sqlexception); SQLCode: -1012002, SQLState: 'QUA02', Severity: 14
    Unable to write to archive. ('hard error encountered opening device xxxxxx')



  • SAP IQ 15.4 (all versions)
  • SAP 1q 16.x (all version)
  • Unix or Linux system


SAP IQ all versions


Backup Error, db_backup, Error 21, sybase, fail, 'iq backup', '-1012002', terminated, abruptly , KBA , BC-SYB-IQ , Sybase IQ , How To

About this page

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

Search for additional results

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