Actually I have the same issue. I have created a backup and then reinstalled Discourse with the same Ansible script, and now I cannot import the backup.
It looks like I’ve been able to upload an older backup, but not the last one.
There may be a problem with the last Discourse version not creating a good backup file.
[2018-07-26 19:26:32] Cannot restore into different schema, restoring in-place
[2018-07-26 19:26:32] Enabling readonly mode…
[2018-07-26 19:26:32] Pausing sidekiq…
[2018-07-26 19:26:32] Waiting for sidekiq to finish running jobs…
[2018-07-26 19:26:32] Restoring dump file… (can be quite long)
[2018-07-26 19:26:32] SET
[2018-07-26 19:26:32] SET
[2018-07-26 19:26:32] SET
[2018-07-26 19:26:32] SET
[2018-07-26 19:26:32] SET
[2018-07-26 19:26:32] set_config
[2018-07-26 19:26:32] ------------
[2018-07-26 19:26:32] (1 row)
[2018-07-26 19:26:32] SET
[2018-07-26 19:26:32] SET
[2018-07-26 19:26:32] SET
[2018-07-26 19:26:32] ERROR: function “raise_email_logs_reply_key_readonly” already exists with same argument types
[2018-07-26 19:26:32] ERROR: current transaction is aborted, commands ignored until end of transaction block
[2018-07-26 19:26:32] ERROR: current transaction is aborted, commands ignored until end of transaction block
[2018-07-26 19:26:32] ERROR: current transaction is aborted, commands ignored until end of transaction block
Discourse Restore Backup error log.txt (344.9 KB)
here is the backup archive Dropbox