Backup & Upgrade

DockLog keeps important state in the mapped data directory when auth mode is enabled. Back up that folder before upgrading or migrating hosts.

Backup the data directory

Backup

Archive ./data regularly so SQLite users and audit records can be restored after migration.

Upgrade

Pull the latest tag, recreate the container, and keep the persistent volume attached.

Typical upgrade flow

Docker Compose

bash
docker pull aimldev/docklog:latest
docker compose up -d --force-recreate

docker run

bash
docker pull aimldev/docklog:latest
docker stop docklog && docker rm docklog
# Re-run your original docker run command with the new image tag
Restore tip
Restoring the SQLite file into the same mapped volume is usually enough to bring users and settings back online.

Edit or suggest changes on GitHub.