···2233All notable changes to this project will be documented in this file.
4455+## [0.6.9] - 2026-04-07
66+77+### Added
88+99+- **Sandbox backup commands**: New `pocketenv backup` subcommand group for managing sandbox backups.
1010+ - `pocketenv backup create <sandbox> <directory>` — create a backup of a directory inside a sandbox, with optional `--description` and `--ttl` (e.g. `10m`, `2h`, `7d`; default `3d`).
1111+ - `pocketenv backup restore <backup_id>` — restore a sandbox from a previously created backup.
1212+ - `pocketenv backup list <sandbox>` (alias: `ls`) — list all backups for a sandbox, showing backup ID, directory, creation time, and expiry.
1313+1414+### Changed
1515+1616+- **Default backup TTL reduced to `3d`**: The default time-to-live for new backups is now `3d` (was `7d`).
1717+1818+---
1919+520## [0.6.8] - 2026-04-06
621722### Changed
+48
apps/cli/README.md
···305305306306---
307307308308+### 💾 Backups
309309+310310+Create and restore point-in-time backups of sandbox directories.
311311+312312+#### `pocketenv backup create <sandbox> <directory>`
313313+314314+Create a backup of a directory inside a sandbox.
315315+316316+| Option | Description |
317317+|-------------------------------|----------------------------------------------------|
318318+| `--description, -d <text>` | Optional description for the backup |
319319+| `--ttl, -t <duration>` | Time-to-live (e.g. `10m`, `2h`, `7d`; default `3d`) |
320320+321321+```sh
322322+pocketenv backup create my-sandbox /workspace
323323+pocketenv backup create my-sandbox /workspace --description "pre-deploy" --ttl 7d
324324+```
325325+326326+---
327327+328328+#### `pocketenv backup list <sandbox>`
329329+330330+List all backups for a sandbox. Aliases: `ls`
331331+332332+```sh
333333+pocketenv backup list my-sandbox
334334+pocketenv backup ls my-sandbox
335335+```
336336+337337+Output example:
338338+339339+```
340340+BACKUP ID DIRECTORY CREATED AT EXPIRES AT
341341+bkp_01jqwerty123456789 /app 2 hours ago in 3 days
342342+```
343343+344344+---
345345+346346+#### `pocketenv backup restore <backup_id>`
347347+348348+Restore a sandbox from a backup.
349349+350350+```sh
351351+pocketenv backup restore bkp_01jqwerty123456789
352352+```
353353+354354+---
355355+308356## ⚙️ Configuration
309357310358The CLI can be configured via the following environment variables: