Skip to main content
Glama

liara_get_backup_download_url

Retrieve a download URL for a database backup using the database name and backup ID. This tool helps access backup files from the Liara cloud platform.

Instructions

Get download URL for a database backup

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseNameYesThe name of the database
backupIdYesThe backup ID

Implementation Reference

  • The handler function that implements the core logic of the 'liara_get_backup_download_url' tool. It validates the database name and backup ID, then calls the Liara API to retrieve the temporary download URL for the specified database backup.
     * Get download URL for a database backup
     */
    export async function getBackupDownloadUrl(
        client: LiaraClient,
        databaseName: string,
        backupId: string
    ): Promise<{ url: string }> {
        validateRequired(databaseName, 'Database name');
        validateRequired(backupId, 'Backup ID');
        return await client.get<{ url: string }>(
            `/v1/databases/${databaseName}/backups/${backupId}/download`
        );
    }
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/razavioo/liara-mcp'

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