Backups
With SQLite, the default, all of DNZ’s data is in one file:
Take a consistent copy while DNZ runs with SQLite’s
.backup:
dnz zone export example.com -o example.com.zone writes a BIND
zone file. See Import and export.
With Postgres or MySQL, use their own tools (pg_dump, mysqldump). See
Database.
Restoring
Stop DNZ, put the backup in place of the database file (and remove anydnz.db-wal and
dnz.db-shm next to it), then start DNZ again.
Updates
- Binary
- Docker
Copy the new binary out of the new image, replace it and restart: