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
| Name | Required | Description | Default |
|---|---|---|---|
| databaseName | Yes | The name of the database | |
| backupId | Yes | The backup ID |
Implementation Reference
- src/services/databases.ts:113-125 (handler)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` ); }