Cannot Restore XML Backup Due to Database Permissions

Still need help?

The Atlassian Community is here for you.

Ask the community

Unable to render {include} The included page could not be found.

Symptoms

Restoring an XML Backup fails with the error message:

Caused by: java.sql.SQLException: Invalid object name 'BANDANA'

Cause

A permissions restriction is limiting the database user from creating tables.

Resolution

The user who runs Confluence must have full permissions, including the ability to create tables. The database user is in either <confluence-home>/confluence.cfg.xml or server.xml.

See also Upgrade Fails 'java.sql.SQLException Table confluence.BANDANA doesn't exist' Due to Case Sensitivity.

XML site backups are only necessary for migrating to a new database. Upgrading Confluence, Setting up a test server or Establishing a reliable production backup strategy is better done with an SQL dump.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.