Note: This applies to DocuShare 7.5, 7.6, 7.7 installations that are running Solr.
1. Stop DS service
2. Stop Solr service
3. Backup copy of DocuShare_shard1_replica_n1 and DocuShare_shard2_replica_n2 under <dshome>\Solr\server\solr\ directory, using your standard backup procedure of taking a snapshot or OS level backup.
Note: Verify backup file size for the directory to ensure that your backup file sizes match the original size.
4. Start Solr service
5. Start DS service
To Restore the SOLR from a snapshot or scheduled backup:
1. Stop DS service
2. Stop Solr service
3. Restore snapshot or if an OS level backup was done restore the <dshome>\Solr\server\solr\DocuShare_shard1_replica_n1 and <dshome>\Solr\server\solr\DocuShare_shard2_replica_n2 directories from backup.
4. Start Solr service
5. Start DS service
6. Run a command prompt window or terminal window Run As Administrator
7. Change into the <dshome>\bin directory.
dsindextool.bat -reindexSince MM/dd/yyyy-MM/dd/yyy index_all (Windows)
dsindextool.sh -reindexSince MM/dd/yyyy-MM/dd/yyy index_all (Solaris)
Note: The MM/dd/yyyy should be set to a date shortly before the backup was created.
Example:
dsindextool -reindexSince 05/01/2024-05/30/2024 index_all
This command re-indexes all objects with modified/create date at or after 05/01/2024 (inclusive) and before 05/30/2024 (exclusive).