- 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 uses gRPC 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 of InstancesExportRequest.
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
InstancesExportRequest
Database instance export request.
| JSON representation | 
|---|
{
  "exportContext": {
    object ( | 
              
| Fields | |
|---|---|
exportContext | 
                
                   
 Contains details about the export operation.  |