Vault - PARestore takes a very long time and blocks user login during the restore process
123
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:12 PM
Symptom
PARestore takes a very long time to restore the data, regardless the number of safes being restored and the contents of these safes.
The user's login to the Vault times out or fails during the restore process.
Environment
12.0;12.1;12.2;12.6;13.0;13.2;14.0 Privileged Access Manager (PAM, self-hosted) Vault Server PAS (any version) having backups made with PAReplicate.
Cause
The PARestore utility requires to lock important tables to complete the restore process. The locking of these tables may cause the user logins to fail because they cannot be accessed in a timely manner.
Resolution
This utility is meant to be used when it is strictly necessary restoring a safe (or some safes) from a backup, in an exceptional situation, for example due to a mistake removing objects or safes from the Vault.
Regarding the amount of time it will take to restore, there is a fixed amount of time depending on the overall metadata size. Obviously, the more data you will restore, the longer it will take to complete the restore operation.
NOTE: Whenever possible, run it when the Vault activity is low.