It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Restoring A Backup XML File

Sidney Badier Nov 24, 2017

We have been trialing Confluence over the last two weeks and have just bought a subscription. Today we did a backup creating the XML backup file. So that we could reuse all the work we did doing the trial period.

 

After we restored it on the Confluence Server all the users were overwritten. What is the procedure to prevent this and other environment settings from being overwritten after a restore of a space?

 

3 answers

2 votes
Nic Brough [Adaptavist] Community Leader Nov 24, 2017

Restoring a full backup is supposed to restore everything.

If you only want to import content, then you can take space exports and restore those.

Thing is though, you don't need to.  A trial system is the same as a production system, it just stops working when the trial expires.  Add a production licence to it, and it will become your production system.  You don't need to restore anything at all.

1 vote
Shannon Spaniol Atlassian Team Nov 24, 2017

Hi Sidney,

Restoring a full site backup will overwrite all content in your Confluence database, including settings and users.

Alternatively, if you restore a space export, this will not overwrite your users or Confluence settings.

From your description it seemed that you were trying to restore the Confluence instance but you also mentioned in your last paragraph that you were restoring a space only. If your users were overwritten then it may have been that you inadvertently restored a full site backup, so you will want to verify that by having a look at that file.

If you want to avoid having your users overwritten, one way to do that would be to change the primary User Directory to something other than the one that has your users, and then switch it back after the restore. i.e. LDAP vs Internal, Jira, etc.

There is no way to avoid writing over your settings when restoring a full site backup.

Kind regards,

Shannon

Shannon Spaniol Atlassian Team Nov 24, 2017

Another workaround would be to individually restore each of your Confluence spaces, instead of the whole site. This would recover your data but not bring over users, settings, Calendars, etc.

Kind regards,

Shannon

0 votes
Sidney Badier Nov 27, 2017

Thanks Nic and Shannon for your help. Confluence is great.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

899 views 6 17
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you