ncloud_export_mysql_log
Export Cloud DB for MySQL log files (binary, error, slow, general, audit) to Object Storage for archival or analysis. Specify the log file and destination bucket to transfer.
Instructions
Export a Cloud DB for MySQL server log file to Object Storage. Use ncloud_list_mysql_logs to get available log files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logType | Yes | Log type to export: BINARY (binlog), ERROR (error log), SLOW (slow query log), GENERAL (general log), AUDIT (audit log) | |
| fileName | Yes | Log file name to export (getDbServerLogList) | |
| bucketName | Yes | Object Storage bucket name to export to | |
| folderPath | No | Folder path within the bucket (e.g. 'mysql-logs/error'). If omitted, exports to bucket root. | |
| regionCode | No | Region code (default: first region) | |
| cloudMysqlServerInstanceNo | Yes | Cloud MySQL server instance number |