# Restoring a Google Cloud BigQuery Dataset to a Different Location (Out of Place)

You can restore a Google Cloud BigQuery dataset to a different location (out of place).

## Procedure

1. From the Command Center navigation pane, go to Protect > Databases.

   The Databases page appears.

2. On the Instances tab, click the instance that you want to restore.

   The instance page appears.

3. 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.

4. 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.

5. Select the datasets and tables to restore and then click Restore.

   The Restore options dialog box appears.

6. Select Out of place.

7. Enter the Destination account and Destination instance.

8. 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.

9. If you want to overwrite the existing tables with the backed-up data, turn on the Overwrite tables toggle.

10. Under the Additional options tab, specify the following:

    1. 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.

    2. 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.

11. 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.

12. Select the checkbox next to Pre or Post options to receive a notification when the job completes.

13. You can configure a schedule to repeat this restore operation. To create a schedule, do the following:

    1. Click Schedule.

       The Add schedule dialog box appears.

    2. In the Name box, type a name for the schedule.

    3. Configure the Frequency and Repeat parameters.

    4. To specify exceptions to the schedule, click Exceptions.

       The Exceptions dialog box appears.

    5. 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.

    6. Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.

    7. To save the schedule and return to the restore dialog box, click Schedule.

14. 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.

1. From the Command Center navigation pane, go to Protect > Databases.

   The Databases page appears.

2. On the Instances tab, click the instance that you want to restore.

   The instance page appears.

3. 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.

4. 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.

5. Select the datasets and tables to restore, and then click Restore.

   The Restore options dialog box appears.

6. Select Out of place.

7. Enter the Destination account and Destination instance.

8. 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.

9. If you want to overwrite existing tables with the backed-up data, turn on the Overwrite tables toggle.

10. Click the Open calendar button next to Recover until (Point in time).

11. 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.

12. Under the Additional options tab, specify the following:

    1. 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.

    2. 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.

13. 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.

14. Select the checkbox next to Pre or Post options to receive a notification when the job completes.

15. You can configure a schedule to repeat this restore operation. To create a schedule, do the following:

    1. Click Schedule.

       The Add schedule dialog box appears.

    2. In the Name box, type a name for the schedule.

    3. Configure the Frequency and Repeat parameters.

    4. To specify exceptions to the schedule, click Exceptions.

       The Exceptions dialog box appears.

    5. 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.

    6. Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.

    7. To save the schedule and return to the restore dialog box, click Schedule.

16. Click Submit.

×

Loading...