# Administration Guide

> Source: https://docs.synthesized.io/tdk/latest/user_guide/050_deployment_operations/administration/
> For the complete documentation index, see [llms.txt](https://docs.synthesized.io/llms.txt).

Administrative tasks for managing platform deployments.

## Overview

This section covers:

- User management
- System maintenance
- Backup and recovery
- Monitoring and alerts

## User Management

### Creating Users

Via Web UI: 1. Navigate to Settings → Users 2. Click "Add User" 3. Enter email, name, role 4. Assign to projects

Via API:

```shell
curl -X POST http://localhost:8080/api/users \
  -H "Content-Type: application/json" \
  -d '{
    "email": "user@example.com",
    "role": "USER"
  }'
```

## System Maintenance

### Database Maintenance

Regular tasks: \* Vacuum metadata database \* Archive old execution logs \* Monitor disk usage

### Backup and Recovery

Backup metadata database:

```shell
# PostgreSQL backup
pg_dump -h localhost -U tdk tdk > tdk_backup.sql

# Restore
psql -h localhost -U tdk tdk < tdk_backup.sql
```

## See Also

- [Roles and Permissions](https://docs.synthesized.io/tdk/latest/user_guide/050_deployment_operations/administration/roles_and_permissions)
- [Administration](https://docs.synthesized.io/tdk/latest/user_guide/050_deployment_operations/administration/administration)
