Here is what I do:

ods-ksmutil backup prepare
sqlite3 /var/lib/softhsm/slot0.db .dump | gzip | mygpg > $shsmfile
mysqldump -u opendnssec opendnssec | gzip | mygpg > $kaspfile
invoke-system-backup
ods-ksmutil backup commit

I assume that $shsmfile and $kaspfile are stored on a safe place and contain all the information needed to restore the SoftHSM and OpenDNSsec state. They are probably included in your system backup.

I am not familiar with mysql or sqlite. What are the commands needed to restore the state from these two safe files? Have you verified that it is sufficient to restore your zones and keys from these two files (and the unsigned zone files, of course)?
_______________________________________________
Opendnssec-user mailing list
[email protected]
https://lists.opendnssec.org/mailman/listinfo/opendnssec-user

Reply via email to