confluence 3.4.9 xml backup always failed


I'm doing xml backup from our current confluence v3.4.9. It has 3GB in its home directory. DB2 is the database. The backup always failed and i never got zip file in home directory.

The atlassian-confluence.log shows ERROR as below.

(1) Is the backup related to the size of data? Are there command-line to run backup (i.e. export)?

(2) We have installed a confluence v3.5.17 on a separate server. We would like to restore the v3.4.9 data to new v3.5.17. Are there other way to export data from lower version and restore into the newer version of confluence?


--------------------------------- LOG Piece-----------------------------------------

2014-06-27 13:14:30,461 ERROR [TP-Processor16] [sf.hibernate.proxy.LazyInitializer] initializeWrapExceptions Excep
tion initializing proxy
-- referer:| url: /admin/dobackup.action | userName: admin | actio
n: dobackup
net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 126559544, of class: com.atlass
at net.sf.hibernate.ObjectNotFoundException.throwIfNull(
at net.sf.hibernate.impl.SessionImpl.immediateLoad(
at net.sf.hibernate.proxy.LazyInitializer.initialize(


2014-06-27 13:14:30,472 ERROR [TP-Processor16] [confluence.importexport.impl.BackupExporter] backupEntities Couldn
't backup database data.
-- referer:| url: /admin/dobackup.action | userName: admin | actio
n: dobackup
net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.confluence.core.Content
at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(
at net.sf.hibernate.proxy.LazyInitializer.getImplementation(

3 answers


Seems that the problem is related to the versions. If the XML file was generated on a v3.4.9, it should be imported on v3.4.9 as well. Just then you can upgrade it to a newer version.

The size also is bigger that the recommended for the XML to be well imported (2GB is the max).

So if the problem persists importing the XML using the same version, try exporting/importing spaces froma confluence to another.

Kind Regards

Do you have size limit for exporting from a large database for Confluence version 3.4.9?

What's the best way if we want to upgrade and migrate from a large database (18GB data)? Currently we are using version 3.4.9 and want to move to latest version 5.5.2. Our plan is to keep current version 3.4.9 and build a brand new 5.5.2 system and migrate data from 3.4.9.



Do you have any updates?

I tried to do XML backup on the environment which is has 18GB data) but failed with the following error.

2014-07-05 22:02:27,985 WARN [Timer-0] [mchange.v2.async.ThreadPoolAsynchronousRunner] run com.mchange.v2.async.Th

readPoolAsynchronousRunner$DeadlockDetector@157b448 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!

Our current confluence is 3.4.9. We'd like to upgrade to 5.5.2. Based on Confluence recommendation, we are going to go through v3.5.17 and v5.0.1 and then v5.5.2. We have built a confluence v3.5.17 without data. How do we load the data from v.3.4.9 to v3.5.17? The v3.4.9 is using DB2. We will use Postgres for newer version. Do you have an upgrade/migration document for our situation?


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

747 views 33 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you