snapshot
Takes and restores snapshots of your project's code, database and files, and undoes the last change in one step. A restore can itself be undone.
Snapshots · Can change or delete · actions: create, restore, undo
action "create": snapshot everything now (code, databases, data; label optional). action "restore": go back to a snapshot (name from snapshot_list); scope code (default), database, data or all, for env preview (default) or production; needs confirm: true and the snapshots:restore permission. The state being replaced is kept, so a restore can itself be undone. action "undo": take back the last change in one call: the preview goes back to the newest snapshot taken before a change (by fs_write, fs_edit, exec or a pull), scope code by default, and the files it reverts are listed; confirm: true is needed only when that is more than 20 files; undo again walks back one more change (undo of code needs only write access, like the edit it takes back; scope database, data or all needs the snapshots:restore permission).
For your AI: this page as Markdown · llms.txt