How to Rebuild an Adams database from a Repository
Posted by Mont Rothstein on 12 August 2014 08:54 AM
This is a Disaster Recovery procedure. The following instructions are to assist in recovering from a disaster and are not necessary or intended for the use of Adams under normal conditions.
The Adams Repository is the primary storage for all evidentiary information. The database holds configuration and some redundant repository data as an index.
*** WARNING - This procedure deletes data from the database. ***
This system only rebuilds evidence data. All configuration settings are lost and need to be re-setup after the rebuild is complete. This includes but is not limited to the follow:
The Adams system should not be used while this is running.
This process may take a very long time to run depending on how much data is in the repository. It is recommended that you run this process on the server that is hosting the repository.
The Rebuild Adams Database application is installed along with Digital Workplace. The machine running Rebuild Adams Database does not need a license to Digital Workplace.
Note: Should an error occur while processing the folders the Rebuild application is capable of continuing from where it left off once the error has been resolved.
If you know for certain that permissions on every file and folder in the repository are correct (because you have manually reset them) then there is an option to skip setting permissions during the rebuild which will significantly speed it up. From the command line pass "-skippermissions" or "-sp" to "Rebuild ADAMS Database.exe".
ex: "Rebuild ADAMS Database.exe" - sp
Access to the path <PATH WITHIN THE REPOSITORY> is denied.
Manually reset the repository permissions so that the Repository Owner account owns all file and folder from the Foray Technologies directory on down, the Repository Owner account has Full Control, and the Repository Owner account is the only thing with access.