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.

Theme-aware four-step map for previewing an older row, choosing Restore, waiting for the toast, and verifying a new Latest version.
The map depicts append-only restoration rather than destructive rollback. Open full-size screenshot.

Steps

  1. Open Versions and preview the candidate revision. Record its number, size, time, and content before making it current.
  2. 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.
  3. 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.
  4. Choose Restore on the older row. The button is disabled while that request runs, and the UI reports Restored — Restored to vN. when successful.
  5. 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.
  6. 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.
Versions inspector with Restore controls on v2 and v1 beneath a v3 Latest row.
An older row’s Restore control creates another top version; it does not relabel that old row as Latest in place. Open full-size screenshot.

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.

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.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.