yttcom.net
Backend / Commands / RESTORE

RESTORE

v1.0 · 07/09/26 · systems/commands/RESTORE.php · GET
What it does
Restore file or directory from a platform snapshot ZIP.
Endpoint
https://yttcom.net/systems/commands/RESTORE.php
Execution — Step by Step
1Auth check
2action=list — opens snapshot ZIP, returns all available paths
3action=verify — confirms ZIP readable without restoring anything
4action=restore — extracts specified path from snapshot
5If path exists live and confirm=1 not passed — returns warning
6If confirm=1 — overwrites live file with snapshot version
7Result returned — restored path + bytes written
Parameters
FieldRequiredDescription
tokenrequiredAuth token
actionrequiredlist | restore | verify
daterequiredSnapshot date YYYY-MM-DD
pathconditionalPath to restore — required for action=restore
confirmconditionalconfirm=1 required if path already exists live
Returns
list: array of paths | restore: restored path + bytes | verify: health check
Tier 2 Functions
none — standalone()
Notes
Always run action=list first. action=verify confirms ZIP is readable.
Backend Commands Hub Admin Master