Skip to main content
Glama

create_database_backup

Configure automated backups for databases to protect data and ensure recovery. Set backup frequency, retention policies, and enable scheduled 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 handler logic for the 'create_database_backup' tool within the handleTool switch statement. It requires a 'uuid' parameter for the database and sends a POST request to the Coolify API to create a backup configuration.
    case 'create_database_backup': requireParam(args, 'uuid'); return client.post(`/databases/${args.uuid}/backups`, args);
  • The schema definition for the 'create_database_backup' tool, including input validation schema that requires 'uuid' and defines optional parameters for backup scheduling.
    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'] } },

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