Operations
Run ./build start from app, ./build status, ./build logs, ./build stop.
./ops/backup.sh /absolute/backup/directory creates a custom PostgreSQL dump and SHA-256 sidecar. Preserve the matching .env (especially APP_ENCRYPTION_KEY) securely and separately. Encrypt backups off-host.
./ops/restore.sh /absolute/path/file.dump lipilog replaces application data after verifying the checksum. Stop other writers and take a backup first. Sessions and outgoing webhooks are reset. Failure leaves the app stopped for investigation.
Never use docker compose down -v on an installation you want to retain. Bind defaults are loopback; configure a TLS reverse proxy for remote use. Keep UDP restricted to trusted networks.
Legacy migration: python3 ops/legacy.py --help for installation-id, export, split and import-original. Back up and use an isolated staging database first; original SQL and prior migration assumptions remain. See historical migration documentation in the maintainer repository.