Restore an earlier version with a safety check
Restore older bytes as a new append-only version, check permissions and locks, verify Latest, and preserve needed work within retention limits.
Last reviewed
Restore does not rewind or erase history. Dosya verifies the old object still exists, then creates a new version that points to those bytes and marks that new row as Latest.

Steps
- Open Versions and preview the candidate revision. Record its number, size, time, and content before making it current.
- Preserve needed work from the present Latest version before restoring. A successful restore changes current content; earlier bytes remain recoverable only while retained under the plan’s age window and workspace version-count cap.
- Check eligibility: you need
upload_files; the file cannot have any own lock mode, be hidden from you, sit outside your folder scope, or belong to a locked WordPress backup. - Choose Restore on the older row. The button is disabled while that request runs, and the UI reports Restored — Restored to vN. when successful.
- Wait for the Versions list to reload. The restored bytes appear in a newly numbered top row marked Latest. Check that any older rows you still need remain available; retention and version-count limits continue to apply.
- Reopen or refresh the preview and test the file. Compare its size and content with the source revision, then keep or restore forward again if the validation fails.

Exact failures. The API can return Cannot restore versions on a locked file, You don't have permission to modify files, Version not found, or Version data no longer exists in storage. A restore also changes current size and modification metadata and emits a version-restored activity/notification.
Expected result
A new highest version number becomes Latest and serves the chosen older bytes. Restore creates a new row rather than rewinding history; returning to a prior version is possible only while that version is still retained.
Related guides
Was this helpful?
Loading helpfulness results…
Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.
Questions and replies
Ask about the steps in this guide. Questions are reviewed before publication.
Keep account details, credentials and private files out of public questions. Use private support for those.
Loading questions…
Sign in to your Dosya account to ask a question.