This is the multi-page printable view of this section. .
Snapshot
Time Machine
Piglet Run provides point-in-time recovery for both database and filesystem.
Database PITR
PostgreSQL’s built-in PITR (Point-in-Time Recovery) allows you to restore the database to any point in time. Managed by pgBackRest.
Filesystem Snapshots
JuiceFS snapshots preserve the state of your workspace:
Use Cases
| Scenario | Solution |
|---|---|
| AI broke code | Restore filesystem snapshot |
| Bad database migration | Use pig pb restore -t <time> |
| Experiment failed | Roll back entire environment |
| Need clean state | Restore to baseline snapshot |
Backup Management
Next Steps
- Learn about Cloning
- See Restore Task
- See Backup Task