yttcom.net
Backend / Commands / SNAPSHOT

SNAPSHOT

v1.3 · 07/09/26 · systems/commands/SNAPSHOT.php · GET
What it does
Full platform backup — everything into one dated ZIP at snapshots/.
Endpoint
https://yttcom.net/systems/commands/SNAPSHOT.php
Execution — Step by Step
1action=check — returns snapshot_exists true/false
2action=force — deletes today's snapshot, then rebuilds
3Default — starts full platform ZIP
4Directory walk — all PHP HTML MD JSON config DBs collected
5Exclusions — snapshots/ trash/ logs/ sessions/ cgi-bin/ .well-known/
6ZIP written to snapshots/ with dated filename
7Stats returned — file count, size, path, timestamp
Parameters
FieldRequiredDescription
tokenrequiredAuth token
actionoptionalomit = take now | check = does today exist? | force = delete and rebuild
Returns
snapshot path, file_count, size, timestamp (or exists:true/false for check)
Tier 2 Functions
none — standalone()
Notes
Required before CLEAN (D119). SNAPSHOT = everything. BACKUP = specific files only.
Backend Commands Hub Admin Master