Restore points and previous versions — undoing a wrong change
When a document was edited wrongly, the assistant changed many files at once in a way you did not want, or many files were deleted, there are three ways back. It is like leafing back through a photo album to an earlier picture. What to do now: for one document, the app's File › Previous Versions…; for the whole home folder, Settings › Restore; for what the assistant did, tell the assistant "undo that".
What it is
| Way back | What it brings back | When it is made |
|---|---|---|
| Previous versions | One document's earlier content | Every save in Notepad, zOffice Documents and Photo Retouch keeps what was there before (an automatic save keeps one per 30 seconds) |
| Restore points | The whole home folder as it was at that moment | At the first start, at the first start of a new build, every hour with changes (while you are not typing), before the assistant changes several files, before Files moves or deletes more than 20 items, just before going back, and with "Make One Now" |
| The assistant's undo | The change the assistant or Files just made (or every change of that turn) | Recorded when the assistant makes or edits a file, and when Files moves, renames or sends to the Trash. It survives a restart |
All three can be undone again: the state before is kept first.
How to use it
One document: previous versions
- In Notepad or zOffice Documents choose File › Previous Versions…. In Photo Retouch it is File › Previous Versions....
- The saves are listed on the left, newest first. Pick one and Now and that version appear side by side on the right. In text, lines only one side has are tinted; pictures are shown side by side.
- Restore This Version puts that content back and the app opens it again. What was there is kept at the top of the list as a new version.
The whole home folder: Settings › Restore
- Open Settings › Restore. The restore points are listed newest first, with why each was made (automatic, before an update, before the assistant changed files …).
- Click one to see what going back would change: changed (the content differs from then), back (a file that is gone now), removed (a file made since).
- Go Back to This Point… and one more confirmation put the files back as they were. Removed files are inside the new point made just before, so going back to that point in the same screen undoes it.
- Turning off Make one every hour by itself stops only the automatic points. Points before an update or before the assistant changes several files are still made.
Telling the assistant "undo that"
Say "undo what you just did" or "put the documents you changed back" and the assistant calls its undo tool; a card appears on the screen naming the files. Only pressing Allow undoes them (a spoken "yes" is not an approval). If you changed one of those files yourself since, nothing is done; the card names the file and the restore point you can use in Settings › Restore.
How it works
Previous versions are kept per document in one file, the earlier contents compressed and appended one after another. However many versions there are, it is one file per document, so the home folder's name count hardly grows. The newest 30, up to 8 MiB per bundle, are kept; the oldest go first. A document over 6 MiB keeps no previous versions (restore points take files up to 12 MiB).
A restore point records every file of the home folder (name, size, time, fingerprint) and its content. Content is stored once: files that did not change between two points share it, so from the second point on a point takes only as much room as the changed files. Up to 20 points are kept; past a quarter of the storage area (64 MiB at most) the oldest points go first. Files over 12 MiB (videos and the like) are listed but their content is not kept — going back leaves such files alone.
The assistant's undo writes one line per change in a record file in the home folder: what moved from where to where, the version number before the change, and the fingerprint after it. Going back first checks that each file still has that fingerprint; if any differs, nothing is done.
Technical details
- Terminal:
restore(list),restore take,restore show N,restore back N,restore cat N path,restore log,restore undo [batch],versions file,versions back file N. - Check: the assistant's os_check has a "restore points" row (count, the newest point's age, stored size, record lines).
- The Mac app also makes an APFS clone of the whole home disk (
home-before-<version>.raw) before a new version first opens it.
NanumOS 0.1.8349 · 2026-11-16