Hi!
Is there a simple way to migrate all the documents data in self hosted universe?
I am deploying outline on a new server and want to restore my data from outline of the old server.
Thanks
Hi – you should just copy the postgres database itself or connect to the same database from the new server. The are lots of guides on how to do this, eg:
https://www.postgresqltutorial.com/postgresql-copy-database/
There is no permanent data stored on the server Outline is hosted on.
@tommoor
I am having problems with that. I am deploying with docker compose.
I had copied the postgres database and made a volume. In the db i can see its all ok, but when i tried to login there is an error:

The log is:
UnhandledPromiseRejectionWarning: Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
If I had to guess it would be that the SECRET_KEY environment variable does not match the one on the previous server. They must be the same or encrypted fields in the database cannot be decrypted.
Most helpful comment
If I had to guess it would be that the
SECRET_KEYenvironment variable does not match the one on the previous server. They must be the same or encrypted fields in the database cannot be decrypted.