Skip to main content
Glama

create_database_backup

Configure scheduled backups for databases in Coolify to protect data and enable recovery. Set frequency, retention, and enable automated protection.

Instructions

Create a backup configuration for a database

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesDatabase UUID
enabledNoEnable scheduled backups
frequencyNoBackup frequency (e.g., daily, weekly)
retentionNoNumber of backups to retain

Implementation Reference

  • The switch case handler for the 'create_database_backup' tool. It requires a 'uuid' parameter and sends a POST request to the Coolify API endpoint `/databases/${uuid}/backups` with the provided arguments.
    case 'create_database_backup': requireParam(args, 'uuid'); return client.post(`/databases/${args.uuid}/backups`, args);
  • The tool definition including name, description, and input schema for validating parameters like uuid (required), enabled, frequency, and retention for creating database backups.
    name: 'create_database_backup', description: 'Create a backup configuration for a database', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Database UUID' }, enabled: { type: 'boolean', description: 'Enable scheduled backups', default: true }, frequency: { type: 'string', description: 'Backup frequency (e.g., daily, weekly)' }, retention: { type: 'number', description: 'Number of backups to retain' } }, required: ['uuid'] } },
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kof70/coolify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server