ShareMaster V2 is in beta, a complete rebuild. See what is new and request access →
Features All features overview
Migration Tools Overview Structure and content OneDrive ↔ SharePoint Content only Structure only Move / Copy Upload from this computer Download to this computer Dropbox to SharePoint Resume and incremental runs
Recycling Bin Overview Browse a site's recycle bin Empty recycle bins in bulk Restore and purge history
Archive Overview Configure the tenant On Demand Archive Restore Archived Files Archive Savings Report Blob Viewer
Optimise Storage Tools Overview Delete all items in a list Delete all files and folders in a library Remove empty folders Remove duplicate files Reduce image sizes Delete sites and subsites
SharePoint Tools Overview Tenant Explorer SharePoint Explorer Easy Settings Fix renamed groups List Explorer Search the Preservation Hold Library
Replace Overview Replace in SharePoint Replace in local files Find password-protected files
Shared Links Overview Report shared links Report unique permissions Remove a person from sharing links Remove shared links Remove unique permissions
Version History Overview Version trimming Version trimming report Reset file version
Reports Overview Inventory report Folder inventory Site and subsite storage Security matrix Teams permissions Pre-migration analysis Compare items Dropbox to Microsoft 365 compare Duplicate file report Empty folder report Image size report Recycle bin report Unused licences Report history
V2 beta Pricing Demos Blog Guides Use cases Compare Tools Alerts FAQ Contact Sign in Start free trial
  1. Home
  2. Documentation
  3. Archive

Record when files are restored

The hidden library column and the restore grace period

Restore tracking lets later archive runs leave recently restored files alone. It is optional because it adds a hidden column to your SharePoint libraries.

Reads only. Nothing in SharePoint is changed.

What it tells you

  • When you archive with tracking enabled, ShareMaster creates the hidden date/time column SMArchiveRestoredUtc in each library it processes, if it is missing. Report only does not add it.
  • The column is hidden, not required, and excluded from the default view and the new, edit and display forms. Users do not need to fill it in.
  • When ShareMaster restores a file and the column exists, it records the restore time in UTC using SystemUpdate. Recording this date does not create a new version or change Modified or Editor. The restore puts the original dates and authorship back first.
  • With tracking enabled, later runs compare the recorded restore time with Leave alone if restored in the last (days). A file inside that period is skipped. Zero days disables that grace period.
  • On Demand Archive can set the grace aside for one run: tick Archive restored files too, however recently they were restored. Every file not already archived then qualifies however recently it was restored, restore dates are still recorded, and the next run without the tick leaves restored files alone again. A schedule never offers this - unattended, it would take back a file somebody had just restored.
  • Turning tracking off disables the grace rule for that run. It does not remove an existing column or its recorded dates. A later ShareMaster restore can still record its time if the column exists.
  • If the column cannot be created or the restore time cannot be recorded, ShareMaster logs the problem. Archiving or restoring can still complete, but files without a recorded restore time do not receive this protection.

How it works

The column is added by an archive run, not by setup, and only when tracking is on and the run is archiving. It is added once per library, the first time the run reaches that library and before any file in it is archived, so every file archived there has somewhere to record its restore. It is created hidden, with its internal and display names identical, kept out of every view and form, and its description says ShareMaster wrote it and that it should not be edited.

The restore time is written by the one restore sequence that both a placeholder click and Restore Archived Files use, so the two record it the same way. It is written in its own step after the file is already back, so failing to record it never undoes a restore. Whether a library has the column is read from the library's settings once per library, so a library without it costs no failed writes. Because the value lives on the item in SharePoint, every computer and every run reads the same answer.

On the next run, the restore time is read in the same pass that reads each file's other facts, so the rule costs no extra request. A file whose recorded restore falls inside the grace period is left alone with that reason, and a file with no recorded time is treated as never restored.

See every feature