Can I restore backups from older Discourse versions?

Hi,

I’m new to Discourse and plan to use it in production very soon.

I have a question regarding backups and their relation to the platform version. I read in this topic that in order to restore a backup the source and target Discourse installs must be on the same version. How strong is this constraint?

I’m thinking about the scenario where, for whatever reason, I loose my current Discourse installation (e.g., after a disk drive failure) and need to reinstall it.

As I understand it, the bootstrap process will fetch a new Discourse version. Will I be able to restore backups from the previous installation? If not, do I need to fix the version parameter to make sure I always run the same Discourse version?

Thank you.

Yes, you can restore previous versions via the web ui

1 Like

Hi!
Is it possible to restore backup from another discourse site?
I have backup - Dumped from database version 9.5.7 and it was created for other domain name
Now when I upload archive it’s just stuck on 9%.

A pre 1.0 version is ancient, circa 2013 or early 2014. I would not expect that to work.

But yes as long as the version isn’t 5 years old, you should be able to restore the backup! :wink:

1 Like