I’m hacking on some custom themes and sso and want to work locally instead of against our discourse-hosted instance. I’ve taken a backup of the hosted instance and uploaded to my local self-hosted instance.
When I try to restore I get an error about versions
[2019-07-25 21:16:55] Current version: 20190717133743
[2019-07-25 21:16:55] Restored version: 20190725020422
[2019-07-25 21:16:55] EXCEPTION: You're trying to restore a more recent version of the schema. You should migrate first!
[2019-07-25 21:16:55] /var/www/discourse/lib/backup_restore/restorer.rb:250:in `validate_metadata'
I’ve already visited /admin/upgrade on the local instance and it tells me everything is already up-to-date.
How can I get this backup installed locally?
As a side note, this turned into an experiment about what would happen if we ever needed to bring it in-house and I’d like to be more confident that we can do that in the future.
I installed following the guide here but setup a local Ubuntu in VirtualBox instead of using DigitalOcean. I’m not sure specifically about what branch I’m tracking. Dashboard version shows this: