-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up your PostgreSQL server
With the release of version 4.0 we no longer ship the database in a container. Instead customers should use their own instance of Postgres to host the database.
Contact support@ccdc.cam.ac.uk for assistance in getting the postgres database / databases you need. They will be able to provide you with a link to download the databases to your infrastructure.
Restore the databases you have downloaded into your new environment:
pg_restore -C -d <<database name>> < downloaded_database_name.dump
If you are unable to perform a database backup as described above, please contact support@ccdc.cam.ac.uk for assistance.
The best way to do this is to update the .env file as part of your installation. The connection string is held within the CSD_DB_CONNECTIONSTRING parameter.
CSD_DB_CONNECTIONSTRING=Server=database-server;Port=5432;Database=csd-database;User Id=postgres;Password=passwordhere