Updates and backups

Updating vuzon is one command, and backing it up is copying one Docker volume — everything else lives at Cloudflare.

On this page

Updating

terminal
$ docker compose pull && docker compose up -d

The image is rebuilt and published to GHCR on every release, multi-arch amd64 / arm64. Your .env is untouched; sessions survive the restart.

With the latest tag, that command brings the newest published image — including a new major version, and a major is where breaking changes live. Skim the release notes before you run it. To decide when a major jump happens, pin a concrete version on the image: line and bump it yourself.

Upgrading from 1.x

The panel credentials moved out of .env in 2.0:

  • AUTH_USER, AUTH_PASS and SESSION_SECRET are ignored from 2.0 on — delete all three from your .env.
  • The first time you open the updated panel it shows the setup wizard and asks you to choose credentials again — this time stored hashed in the vuzon-data volume.
  • Add the vuzon-data volume to your docker-compose.yml if you are reusing an older copy of the file.

The panel generates its own signing key, so you get signed out once on the upgrade and then never again for this reason.

Backups

What there is to back up

vuzon has no database. Your aliases, rules and destinations live in your Cloudflare account — reinstalling vuzon rediscovers them. The only local state is the vuzon-data volume:

  • The panel credentials, as a scrypt hash.
  • The cookie signing key.
  • The session revocation mark.

Also keep a copy of your .env (it holds DOMAIN and CF_API_TOKEN).

Losing the volume means losing the panel password. The setup wizard reopens on the next visit and the first visitor claims the panel — treat the backup like any other homelab state.

Backing up the volume

From the directory with your docker-compose.yml:

terminal
$ docker compose stop vuzon
$ docker run --rm -v vuzon_vuzon-data:/data -v "$PWD":/backup alpine \
    tar czf /backup/vuzon-data.tgz -C /data .
$ docker compose start vuzon

The volume name is prefixed with the Compose project name (the directory name by default) — check yours with docker volume ls.

Restoring

terminal
$ docker compose stop vuzon
$ docker run --rm -v vuzon_vuzon-data:/data -v "$PWD":/backup alpine \
    sh -c "rm -rf /data/* && tar xzf /backup/vuzon-data.tgz -C /data"
$ docker compose start vuzon

Sessions survive the restore — the signing key is part of the backup.