Node:Restoring a Kerberos Database from a Dump File, Next:Creating a Stash File, Previous:Dumping a Kerberos Database to a File, Up:Global Operations on the Kerberos Database
To restore a Kerberos database dump from a file, use the
kdb5_util load command on one of the KDCs. The syntax
is:
kdb5_util load [-old] [-b6] [-b7] [-ov] [-verbose]
[-update] [-hash] dumpfilename dbname [admin_dbname]
The kdb5_util load command takes the following options:
For example:
shell% kdb5_util load dumpfile principal
shell%
shell% kdb5_util load -update dumpfile principal
shell%
If the database file exists, and the -update flag was not given,
kdb5_util will overwrite the existing database.