Method: instances.export Stay organized with collections Save and categorize content based on your preferences.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization Scopes
- InstancesExportRequest
- Examples
- Try it!
Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.
HTTP request
POST https://sqladmin.googleapis.com/v1/projects/{project}/instances/{instance}/export
The URL usesgRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
project |
Project ID of the project that contains the instance to be exported. |
instance |
Cloud SQL instance ID. This does not include the project ID. |
Request body
The request body contains an instance ofInstancesExportRequest
.
Response body
If successful, the response body contains an instance ofOperation
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see theAuthentication Overview.
InstancesExportRequest
Database instance export request.
JSON representation |
---|
{"exportContext":{object ( |
Fields | |
---|---|
exportContext |
Contains details about the export operation. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.