Take up a lot of memory after the backup starts
Asked by lzx:

HI guys

when i started confluence backup ,i found my machine take up a lot of memory .

there are some errors and long running tasks

------------------------------------------------------

getExportBuildNumber Build number 6169: "Upgrade to build number: 6169" - Not Ok

---------------------------------------------------------

getExportBuildNumber Backward compatibility for export:"Upgrade to build number: 6169" prevents compatibility before 6169

----------------------------------------------------------

toResponse Uncaught exception thrown by REST service: null

-----------------------------

ERROR \[Long running task: Delete page hierarchy long running task\] \[atlassian.confluence.event.ConfluenceEventDispatcher\] run There was an exception thrown trying to dispatch event \[com.atlassian.confluence.event.events.content.page.PageTrashedEvent@21baf29d\[trasher=ConfluenceUserImpl{name='hui.li', key=ff80818162830321016285136c670003},page=page: ??? 5.2PRE????? v.1 (281848187),suppressNotifications=true,timestamp=1567845632626\]\]from the invoker \[com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimingListenerHandler$1$1@6835a0d3\]  
at com.atlassian.confluence.plugins.bulk.tasks.BulkPageDeleteLongRunningTask.execute(BulkPageDeleteLongRunningTask.java:24)  
at com.atlassian.confluence.plugins.bulk.tasks.AbstractBulkLongRunningTask.lambda$runInternal$0(AbstractBulkLongRunningTask.java:32)  
at com.atlassian.confluence.plugins.bulk.tasks.AbstractBulkLongRunningTask.runInternal(AbstractBulkLongRunningTask.java:31)  
at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26)  
at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:52)

-----------------------------------------

thanks


Answers:
author: Fazila Ashraf
body: Hi [@lzx](/t5/user/viewprofilepage/user-id/3546956)

Are you using xml backups? Note that for large instances, xml backups are not recommended and cannot be relied on.

Even if you have scheduled xml backup, it should be disabled to avoid performance problems.

The recommended backup strategy would be to use db backups with install \& home directories backed up.

See <https://confluence.atlassian.com/conf615/production-backup-strategy-967338443.html>

comments: author: lzx
body: thanks [@Fazila Ashraf](/t5/user/viewprofilepage/user-id/538419)

There are not many users of confluence. I set up the xml backup at 2 o'clock in the morning. Since the backup, the memory usage rate has been very high until the 16:30 pm. I checked the log and found that the backup task at 4 o'clock in the morning is over. Is there any good solution? What information do you need?


author: Fazila Ashraf
body: [@lzx](/t5/user/viewprofilepage/user-id/3546956) , It is not about the load on the confluence at the time but about the large content. I would never rely on xml backup for production.

For this xml backup issue, you could try the troubleshooting in <https://confluence.atlassian.com/doc/troubleshooting-failed-xml-site-backups-149212.html>

The error logs given in the question doesnt have much details to troubelshoot


author: lzx
body: thank you [@Fazila Ashraf](/t5/user/viewprofilepage/user-id/538419)

i will try


Tags: backup

error