Backing up Windows Files Using CloudBerry Backup with Cloud Storage

By Alexander Negrash of CloudBerry Labs

This tutorial provides step-by-step instructions on how to use CloudBerry Backup with Google Cloud Storage to backup your Windows file data to the cloud and easily restore any files whenever needed.


  • Prepare your Google Cloud Platform account.
  • Connect CloudBerry Backup with Cloud Storage.
  • Configure a backup plan.
  • Configure a restore plan.


  • Use the Google Cloud Pricing Calculator to generate a cost estimate for the amount of Cloud Storage you expect to use. New Cloud Platform users might be eligible for a free trial.
  • CloudBerry Backup is licensed commercially on a per computer basis. You can start using it right away with a 15-day free trial. Learn more about licensing and pricing.

Before you begin

  1. Sign in to your Google Account.

    If you don't already have one, sign up for a new account.

  2. In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.

    Go to the project selector page

  3. Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project.

  4. Enable the Cloud Storage API.

    Enable the API

Installing CloudBerry Backup

  1. Download the CloudBerry Backup on your Windows computer.
  2. Use the installation wizard with the default options to install CloudBerry Backup.

Creating a Cloud Storage bucket

  1. To start using CloudBerry Backup with Cloud Storage you will need to create a new Cloud Storage bucket.
    1. In the Cloud Console, go to the Cloud Storage Browser page.

      Go to the Cloud Storage Browser page

    2. Click Create bucket.
    3. In the Create bucket dialog, specify the following attributes:
      • A unique bucket name, subject to the bucket name requirements.
      • Default storage class: Standard
      • A location where bucket data will be stored.
    4. Click Create.
  2. If you don’t plan on accessing your backup files frequently you can specify Nearline storage. Learn more about the different Cloud Storage classes.

Setting up a service account

CloudBerry Backup will need to authenticate with Cloud Platform using a service account. Service accounts are designed to authenticate on behalf of a service or application rather than a user, making them an appropriate choice for a production environment.

To set up a service account and grant it access to your bucket:

  1. Go to Creating a service account and follow the steps to create a new service account. Make sure to click the Furnish a new private key checkbox, which triggers the download of a private key file when you create the account. Later on you will import this key file into CloudBerry Backup.
  2. Add your service account as a user with Editor permission to your bucket in the ACL editor panel.

Connecting CloudBerry Backup to Cloud Storage

  1. Launch CloudBerry Backup from the Windows Start menu.
  2. Click the Menu Icon in the upper-left corner and click Add New Account.
  3. Click the Google Cloud Platform icon.
  4. In the dialog, specify all the required settings:
    • Display name can be any name you want .
    • Service account email from the service account you created earlier.
    • Google Project ID can be found in your Cloud Console under IAM & Admin Settings.
  5. Import the service account private key you created earlier by clicking on the Import button.
  6. Select your bucket in the Bucket name drop-down list.
  7. Click OK to finish connecting CloudBerry Backup to your Cloud Storage bucket.

