> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kombify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# techstack api backups

> Generated reference for the techstack api backups commands

<Note>Generated from the Techstack v0.39.0 release (source `49677b729cb9`). For an installed version, `techstack api <command> --help` is authoritative.</Note>

## techstack api backups cleanup

Apply retention policy (admin only).

```bash theme={null}
techstack api backups cleanup [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/backups/cleanup` |
| Changes state | Yes |
| MCP tool | None |

## techstack api backups create

Create database backup (admin only).

```bash theme={null}
techstack api backups create [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/backups` |
| Changes state | Yes |
| MCP tool | None |

## techstack api backups delete

Delete backup (admin only).

```bash theme={null}
techstack api backups delete <name> [flags]
```

<Warning>Requires confirmation: This operation permanently deletes the local backup archive. Pass `--yes` or answer the prompt; a non-interactive run without `--yes` stops before any request with exit code 9.</Warning>

| | |
| - | - |
| HTTP | `DELETE /api/v1/backups/{name}` |
| Changes state | Yes |
| MCP tool | None |

| Argument | Type | Description |
| - | - | - |
| `<name>` | string | **Required.** |

## techstack api backups download

Download backup file (admin only).

```bash theme={null}
techstack api backups download <name> [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/backups/{name}/download` |
| Changes state | No |
| MCP tool | None |

| Argument | Type | Description |
| - | - | - |
| `<name>` | string | **Required.** |

## techstack api backups latest

Get latest backup info (admin only).

```bash theme={null}
techstack api backups latest [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/backups/latest` |
| Changes state | No |
| MCP tool | None |

## techstack api backups list

List backups (admin only).

```bash theme={null}
techstack api backups list [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/backups` |
| Changes state | No |
| MCP tool | None |

## techstack api backups s3 delete

Delete S3 backup (admin only).

```bash theme={null}
techstack api backups s3 delete <name> [flags]
```

<Warning>Requires confirmation: This operation permanently deletes the backup from S3 storage. Pass `--yes` or answer the prompt; a non-interactive run without `--yes` stops before any request with exit code 9.</Warning>

| | |
| - | - |
| HTTP | `DELETE /api/v1/backups/s3/{name}` |
| Changes state | Yes |
| MCP tool | None |

| Argument | Type | Description |
| - | - | - |
| `<name>` | string | **Required.** |

## techstack api backups s3 download

Download backup from S3 (admin only).

```bash theme={null}
techstack api backups s3 download <name> [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/backups/s3/{name}/download` |
| Changes state | Yes |
| MCP tool | None |

| Argument | Type | Description |
| - | - | - |
| `<name>` | string | **Required.** |

## techstack api backups s3 list

List S3 backups (admin only).

```bash theme={null}
techstack api backups s3 list [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/backups/s3` |
| Changes state | No |
| MCP tool | None |

## techstack api backups s3 status

Get S3 connection status (admin only).

```bash theme={null}
techstack api backups s3 status [flags]
```

| | |
| - | - |
| HTTP | `GET /api/v1/backups/s3/status` |
| Changes state | No |
| MCP tool | None |

## techstack api backups upload-s3

Upload backup to S3 (admin only).

```bash theme={null}
techstack api backups upload-s3 <name> [flags]
```

| | |
| - | - |
| HTTP | `POST /api/v1/backups/{name}/upload-s3` |
| Changes state | Yes |
| MCP tool | None |

| Argument | Type | Description |
| - | - | - |
| `<name>` | string | **Required.** |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.