Restore archived records
You can put archived records back into Knack from the archive’s Log tab. Only owners and admins can restore. Records archived in test mode were never removed, so there’s nothing to restore.
Restore a run or a table
- Open the app, click Open archive, and go to the Log tab.
- Under Run history, find the run. Then click:
- Restore to restore every file in the run, or
- Restore this table next to one file.
- VaultLens reads the file and checks Knack, then shows a preview.
- Read the preview, tick the confirmation and click Restore N records.
Restore chosen records
- Next to a file in Run history, click Pick records….
- Filter the list and tick the records you want. The filter runs in your browser on the file just read.
- Click Restore N selected, then confirm in the preview.
Bucket destinations: choose your copy of the file
VaultLens can only add files to a cloud bucket, not read them. For a bucket destination:
- Download the archive files from your bucket.
- In the restore dialog, choose each file. VaultLens checks it against the run in your browser. A file that was edited or comes from another run is refused.
- Click Check and preview.
- Keep the window open while the records are sent. If it closes, the restore waits. Click Continue in the Log and choose the same file again.
For files in your Knack app or a cloud drive, VaultLens reads the file itself, so there’s nothing to download.
What the preview tells you
- To restore, Already restored and Already in Knack for each table.
- Fields that won’t be restored, and why: the field was removed, its type changed, or Knack fills it in itself.
- Connections: links between records in this restore are reconnected to the restored records. Links to other records are kept if those records are still in Knack.
- How many Knack API calls the restore uses and roughly how long it takes, at up to 8 calls a second.
Connections and files
- Restored records link to each other again, even across several restores.
- Tick Also reconnect records in Knack that pointed at these to put back links from live records that pointed at the archived ones. This changes those live records.
- Files and images are reattached from the VaultLens Archived Files table, as long as Knack still has them.
No duplicates
VaultLens remembers the new ID of every record it restores. A second click, a retry or a later restore never creates the same record twice. Records already in Knack are skipped.
What changes on a restored record
Knack sets some values itself, so a restore isn’t an exact copy:
- Records come back with new Knack IDs. Links or bookmarks to the old IDs won’t open them.
- Auto-numbers and formulas are recalculated by Knack.
- Created and updated dates and users take the time and user of the restore.
- The archive flag is set to No.
- In tables with user logins, passwords can’t be restored, so those users need a password reset.
Results
When a restore finishes, click Results next to it in Run history. You see restored, skipped and failed records. Click Download report (CSV) for a list of old and new IDs. If some failed, fix the cause in Knack (for example, relax a field rule) and click Retry N failed.
To find which run a record went to, see Find an archived record.