Maintained with ☕️ by
IcePanel logo

You can now use the following optional flags when you export and import files into Cloud SQL instances

Share

Services

## Feature You can now use the following optional flags when you export and import files into Cloud SQL instances: * `--clean`: if you export files, then this flag enables you to include the `DROP <object>` SQL statement that's required to drop (clean) database objects before you import them. If you import files, then this flag enables you to clean database objects before you recreate them. * `--if-exists`: this flag enables you to include the `IF EXISTS` SQL statement with each `DROP` statement that's produced by the `clean` flag. If you import files, then these flags apply only if you use the `--parallel` flag. If you export files, then use these flags only if you're not [exporting files in parallel](https://cloud.google.com/sql/docs/postgres/import-export/import-export-parallel).