Cloud Backup with Data Encryption using Google Drive, rClone, and Docker

preview_player
Показать описание
This video details how to use rClone to backup your data securely in the cloud, you can also find all of the config files on my GitHub. More specifically I cover how to:
- Set up a remote in rClone
- Create a project in Google Drive to grant access for rClone
- Create a config for rClone to mount to your container
- Deploy rClone in a Docker container (and Windows)
- Enable remote backups with a backup script
- Mount your cloud remote on your Docker host and in Windows (access your cloud storage as though it was a local drive!)
- Encrypt your backups using rClone to maintain your privacy

00:00 - Introduction and overview of topics covered
02:04 - rClone config with Dashboard
04:36 - rClone config with a mount in Docker
06:47 - Downloading rClone
08:00 - Using rClone to create a remote
09:14 - Create a Google Project to give rClone access to Google Drive
10:26 - Add Google Drive API
10:44 - OAuth Consent Screen
11:05 - Google Drive Scope for Application
11:50 - Create Google Drive Credentials
13:05 - Add Client Secret and Client ID to rClone
15:15 - Finishing remote setup in rClone
16:00 - Check rClone config file is correct
16:28 - Copy config to Docker container
17:05 - Deploy Docker container and access web GUI
18:28 - Overview of remote backup script
20:39 - Deploy rClone with a host mount to access files locally
22:40 - Viewing remote Cloud files as a local mount
22:58 - rClone mount in Windows
24:39 - Encrypted rClone backup
27:10 - Summary - Please Like, Comment, and Subscribe if you found this useful! :)
Рекомендации по теме
Комментарии
Автор

Another amazing video from a super nice and helpful experienced IT Professional, definitely worth a watch and a subscription!

boyy
Автор

THIS IS GOLD!!!
What a great video, topic, explanation, everything!!
This should be mainstream operations for any small business. I'm going to tinker with it right now.
You have my respect and gratitude forever. Thanks a lot for sharing and for doing it with such taste and quality. You are the real MVP.

SRG-Learn-Code
Автор

Great and awesome explanation. Exactly what I was looking for. It seems you are the only one who actually used rclone in docker (which is what I was looking for) instead of mounting it on host
Thanks a lot!!

adfjasjhf
Автор

Nice to see one of the Weasely twins doing well.

iamaduckquack
Автор

Thank you for your clear and concise explanation of this process.

garylovesbeer
Автор

Thanks I was already using rclone but didn't know about the encrypt feature

JC-zlsq
Автор

Do you really need to do the google console credentials? Wouldn't rclone default config be enough?

nihoniumog
Автор

I'm kinda stuck and don't get it how I can now create a shell script to automate the sync process and send me the logs to my gotify service..

I have my script:
rclone sync "$source_path" "$destination_path" --log-file="$log_file" --log-level INFO

but I can't get it automated as an cronjob in the docker-compose config, also there I can't get curl installed in the docker for the gotify notification part.

A demonstration of a Backup Script with Logfile creation and automatic notification with gotify would be a nice tutorial.

conan
Автор

We can proceed without the client id and secret, or is it mandatory to have this client id for Rclone

leodsouza
Автор

Hey Jim! Can you please give a tip and link to docs of how to run the remote sync script from the Rclone dashboard, using the script files, which we mounted into the container? Im lost here, sorry.

slayoftw
Автор

Thank you very much for the video.

Question: can this technique be used with restic too? Because synchronizing is not the same as backing up.

gmansi
Автор

I wanted to ask, if you want to get the data that was encrypted to GoogleDrive, how do you decrypt it?...Wonderful Video, well explained.

Kene-qq
Автор

What happens if my laptop, which I installed rclone from, is broken or stolen? How can I read my old encripted gdrive files from my new laptop? Thx

racingtheweb
Автор

Definitely gonna need to watch this a couple more times. My goal is to make a GDrive to SMB gateway 🤔🤔

BenReese
Автор

i finally got rclone to mount and jellyfin able to see the files. I last hurdle that finally did it was I had to restart the Jellyfin docker to reinitialize it after it was already mounted. I don't know, maybe it would have refreshed eventually but I'm not a patient man.

davdw
Автор

hi, i use only cli in windows and wanna checksum for google drive and one drive. however, both seem to have different checksum algorithms. do you have any suggestions on this? i just wanna use google drive as the source and sync everything to one drive. thx.

MrQVeeBoo
Автор

Why did we do the extra hustle on creating the config on the Windows Host and copying the config to the Linux Host. It seems that you can create the config way more straight forward with the rClone GUI after the Docker Deployment.

edit: okay I get it, the gui sucks xD

conan