Ultimate Guide: Google Cloud Backup and Restore
3 Ways provided for Google Cloud backup and restore. Follow the step-by-step guide to create Google Cloud backup and learn how to restore backup from Google Drive.
Ready to safeguard your cloud data?Get Started
Speaking of Google Cloud backup and restore, almost all users may think of Google Drive, Google Backup and Sync. Yes, this is part of the google cloud and the most common part, and they meet the most basic data protection needs of users.
At the same time, Google offers the advanced users a different cloud computing services named Google Cloud Platform (GCP), which runs on the same infrastructure that Google uses internally for its end-user products. Besides, it still provides a series of modular cloud services including computing, data storage, data analytics and machine learning.
After saying that, it's time to backup and restore with Google Cloud. Please keep reading below.
Below, I will introduce 3 available methods. The first is the simplest and most common. The latter two methods will be extremely challenging for most users. However, you can decide which method to use.
>> Google Cloud Backup: Open your phone's settings, scroll down to System and Backup, then turn on the backup service on the next window. If you don’t find the backup option, please manually search this option on your phone.
>> Restore Android phone from Google backup: Start your Android phone and log in to your Google Cloud account, then you will see a list of previous devices and the lasted used date, select a device and restore your apps.
Next, I'll show you how to perform Google Cloud backup and recovery using exporting and importing entities, and Google Cloud snapshots.
Before creating Google cloud backup with Export and Import Entities, please make preparations in the following.
Create a new project and enable billing for your project.
Create a Cloud Storage bucket in the same location as your Firestore in Datastore mode database.
Assign an IAM role to your user account that grants the datastore.databases.export permission and the datastore.databases.import permission.
If the Cloud Storage bucket is in another project, give your project's default services account access to the bucket
Google cloud backup by exporting all entitles:
Step 1. Go to the Datastore Entities Export page.
Step 2. Keep the default namespace and kind, then select a destination from your bucket and click EXPORT.
• The export process will create a metadata file for each specific pair namespace-kind, typically named as NAMESPACE_NAME_KIND_NAME.export_metadata. If the namespace or kind is invalid, the name will be export[NUM].export_metadata.
• If you want to export specific kinds or namespace, you can use the above steps as a reference. All the steps are similar and the only difference is bucket you select.
Restore backup from Google Drive by Importing all entities:
Step 1. Go to the Datastore Import page.
Step 2. Click Browse to select an overall_export_metadata file and keep the default namespace and kind, then click IMPORT.
Note: To import specific namespaces or kinds, you just need to set the namespaces and kinds to All Namespaces or to a specific namespace.
Google Cloud Snapshot let you create an incremental copy of your data created on the persistent disks. And it’s a point-in-time copy of entire disk.
Before create snapshot in Google Cloud, please read the following suggestions and use them as appropriate.
Flushing disk buffers to ensure consistency for snapshots. Pause applications that write data to your disk and flush disk buffers to sync the file system with FLUSH at the MySQL.
Create an image on the persistent disk attached. Because restoring the same snapshot to a persistent disk multiple times will incur network costs every time.
Schedule snapshots in the early morning, day or weekend. The snapshot activity is busiest at the end of each working day, or at the midnight.
Now, come to the topic, how to create snapshots and restore? Here are two common used ways, including Ad-Hoc, Scheduled. You can choose one of them and follow detailed steps below.
Create an Ad-Hoc snapshot for Google Cloud Backup:
Step 1. Open your Google Cloud Console .
Step 2. Go to Compute and Compute Engine, then click on Snapshots.
Step 3. In the Snapshots page, click CREATE SNAPSHOT.
Step 4. In the Create a snapshot interface, type a name and description, then click Create. After the process ends, it will be listed under the snapshots.
Restore snapshot to restore Google drive files:
Step 1. Navigate to Compute Engine and click VM Instances.
Step 2. In the VM instances page, click CREATE INSTANCE.
Step 3. In the Create an instance interface, type name and select type for new instance, then click Change under the Boot disk link.
Step 4. In the Boot disk window, go to the Snapshots tab and select the snapshot created before.
Step 5. Tick Allow HTTP traffic and Allow HTTPS traffic, then click Create.
Note: If you want to create scheduled snapshot, you can click Create Snapshot Schedule as instead and follow the on-screen instructions.
As a matter of fact, except for the above three ways, there is an easier way to perform Google Cloud backup and restore. It’s highly recommended to try the free cloud backup - CBackupper, because of the following reasons:
It can free you from manually backup via daily, weekly, monthly backup.
It allows you to backup data during off-peak hours via specific time backup.
It helps you backup files with certain file extension by file filter.
It can make full use of the free space in cloud disks and help you get unlimited cloud storage. You only need to connect enough cloud disks to CBackupper.
It’s free and easy-to-use.
Then, please do the following preparations before Google Cloud backup and restore with CBackupper.
1. Go to the main page of CBackupper and create an account with Sign up feature, and sign in CBackupper.
2. Navigate to the Added Clouds tab, click + Add Cloud button, select Google Drive and click Add to continue, then allow CBackpper access your current Google Drive, and modify Display Name and customize the Storage Path, Allocate Space and Related Tasks, and tick the Note option and click OK to add Google drive.
Google cloud backup with CBackupper:
Step 1. Click Backup Tasks and tap New Task button subsequently.
Step 2. Click Add Source and Add Destination to select both of your Google Drive account.
Step 3. Click Settings to set Google cloud backup settings and then click Start Backup.
Tip: The Settings enables you to create schedule Google cloud backup via once, daily, weekly, and monthly, enable email notification, keep the version history as you want, use the file filter to choose the files you want to backup or does not want to backup.
How to Restore from Google backup with CBackupper?
Step 1. Navigate to Tasks, select the backup you want to restore and click the three dots at the right side, then select Restore.
Step 2. Click Select Files and select folders in Google Drive, then click OK.
Step 3. Click Select Target and select Restore to original location or Restore to new location, then click OK to exit this window.
Step 4. Set the restore settings and click Start Restore to perfrom Google cloud recovery.
Besides, you could download the CBackupper desktop app to automatically backup files to cloud for free.
That’s all for Google cloud backup and restore. In this article, you can use the most common software Google Drive, also the advanced version Google Cloud Platform.
In addition, you can use cloud backup service – CBackupper if you have multiple cloud drives. It can free you from low disk space warning and help you manage cloud storage accounts of all your cloud disks at one platform. And more, this software is complete free. Just try it for yourself.