Home » Bigquery » Tutorials » Restore snapshot table

BigQuery Restore Snapshot table to regular table

Snapshot tables are read-only. You can use the CLONE command to restore a snapshot table to a regular BigQuery table

Restore snapshot table example

\n    CREATE TABLE company.employee_new\n      CLONE company_backup.employee\n
\n\n

CLONE & Overwrite an existing table

\n
\n    CREATE OR REPLACE TABLE company.employee_new\n      CLONE company_backup.employee\n

Syntax reference

{CREATE TABLE | CREATE TABLE IF NOT EXISTS | CREATE OR REPLACE TABLE}\n[[destination_project_name.]destination_dataset_name.]destination_table_name\nCLONE [[snapshot_project_name.]snapshot_dataset_name.]table_snapshot_name\n[OPTIONS(table_option_list)]