What a Restore Does
The archive path in reverse, and the columns a restore clears rather than sets.
Restoring replaces the stub with the original document. Full text returns with it and the document becomes searchable by wording again. The archived copy is then deleted from the storage target, so the restored document is once more the only copy.
What gets cleared on the Documents row
| Column | Archived | After a restore |
|---|---|---|
ArchivedFilePath | The archive path | NULL |
| ArchivedAppType | Set | NULL |
| ArchivedFileSize | Set | NULL |
| ArchivedName | Set | NULL |
| ArchiveIndexed | 2 | 0 |
| ArchiveRequestId | The archiving request UID | NULL |
| RestoreRequestId | NULL | The restoring request UID |
Warning A restore clears ArchiveRequestId as well. The row keeps no pointer back to the archive that produced it, so ArchiveAudit is the only surviving history of that archive.
What gets cleared on the Workspaces row
Archived returns to 0, not NULL. ArchiveRequestId is cleared and RestoreRequestId is set. #ARCHIVE# is removed from the name and description.
Safeguards
| Setting | Effect |
|---|---|
RestoreValidateChecksum | Compares the restored document against its original size before committing |
| RequireRestoreComment | Forces the user to record why they restored |
| RestoreArchiveDateRequired | Forces a Date to Archive Again to be supplied |
| MaxDaysOnReArchive | Caps how far ahead that date may be set |