Self-hosting, step 4 of 4About an hour in all
- Get a server
- Install Qwest
- Let your team in
- Keep it running
Move to a new server
Move Qwest, its data and its license to another machine.
Moving is a backup on the old server, restored on the new one.
1. On the old server
Section titled “1. On the old server”- Instance admin›Backups›Back up now, then Download it.
- Copy your
.envfile somewhere safe. The new server needs the same secrets. - Note the Qwest version you run (
QWEST_VERSIONin.env).
2. On the new server
Section titled “2. On the new server”- Get the server ready: VPS, Linux, Windows or macOS.
- Install Qwest at the same version, but use your old
.envinstead of making new secrets. ChangeBETTER_AUTH_URLonly if the address changes. - Start it with
docker compose up -d. Don’t make an account. - Restore the backup.
3. Switch over
Section titled “3. Switch over”-
Point your team at the new server: update the domain’s
Arecord, or set up Tailscale on it. -
Check everything is there.
-
Shut the old server down for good, from its
qwestfolder:Terminal window docker compose down
The license comes along with the backup. If it ever asks to be activated again, free the old server’s slot from your account and activate on the new one.