Copy Data From AWS S3 Bucket to Google Drive

Introduction

Google Drive is a free cloud storage service that allows users store to share all stored documents, files, and photos with other users. It can be accessed from multiple remote devices such as mobiles, tablets, laptops, and PCs. Google Drive is the best option for you if you can't afford a paid storage service.

SnapShooter is a web-based and powerful backup software that offers an S3 Sync tool that allows you to copy or backup your data from the AWS S3 bucket to Google Drive. It provides a user-friendly, web-based control panel to manage and schedule all backup jobs and restore the backup in the event of data loss.

This post will show you how to copy data from the AWS S3 bucket to Google Drive using SnapShooter.

Add a Server to Snapshooter

First, you will need to add a server to the SnapShooter. The S3 Sync service uses a server to copy data from the AWS S3 bucket to Google Drive.

Follow the below steps to add a server to Snapshooter:

Step 1 - First, go to the SnapShooter website and register for their 14-day free trial.

Step 2 - On the SnapShooter dashboard, click on the Servers in the left sidebar. You should see the following screen:

Step 3 - Click on the Connect Server. You should see the following screen:

Step 4 - Copy and paste the code shown in the above image to your server:

curl -sSL "https://ingestor.snapshooter.com/api/server/add?token=eyJpdiI6Imp6Y3diYi91eXIxalk1czRrQlBHSkE9PSIsInZhbHVlIjoieEFhY0RnMWlHOUdubTgwbWQxOGVzUT09IiwibWFjIjoiMDBhODY3MTkwZWJhYzFiMTJjNzdlYzczNmEyNTJmYjk2NzQ5NzBmZmUwODgxOGI5MWJjNmRlYmM2OTQyYTlhNiIsInRhZyI6IiJ9&key=5895" | bash

Once your server is connected to the Snapshooter, you will get the following output:

Welcome to SnapShooter Server Setup
Environment Detected: OS: linux, OS Type: amd64
Installing SSH public key
Creating temp SSH key file
grep: /root/.ssh/authorized_keys: No such file or directory
cp: cannot stat '/root/.ssh/authorized_keys': No such file or directory
Creating authorized_keys backup /root/.ssh/authorized_keys.bak-1653474994
Key Installed /root/.ssh/authorized_keys
Removing temp SSH key file
Scanning SSH config
Checking 22
matched (22)
SSH test confirmed, Server Added to SnapShooter ...

Step 5 - Go back to your web browser, you should see your added server on the following screen:

Attache Both AWS S3 Bucket and Google Drive to Snapshooter

To copy or sync data from the AWS S3 bucket to Google Drive, you will need to attach both the AWS S3 bucket and Google Drive to the SnapShooter.

Connect AWS S3 to SnapShooter

First, click here to attach the AWS S3 bucket to the SnapShooter You should see the following screen:

Choose a Friendly Name, Select AWS S3, select region, type your access key and secret access key, type your AWS S3 bucket name and press the Attach External Storage button.

Connect Google Drive to SnapShooter

Follow the below steps to connect Google Drive to SnapShooter:

Step 1 - First, go to the SnapShooter website and register for their 14-day free trial.

Step 2 - On the SnapShooter dashboard, click on the External Storage in the left sidebar. You should see the following screen:

Step 3 - Click on the Connect Google Drive. You will be asked to grant SnapShooter to access your Google Drive as shown below:

Step 4 - Click on the Continue button to connect your Google Drive to the SnapShooter.

Create a Backup Job to Copy the Content of AWS S3 Bucket to Google Drive

Now, you will need to create a backup jobs to copy data from AWS S3 bucket to Google Drive at a specific intervals of time. Follow the below steps to create a backup job:

Step 1 - On the SnapShooter dashboard, click on the Backup Jobs in the left pane. You should see the following screen:

Step 2 - Click on the Create Backup Jobs. You should see the following screen:

Step 3 - Click on the S3 Sync, you should see the following screen:

Step 4 - Provide your backup job name and click on the Continue button. You should see the following screen:

Step 5 - Select your server and click on the Next button. You should see the following screen:

Step 6 - Define the directory path in the destination Google Drive, select your source AWS S3 bucket and click on the Test button. You should see the following screen:

Step 7 - Click on the Save and Next button. You should see the following screen:

Step 8 - Select your Google Drive from the list of storage and click on the Set Storage button. You should see the following screen:

Step 9 - Define your backup schedule and click on the Set Schedule and Finish button. You should see the following screen:

Step 10 - Click on the Backup Now button to start copying data from the AWS S3 bucket to Google Drive. Once the backup process is completed successfully, you should see the following screen:

You can also verify your backup by accessing Google Drive. You should see your all data on the following screen:

Conclusion

In this guide, you learned how to copy and sync data from the AWS S3 bucket to Google Drive. You can now manage and control all your backup and restore jobs using the SnapShooter web interface.

SnapShooter support many S3 providers on the marketplace, including AWS S3, DigitalOcean Spaces, Backblaze, Upcloud, Scaleway, Minio, and custom endpoints. If you have object storage missing let us know we are happy to add any. We believe everyone should keep a copy of their data offsite and secure.


Was this page helpful?

Thank you for helping us improve!