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¶
- Stop services or containers.
- Restore configuration, certificates, and state files.
- Check ownership and permissions.
- Start services.
- Validate status through
vnetarmorctl. - 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.