Updates and Backups
Keep the container current by rebuilding it from updated source, and protect its state by backing up /config together with its installation keyUnlocks your saved secrets; lose it and they're removed.
Update the Image
- Update your copy of the repository, for example with
git pull. - Rebuild and restart the container from the repository root:
docker compose up --build --detach
- At start, the database changes built into the new image are applied automatically.
- Transmission's settings file is rebuilt from your saved settings.
/configand/dataare kept, and an enabled VPN connection reconnects on its own.
info
Release tags publish multi-architecture images to Docker Hub and GHCR. These steps cover updating a copy built from source.
Upgrade the old state layout
Older images kept app state under /data, with the database and key below app/. Stop the container before changing mounts.
- Same host folder, new path — Change the state folder from
-v <state-folder>:/datato-v <state-folder>:/config, and mount downloads separately at/data. The old files appear under/configat their former relative paths. - Old run line — When only
/datais mounted and old state markers are present, Nova uses/dataas the state directory for that start and logs a warning to change the mount to/config.
In either case, startup moves app/keys/installation.key to keys/installation.key and app/state.sqlite3, including present -wal and -shm sidecars, into database/. A raw 32-byte installation key is rewritten as the same key bytes encoded as 64 lowercase hexadecimal characters plus a newline. The migration runs only when every destination is empty, never overwrites a file, logs every move and conversion, and stops startup if it cannot complete safely.
Choose an Export or /config Backup
Use an export fileA portable JSON backup you can import anywhere when selected settings need to move between installations. It is portable, does not need the source installation keyUnlocks your saved secrets; lose it and they're removed, and can include settings and profiles, labels, notifications, the torrent list, VPN connections, RPC logins, and API tokens.
Use a complete /config backup when the whole installation needs to be restored exactly. It keeps the administrator account, sign-in security, browser sessions, database, import progress, managed configuration, the installation keyUnlocks your saved secrets; lose it and they're removed, and Transmission's own configuration files together.
Neither choice copies downloaded data under /data. Export and Import covers portable exports and imports; the sections below cover the complete /config copy.
Back Up Your Data
The config volumeThe /config folder; back it up whole, key included holds everything the container needs to pick up where it left off:
| Path | Contents |
|---|---|
/config/database/state.sqlite3 | The database, with any -wal and -shm files beside it, holding the settings, the account, the saved VPN connection, the profiles, and the notification destinationsWhere an alert goes, such as ntfy, Telegram, or email. |
/config/keys/installation.keyUnlocks your saved secrets; lose it and they're removed | The mode 0600 key file in a mode 0700 folder. It contains 64 lowercase hexadecimal characters plus a newline and decrypts the authenticator app's secret, VPN profile contents and connection credentials, and notification secret fieldsA destination's token or password, sealed and never shown. |
/config/transmission/ | Transmission's configuration folder. |
/config/managed.jsonA JSON file that presets or locks settings at deploy | The optional managed configurationA JSON file that presets or locks settings at deploy file. |
danger
A backup without installation.keyUnlocks your saved secrets; lose it and they're removed can't decrypt VPN profile contents and connection credentials, the authenticator app's secret, or the notification secrets. When the file is missing at start, the container makes a new key and removes them, as covered in Missing Installation Key.
It is recommended to stop the container while copying, so the database isn't changing:
- Stop the container with
docker compose stop app. - Copy the whole
/configfolder, keeping file ownership and permissions. - Start the container with
docker compose start app.
With a Host Folder
When /config is a host folder, such as ./config, archive it from the host:
docker compose stop app
sudo tar -czpf transmission-vpn-config.tar.gz -C ./config .
docker compose start app
With the Default Named Volume
When /config uses the Compose file's named volume, archive it through a one-off container from the same image:
docker compose stop app
docker compose run --rm --no-deps --entrypoint tar \
--volume "$PWD":/backup \
app -czpf /backup/transmission-vpn-config.tar.gz -C /config .
docker compose start app
Restore a Backup
It is recommended to restore into an empty /config, so no files from the old state remain. A key file from another database stops startup with a message that explains the fix, as covered in Troubleshooting.
Into a Host Folder
docker compose down
sudo rm -rf ./config
sudo mkdir ./config
sudo tar -xzpf transmission-vpn-config.tar.gz -C ./config
docker compose up --detach
Into the Default Named Volume
docker compose down
docker volume rm transmission-vpn_config
docker compose run --rm --no-deps --entrypoint tar \
--volume "$PWD":/backup \
app -xzpf /backup/transmission-vpn-config.tar.gz -C /config
docker compose up --detach
The Compose project is named transmission-vpn, so its config volume is called transmission-vpn_config. After the restore, the saved VPN connection reconnects on its own when it was enabled.
Missing Installation Key
When installation.keyUnlocks your saved secrets; lose it and they're removed is missing at start, the container makes a new one instead of stopping. Secrets encrypted with the old key can't be opened anymore, so it removes them and keeps everything else.
What Gets Removed
- VPN details — Every saved endpoint and profile is removed, both provider downloads and uploaded
.ovpnand.conffiles, along with each connection's username and password or WireGuard key. The connection rows stay with their names, slots, default choice, peer ports, DNS servers, and retry intervals, but they are disabled until their VPN details are entered again. Torrent profiles and web proxy logins keep their connection assignments. - Authenticator app — It's turned off and its recovery codes are deleted, the same as Turn off, so you aren't locked out.
- Notification secrets — Every destinationWhere an alert goes, such as ntfy, Telegram, or email's secret fieldsA destination's token or password, sealed and never shown, such as tokens, passwords, and webhook URLs, are removed. The destinationWhere an alert goes, such as ntfy, Telegram, or email stays, but it gets no alerts until you enter them again.
The account, its password and passkeys, sessions, API tokensA scoped key for scripts that call the API, settings, torrents, VPN connection rows, and the destinationsWhere an alert goes, such as ntfy, Telegram, or email themselves stay, because they don't use the key. Transmission's traffic stays blocked until a connection passes Test and connect again.
On that start, the logs show one warning whose message lists what was removed:
2026-11-17T19:25:30Z WARN control-api: No installation key was found at /config/keys/installation.key, so Transmission VPN made a new one. These saved secrets were locked with the old key and were removed: the VPN details for each connection, the authenticator app for <username>, the <name> notification. Enter them again in the web interface.
DestinationsWhere an alert goes, such as ntfy, Telegram, or email without secret fieldsA destination's token or password, sealed and never shown that chose Saved secrets were removed get an alert with the same list while the container starts. When nothing used the old key, such as on a new installation, there's no warning, no alert, and no notice.
Enter Them Again
The web interface shows Saved secrets were removed at the top of every page, with a link for each removed item:
- Enter the VPN connection details again — Opens VPN. Select Refresh list to download the provider's servers again, or upload your
.ovpnor.conffile again, then enter your VPN username and password or WireGuard key and select Test and connect, as covered in Connect to a VPN. - Set up the authenticator app — Opens Sign-in and security, where Set up under Authenticator app turns it back on.
- Set up the … notification again — Names one destinationWhere an alert goes, such as ntfy, Telegram, or email and opens Notifications, where Edit on that destinationWhere an alert goes, such as ntfy, Telegram, or email asks for its secrets again, as covered in Notifications.

Each item leaves the notice once it's set up again. Dismiss hides the notice, and anything not set up again stays removed.
Lost Authenticator
- With a recovery code, sign in with it in place of the authenticator code. Then open Sign-in and security, turn off the authenticator app, and set it up again on your new device.
- With a passkey, sign in with it and do the same.
- Without either, delete the installation keyUnlocks your saved secrets; lose it and they're removed with
docker compose exec app rm /config/keys/installation.keyand rundocker compose restart app. The authenticator app is then turned off so the password signs you in, but the VPN endpoint profiles and credentials and the notification secrets are removed too, as described in Missing Installation Key.