Configuring a backup plan

  1. From the CloudBerry Backup application, click the Files button to start the Create Backup Plan Wizard.
  2. Select your Cloud Storage account from the list of registered accounts and click Next.
  3. In the Plan Name panel, enter a name for your new backup plan and click Next.
  4. In the Select Backup Mode panel, choose Advanced to locally encrypt and also version your backup files, only backing up files that have changed since the last backup. If you choose Simple mode, then you will be relying on the native file encryption provided by Cloud Storage, and it will use more storage and take more time to transfer.

  5. In the Advanced Options panel leave everything unchecked for now. The options here are worth reviewing for your specific needs:

    • Use block level backup allows you to upload only modified parts of files. It is useful for large files that are frequently modified.
    • Force using VSS uses Microsoft Volume Shadow Copy Service, which is recommended if you are selecting files that might be locked by third-party applications during the backup.
    • Backup NTFS permissions allows you to backup and restore your files, folders, and network shares while maintaining all of their original NTFS permissions.
  6. Click Next.

  7. In the Backup Source panel, click + to expand the drive letters, and then check the box next to your target files and folders to select the files and folders you want to back up. When you’ve selected all your files, click Next.

  8. In the Advanced Filter panel, select Backup all files in selected folders, or in this panel you can configure a number of options to dynamically filter out files you do not want to backup.

  9. Click Next.

  10. In the Compression and Encryption Options panel:

    1. Check the box to Enable Compression.
    2. Check the box to** Enable Encryption**.
    3. Choose a secure encryption algorithm such as AES256.
    4. Specify an encryption password, noting that the length and complexity of the password directly correlates to the strength of the encryption.
    5. Click Next.
  11. In the Retention Policy panel, leave the default values and click Next.

  12. In the Schedule panel, select Recurring, and then choose a time that doesn’t interfere with your server’s normal workloads.

  13. In the Pre / Post Actions panel, click Next.

  14. In the Notification panel, choose if you want receive email notifications about all backup jobs, or only when a backup job has errors. Enter the email address where you want to receive notifications, and the email Subject as “CloudBerry Backup [YOUR_SERVER_NAME] %Result%". Click Next.

  15. Review the summary of your backup plan and then click Next.

  16. Your new backup plan is complete. You can start it right away by selecting the Run backup now checkbox, or leave it blank to wait for the scheduler to trigger your job.

  17. Click Finish to exit the wizard.

Managing backup plans

If you want to manually run new backup plan, go to Backup Plans tab where you can manage all the backup plans you have created, select your plan, and then click the** Run backup now** button. You will see a green progress bar which indicates the current progress of the backup task.

If you want to review your backed up data, choose the Backup Storage tab. Here you will see all the files currently being stored in the cloud.

There is also a History tab where you can find information about historical jobs, filtering by plans, files, status, or period.

Configuring a restore plan

Whenever you encounter a situation where you need to restore a file or set of files from your backed up files, you must configure a restore plan first.

  1. Launch CloudBerry Backup from the Windows Start menu.
  2. Click the Restore button on the toolbar.
  3. In the** Select Cloud Storage** panel, choose your Google Cloud Storage account from the list of registered accounts, and then click Next.
  4. In the Plan Name panel, choose Run restore once, and then click Next.
  5. In the Type of Data panel, choose Restore files and folders, and then click Next.
  6. In the Restore Type panel, choose Latest version, and then click Next.
  7. In the Restore Source panel, choose the files you want to restore, and then click Next.
  8. In the Destination panel, select Restore to original location, which will overwrite the current file if it exists. Click Next.
  9. In the Decryption panel, check the box Decrypt encrypted files with the following password and enter the encryption password you used in your backup plan. If you didn’t enable encryption in your backup plan, leave this unchecked.
  10. Click Next.
  11. In the Notification panel, click Next.
  12. In the Summary panel, you will see your restore plan. If you are satisfied, click Next.
  13. Click Finish to complete your restore plan and to immediately run your restore plan.
  14. Verify that your selected files have been properly restored.

Cleaning up

To avoid incurring charges to your Google Cloud Platform account for the resources used in this tutorial:

Delete the project

The easiest way to eliminate billing is to delete the project that you created for the tutorial.

To delete the project:

  1. In the Cloud Console, go to the Manage resources page.

    Go to Manage resources

  2. In the project list, select the project that you want to delete, and then click Delete.
  3. In the dialog, type the project ID, and then click Shut down to delete the project.

Delete your Cloud Storage bucket

To delete a Cloud Storage bucket:

  1. In the Cloud Console, go to the Cloud Storage Browser page.

    Go to the Cloud Storage Browser page

  2. Click the checkbox for the bucket you want to delete.
  3. To delete the bucket, click Delete .

What's next

See additional documentation on the CloudBerry Labs website: