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.

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?


1 answer

1 accepted

0 votes
Accepted answer

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.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,077 views 17 14
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