Upgrading to a new Windows server¶
If OpenREM has been running on an older Windows server version, or you wish to move to Windows Server to host OpenREM, these instructions will guide you through upgrading an existing database to a new server.
This install is based on Windows Server 2022 - for details see the main Native Windows install docs.
Upgrades from 0.9.1 or earlier should review Upgrade to OpenREM 0.10.0 from 0.7.3 or later first. Upgrading to 1.0 is only possible from 0.10.0.
Get the local_settings.py file¶
local_settings.py file from the old server - it should be in one of these locations:
Ubuntu ‘One page install’:
Export the database¶
Export the old database on the old server - get details from the
Check the database username and change in the command below as necessary (
Check the database name and change in the command below as necessary (
You will need the password for
You will need to edit the command for the path to
14is likely to be a lower number
C:\Users\openrem>"c:\Program Files\PostgreSQL\14\bin\pg_dump.exe" -U openremuser -d openremdb -F c -f windump.bak
Transfer the files¶
Copy these two files to your new server.
Continue on the new server¶
Now follow the Native Windows install instructions looking out for the additional steps for upgrading to a new server.