Cannot Restore XML Backup Due to Database Permissions
症状
Restoring an XML Backup fails with the error message:
Caused by: java.sql.SQLException: Invalid object name 'BANDANA'
原因
A permissions restriction is limiting the database user from creating tables.
ソリューション
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.