Skip to content

Backup and Restore

Back up configuration

sudo tar -czf vnetarmor-config-backup-$(date +%F).tgz \
  /etc/vnetarmor \
  /opt/vnetarmor/certs \
  /var/lib/vnetarmor

Back up container deployment

sudo tar -czf vnetarmor-container-backup-$(date +%F).tgz \
  /srv/vnetarmor/config \
  /srv/vnetarmor/certs \
  /srv/vnetarmor/state

Restore process

  1. Stop services or containers.
  2. Restore configuration, certificates, and state files.
  3. Check ownership and permissions.
  4. Start services.
  5. Validate status through vnetarmorctl.
  6. Test health and representative application paths.

Do not back up into public documentation

Never include real license keys, activation tokens, private keys, customer domains, or production IPs in documentation bundles or support examples.