Migrating Confluence just with webservice

I have set my old Confluence server to do a daily backup with attachments, and I would like to know if it will be just need that to be imported in a new server, where here it will be also XML, or if I will have to export XML apart from 'backup and restore'. Login system is being and will be handle by Jira.

1 answer

0 votes

Hello Fábio,

I would recommend following the Production Backup Strategy when backing up Confluence.

  • Create a backup or dump of your database using tools provided by your database(warning) To avoid any data inconsistency and corruption, it is recommended to shut down Confluence before creating a database backup or dump.
  • Create a file system backup of your Confluence home directory
  • Create a file system backup of your shared home directory (Clustered instances only)

Which files need to be backed up?

  • <conf-home>/confluence.cfg.xml
  • <conf-home>/attachments  (you can exclude extracted text files if space is an issue)

Optional Files:

  • <conf-home>/config – if you have modified your ehcache.xml file.
  • <conf-home>/index – if your site is large or reindexing takes a long time – this will avoid the need for a full reindex when restoring.

Confluence can be restored by XML site backup as well but this doesn't work so well with large instances, and we always recommend making a database backup.

I hope that helps but let us know if you have any additional questions.

Regards,

Shannon

The daily backup from GUI webservice, includes all data in home directory needed for a restore in a new server? as well as XML?

If yes, it would be just necessary to restore that info in new server when started right?

My daily backups have around ~1,4GB of data with attachments included for 9 users, so I think that I have a very small instance.

Fábio,

Are you referring to the daily backup that Confluence server makes automatically? We don't recommend relying on that for production instances as mentioned on Configuring Backups.

It may work for your instance, if it's so small, but I would still encourage you to make your own backups as well using my tips from earlier.

In theory, if you were to have a full site backup XML, it could restore smaller sites without issue, but again, I would be reluctant to rely on it as my only recovery option.

Shanon

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

80 views 3 4
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