ncloud_export_postgresql_log
Export PostgreSQL server log files from Cloud DB to Object Storage. Specify server, log type, file name, and bucket to move logs for backup or analysis.
Instructions
Export a Cloud DB for PostgreSQL server log file to Object Storage. Use ncloud_list_postgresql_logs to get available log files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logType | Yes | Log type to export (e.g. ERROR, SLOW, etc.) | |
| fileName | Yes | Log file name to export (from ncloud_list_postgresql_logs) | |
| bucketName | Yes | Object Storage bucket name to export to | |
| folderPath | No | Folder path within the bucket (e.g. 'postgresql-logs/error'). If omitted, exports to bucket root. | |
| regionCode | No | Region code (default: current region) | |
| cloudPostgresqlServerInstanceNo | Yes | Cloud PostgreSQL server instance number |