Load Store Metadata from Backup
This section tells you how to load the store metadata from backup.
Load the store metadata from the backup using the
-load-admin
command. In the below command, kvroot/mystore/sn1/admin1/snapshots/250514-072244-Wednesday
is the snapshot of the admin of the store we backed up. The values provided for store
, host
and port
are that of the new (target) store. For more details, see Recovering the Store.java -Xmx64m -Xms64m -jar lib/kvstore.jar load -source kvroot/mystore/sn1/admin1/snapshots/250514-072244-Wednesday -store mystore -host phoenix581601 -port 5000 -load-admin -security kvroot2/security/client.security
Output:
May 14, 2025 8:37:39 AM oracle.kv.impl.admin.AdminDatabase <init>
INFO: Open: AdminTableDatabase
May 14, 2025 8:37:39 AM oracle.kv.impl.admin.AdminDatabase close
INFO: Closing AdminTableDatabase
May 14, 2025 8:37:39 AM oracle.kv.impl.admin.AdminDatabase <init>
INFO: Open: AdminSecurityDatabase
May 14, 2025 8:37:39 AM oracle.kv.impl.admin.AdminDatabase close
INFO: Closing AdminSecurityDatabase
Logged in to Admin as anonymous
Deploy Store
Now, deploy the new store. For more details, see Configuring a single region data store. When prompted for user and password, provide the same user and password that you created in the store you backed up.