You can restore a Google Cloud BigQuery dataset to a different location (out of place).
Procedure
-
From the Command Center navigation pane, go to Protect > Databases.
The Databases page appears.
-
On the Instances tab, click the instance that you want to restore.
The instance page appears.
-
On the Table groups tab, for the table group that contains the datasets to restore, click the action button
, and then click Backup history.The Job history page appears.
-
For the backup job you want to restore, click the action button
, and then click Restore.The Backup content page appears.
Note
You can search by object name and filter the results by Entity type, such as View, Dataset, or Table using the Search field in the upper-right area of the screen.
-
Select the datasets and tables to restore and then click Restore.
The Restore options dialog box appears.
-
Select Out of place.
-
Enter the Destination account and Destination instance.
-
If you want the system to automatically determine the number of parallel data streams for the restore operation, leave the Automatic data streams toggle enabled.
If you want to manually specify the number of data streams, turn off this toggle and enter the required value.
-
If you want to overwrite the existing tables with the backed-up data, turn on the Overwrite tables toggle.
-
Under the Additional options tab, specify the following:
-
If you want to encrypt the restored data using a customer-managed key, turn on the Use Cloud KMS Key toggle.
-
In the field provided, enter the full resource name of the key.
-
You can use a key from any project. You can obtain the key resource name from the Google Cloud Key Management Service.
-
-
If you do not want to apply the original access policies during the restore, turn off the Restore IAM policies toggle.
Dataset-level, table-level, and row-level IAM policies are captured during backup and are applied by default during restore.
-
-
If you want to merge existing tables with the backed-up data, turn on the Merge tables toggle.
Note
You can also overwrite and merge the existing datasets with the backed up data.
-
Select the checkbox next to Pre or Post options to receive a notification when the job completes.
-
You can configure a schedule to repeat this restore operation. To create a schedule, do the following:
-
Click Schedule.
The Add schedule dialog box appears.
-
In the Name box, type a name for the schedule.
-
Configure the Frequency and Repeat parameters.
-
To specify exceptions to the schedule, click Exceptions.
The Exceptions dialog box appears.
-
Configure the exception parameters:
-
You can click Add Exception to save a set of exception parameters and continue adding sets of exception parameters.
-
Click Save when you have finished configuring the exception parameters.
-
-
Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.
-
To save the schedule and return to the restore dialog box, click Schedule.
-
-
Click Submit.
Point-in-Time Restore (Out of Place)
You can restore data to a specific point in time, between a full or an incremental backup job.
-
From the Command Center navigation pane, go to Protect > Databases.
The Databases page appears.
-
On the Instances tab, click the instance that you want to restore.
The instance page appears.
-
On the Table groups tab, for the database group that contains the database to restore, click the action button
, and then click Backup history.The Job history page appears.
-
For the backup job that you want to restore, click the action button
, and then click Restore.The Backup content page appears.
Note
You can search by object name and filter the results by Entity type, such as View, Dataset, or Table using the Search field in the upper-right area of the screen.
-
Select the datasets and tables to restore, and then click Restore.
The Restore options dialog box appears.
-
Select Out of place.
-
Enter the Destination account and Destination instance.
-
If you want the system to automatically determine the number of parallel data streams for the restore operation, leave the Automatic data streams toggle enabled.
If you want to manually specify the number of data streams, turn off this toggle and enter the required value.
-
If you want to overwrite existing tables with the backed-up data, turn on the Overwrite tables toggle.
-
Click the Open calendar button
next to Recover until (Point in time). -
In the calendar dialog:
-
Select the month and year in the left pane.
-
Select the date and specify the time for the recovery point.
Click Set.
-
-
Under the Additional options tab, specify the following:
-
If you want to encrypt the restored data using a customer-managed key, turn on the Use Cloud KMS Key toggle.
-
In the field provided, enter the full resource name of the key.
-
You can use a key from any project. You can obtain the key resource name from the Google Cloud Key Management Service.
-
-
If you do not want to apply the original access policies during the restore, turn off the Restore IAM policies toggle.
Dataset-level, table-level, and row-level IAM policies are captured during backup and are applied by default during restore.
-
-
If you want to merge existing tables with the backed-up data, turn on the Merge tables toggle.
Note
You can also overwrite and merge the existing datasets with the backed up data.
-
Select the checkbox next to Pre or Post options to receive a notification when the job completes.
-
Click Submit.