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

    CREATE TABLE company.employee_new
      CLONE company_backup.employee

CLONE & Overwrite an existing table

    CREATE OR REPLACE TABLE company.employee_new
      CLONE company_backup.employee

Syntax reference

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