

I want this file to be named as "thedate_firebase_connectioninfo_backup". Job_name, table, 'gs://firebase_results/firebase_backups1/Firebase_ConnectionInfo.csv')Įxport_data_to_gcs(data, 'Firebase_ConnectionInfo', destination) Job = bigquery_client.extract_table_to_storage( Table = dataset.table('Firebase_ConnectionInfo')

# Export table to GCS as a CSVĭestination = 'gs://firebase_results/firebase_backups1/Firebase_ConnectionInfo.csv'ĭef export_data_to_gcs(data, Firebase_ConnectionInfo, destination):ĭataset = bigquery_client.dataset('FirebaseArchive')

This is the code I have so far that saves the file name as "firebase_connectioninfo.csv". I am currently exporting a table from by Bigquery to G.C.S as another form of a backup.
