# CLI: `snapshots`

Manage database snapshots (create, list, download, restore, delete)

## Invoke

```bash
# Production
featherpanel snapshots

# Docker
docker exec -it featherpanel_backend php cli snapshots

# Source / dev
cd /var/www/featherpanel/backend && php cli snapshots
```

## Subcommands

| Subcommand | Description |
| --- | --- |
| `list` | List all available database snapshots |
| `create` | Create a new database snapshot |
| `download` | Download a snapshot file (usage: snapshots download <filename>) |
| `restore` | Restore database from a snapshot (usage: snapshots restore <filename> [-y]) |
| `delete` | Delete a snapshot file (usage: snapshots delete <filename>) |

## Source

`backend/app/Cli/Commands/Snapshots.php`
