Guest

Preview Tool

Cisco Bug: CSCus91946 - Database consistency/integrity check required prior taking DRS backup

Last Modified

Aug 04, 2018

Products (1)

  • Cisco Unity Connection

Known Affected Releases

9.1(2.610)

Description (partial)

Symptom:
Error:
 
Physical restore failed - function Invalid archive tape failed code -1 errno 0

There is a scope of improvement in the backup script? database_do_backup.py?  and restore script ?database_do_restore.py?
 
.Some DB pre checks should be there ?inconsistency checks/integrity check, foreign key checks ?before we proceed with taking the backup <same applicable for CM backup as well.>
 
i.e:
 
 
131         ucontapefile = "%s/UContapeDB.gz" % dbbackupdir
132         os.system("/bin/touch %s" % ucontapefile)
133         ontapeCmd = "ontape -s -L 0 -t STDIO | /bin/gzip > %s 2>> %s %s" % (ucontapefile, LOGFILE, REDIRECTION)

Conditions:
Error:
 
Physical restore failed - function Invalid archive tape failed code -1 errno 0

There is a scope of improvement in the backup script? database_do_backup.py?  and restore script ?database_do_restore.py?
 
.Some DB pre checks should be there ?inconsistency checks/integrity check, foreign key checks ?before we proceed with taking the backup <same applicable for CM backup as well.>
 
i.e:
 
 
131         ucontapefile = "%s/UContapeDB.gz" % dbbackupdir
132         os.system("/bin/touch %s" % ucontapefile)
133         ontapeCmd = "ontape -s -L 0 -t STDIO | /bin/gzip > %s 2>> %s %s" % (ucontapefile, LOGFILE, REDIRECTION)
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.