Is it possible to snapshot a Google Cloud Spanner Database/table(s)? For compliance reasons we have to have daily snapshots of the current database that can be rolled back to in
Today, you can stream out a consistent snapshot by reading out all the data using your favorite tool (mapreduce, spark, dataflow) and reads at a specific timestamp (using Timestamp Bounds).
https://cloud.google.com/spanner/docs/timestamp-bounds
You have about an hour to do the export before the data gets garbage collected.
In the future, we will provide a Apache Beam/Dataflow connector to do this in a more scalable fashion. This will be our preferred method for doing import/export of data into Cloud Spanner.
Longer term, we will support backups and the ability to restore to a backup but that functionality is not currently available.