Create database backup that can be used to restore the database.
Documentation pages that include this code sample
To view the code sample used in context, see the following documentation:
Code sample
C#
To learn how to install and use the client library for Cloud Spanner, see the Cloud Spanner Client Libraries.
C++
To learn how to install and use the client library for Cloud Spanner, see the Cloud Spanner Client Libraries.
Go
To learn how to install and use the client library for Cloud Spanner, see the Cloud Spanner Client Libraries.
Java
To learn how to install and use the client library for Cloud Spanner, see the Cloud Spanner Client Libraries.
Node.js
To learn how to install and use the client library for Cloud Spanner, see the Cloud Spanner Client Libraries.
PHP
To learn how to install and use the client library for Cloud Spanner, see the Cloud Spanner Client Libraries.
Python
To learn how to install and use the client library for Cloud Spanner, see the Cloud Spanner Client Libraries.
Ruby
To learn how to install and use the client library for Cloud Spanner, see the Cloud Spanner Client Libraries.
What's next
To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser