[Opendnssec-user] Re: Backup/restore information
Fred Zwarts (KVI)
F.Zwarts at KVI.nl
Wed Apr 4 13:06:04 UTC 2012
"Jerry Lundström" wrote in message
news:65B53F74-C446-4C3A-AC98-E41164CAC8ED at opendnssec.org...
>
>On Apr 3, 2012, at 16:32 , Fred Zwarts (KVI) wrote:
>> SQLite database set to: /var/opendnssec/kasp.db
>> Keys:
>> hsm_get_slot_id(): could not find token with the name OpenDNSSEC
>> Error: failed to list keys
>>
>> Any suggestion as to what is missing in the backup/restore procedure?
>
>
>Does the .schema look the same on the original and the restored server?
>$ sqlite3 /var/softhsm/slot0.db .schema
Yes. A diff does not find any difference.
>
>Do you have SQLite < 3.6.11, if so:
>$ sqlite3 /var/softhsm/slot0.db "PRAGMA user_version = 100;"
The source system had a lower version, the destination system had a higher
version. I executed this command and now it is working.
>
>/Jerry
Many thanks to everyone who contributed to this thread and helped to create
this backup/restore procedure.
More information about the Opendnssec-user
mailing list