Roblox GuidebookKnowledge base
English ⌄

Development / ROBLOX

Restore a player save from Roblox DataStore versions

Compare versions of one key, verify the timestamp and current data, and recover only the entry you intended.

Updated:

Identify the exact key and incident #

Find the universe, store name, scope, and key your server uses. A player ID is useful only if your storage code actually maps it to that key. Record the incident in UTC. Separate a damaged saved entry from a load failure that merely makes the game display default values.

Inspect versions before writing #

In Creator Dashboard choose the game, then Configurations and Data stores manager. Find the store and key; when using a prefix, include the scope as required. Open version history and Compare versions. Check the proposed value and metadata before clicking Revert. If the key is missing, reconfirm universe and scope first.

Account for version granularity #

Roblox describes versioned backups in terms of UTC hours. Several writes in one hour may leave you without the intermediate state you want, and superseded versions have a limited lifetime. If the exact state is absent, record the closest available version and compare it against confirmed events before deciding whether it is usable.

Checks 1–3 · Restore a player save from Roblox DataStore versionsOpen full-size image ↗
Checks 1–3 · Restore a player save from Roblox DataStore versions

Decide whether to restore the whole entry #

Compare missing progress with legitimate changes after the incident. An older inventory may be right while a reward counter includes newer events. Replacing the entire entry can undo both fields. If you need a field-level repair, rehearse it in a separate test game against the current schema and confirm permissions before touching the live key.

Prevent a stale session from undoing the repair #

Check that the faulty writer is fixed and a running session cannot save a stale copy over your repair. For a read-only code investigation, use ListVersionsAsync and GetVersionAsync to inspect the intended version. The manager's Revert creates a new version with the selected value. Handle one confirmed key first rather than sweeping through a list of users.

Verify a new session and another save #

Compare the current version after the operation with the approved values. In a test environment, reload in a new session, earn ordinary progress, and run another save cycle. Record the time, key and version identifiers privately. The repair is durable only if the next ordinary save preserves the expected state.

Checks 4–6 · Restore a player save from Roblox DataStore versionsOpen full-size image ↗
Checks 4–6 · Restore a player save from Roblox DataStore versions
What to checkExpected result
KeyVerify the scope
HistoryOpen Compare versions
TimestampConfirm UTC
New rewardsPreserve later progress
Running sessionPrevent overwrite
Next saveRepeat in a test game

Original sources

Roblox Creator Hub · Data Stores Manager
Roblox Creator Hub · Data store versioning
Roblox API · DataStore