How to restore from database dump?

The documentation on how to restore from backup links to a page which makes no mention of restoring from backup.

https://confluence.atlassian.com/doc/production-backup-strategy-38797389.html#ProductionBackupStrategy-HowdoIrestore?

I am running tests with PostgreSQL on Confluence 6.5, I have several questions.

1. Does the database dump contain attachments?

2. What are the steps to restore a backup created with "pg_dump DB_NAME > DB_DUMP_FILE"? Does Confluence need to be stopped?

Thanks!

1 answer

1 accepted

0 vote

Hello Gerald,

As of Confluence 5.5 your database will not contain your attachments.

When backing up your Confluence Site for restore, we recommend creating an XML backup and also backing up your home folder.

If you only have the database backup, it is still possible to restore, but it will not likely contain any attachments unless you had Confluence prior to 5.5 and specifically requested that your attachments be stored in your database.

For more details see Restoring data from other backups.

Lastly, when making changes to a database, I do recommend that you completely stop Confluence to avoid any issues.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,811 views 26 10
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