[Opendnssec-user] Semi-Urgent: Production SoftHSM with Wrong schema version
Rickard Bellgrim
rickard at opendnssec.org
Thu Jun 9 09:34:29 UTC 2011
On Mon, Jun 6, 2011 at 9:38 AM, Rickard Bellgrim <rickard at opendnssec.org> wrote:
> I will investigate more on this issue.
We have updated the README to this text:
BACKUP
A token can be backed up by issuing the command:
sqlite3 <PATH TO YOUR TOKEN> ".backup copy.db"
Copy the "copy.db" to a secure location. To restore the token, just copy
the file back to the system and add it to a slot in the file softhsm.conf.
If you are using SQLite3 version < 3.6.11, then you have to use the command
below. But it will not copy the "PRAGMA user_version", which is used by
SoftHSM for versioning. So you have to do that manually. In this case the
version number is 100.
sqlite3 <PATH TO YOUR TOKEN> .dump | sqlite3 copy.db
sqlite3 copy.db "PRAGMA user_version = 100;"
More information about the Opendnssec-user
mailing list