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

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

ความคิดเห็น • 48

  • @boyy2411
    @boyy2411 ปีที่แล้ว +5

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

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      You're too kind! (Thanks 👍)

  • @iamaduckquack
    @iamaduckquack 4 หลายเดือนก่อน +4

    Nice to see one of the Weasely twins doing well.

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน +4

      It's been tough since deathly hallows part 2 wrapped up but managing to make ends meet.

  • @SRG-Learn-Code
    @SRG-Learn-Code 7 หลายเดือนก่อน +1

    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.

    • @Jims-Garage
      @Jims-Garage  7 หลายเดือนก่อน

      Very kind words, thank you!

  • @garylovesbeer
    @garylovesbeer 2 หลายเดือนก่อน +1

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

    • @Jims-Garage
      @Jims-Garage  2 หลายเดือนก่อน

      You're welcome 😁

  • @JC-zl7sq
    @JC-zl7sq ปีที่แล้ว +3

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

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      Glad it helped, a really useful feature of rClone.

  • @BenReese
    @BenReese 24 วันที่ผ่านมา +1

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

    • @Jims-Garage
      @Jims-Garage  23 วันที่ผ่านมา +1

      @@BenReese you can mount it directly using a docker container as well. Nice and lightweight, have used it this way for years.

    • @BenReese
      @BenReese 20 วันที่ผ่านมา

      @@Jims-Garage that's kinda what I have planned. I want a Docker container with both Rclone and Samba. Though - I suppose they could be separate containers pointing at the same mount 🤔 🤔
      Regardless.... The SMB/CIFS would make that easier to use as backup on any/all Proxmox servers.

  • @saxinat0r
    @saxinat0r 8 หลายเดือนก่อน +1

    This worked great. Thank you so much!

    • @Jims-Garage
      @Jims-Garage  8 หลายเดือนก่อน

      That's great, appreciate the feedback

  • @conan1231
    @conan1231 7 หลายเดือนก่อน

    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.

  • @diginomad6016
    @diginomad6016 ปีที่แล้ว +2

    Commenting to trick TH-cam algorithm

  • @leodsouza5272
    @leodsouza5272 ปีที่แล้ว +2

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

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว

      If you're connecting to Google Drive you'll need them. They're basically your login credentials.
      Other providers might have something different. Check the documentation on the rClone website for specific remotes.

  • @nihoniumog5185
    @nihoniumog5185 ปีที่แล้ว +2

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

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      You need to specify an external cloud provider (or use local), and the cloud providers will be authenticated. The Google cloud one is perhaps the most complicated but it is popular. I suspect that the other, smaller providers might be more straightforward (e.g. just a token).

  • @vikasgupta1828
    @vikasgupta1828 หลายเดือนก่อน +1

    Thanks

    • @Jims-Garage
      @Jims-Garage  หลายเดือนก่อน

      @@vikasgupta1828 you're welcome 😁

  • @user-nk2lz6ir5r
    @user-nk2lz6ir5r 7 หลายเดือนก่อน +1

    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.

    • @Jims-Garage
      @Jims-Garage  7 หลายเดือนก่อน

      You mount it with rClone. Then it's a simple case of copying like regular files.

  • @MrQVeeBoo
    @MrQVeeBoo 8 หลายเดือนก่อน

    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.

  • @conan1231
    @conan1231 7 หลายเดือนก่อน +1

    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

    • @Jims-Garage
      @Jims-Garage  7 หลายเดือนก่อน +1

      Yeah... I hope it is improved over time.

  • @gmansi
    @gmansi ปีที่แล้ว +1

    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.

    • @Jims-Garage
      @Jims-Garage  ปีที่แล้ว +1

      Yes, you could mount a cloud location to your host, and then save restic to that mounted location. rClone should then upload and sync it automatically.

    • @gmansi
      @gmansi ปีที่แล้ว

      @@Jims-Garage Thank you very much for the answer Jim, but I was referring to the technique of creating "snapshots" instead of synchronizing

  • @antonevseev2708
    @antonevseev2708 9 หลายเดือนก่อน +1

    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.

    • @Jims-Garage
      @Jims-Garage  9 หลายเดือนก่อน +1

      Sync_script is mounted into the container, remote-upload goes onto a user machine for manual execution.

    • @antonevseev2708
      @antonevseev2708 9 หลายเดือนก่อน +1

      ah, i see now! It works, thanks a lot@@Jims-Garage

    • @FilipeNeto616
      @FilipeNeto616 4 หลายเดือนก่อน +1

      @@Jims-Garage Didn't quite understand how the sync-script can be triggered, shouldn't be automatically triggered whenever there is a new (changed) file on /home/ubuntu/truenas folder?

    • @Jims-Garage
      @Jims-Garage  4 หลายเดือนก่อน +1

      @@FilipeNeto616 no, the script is not automatic but can be run as a cron job, a mount would automatic as it's essentially a network share.

  • @racingtheweb
    @racingtheweb 2 หลายเดือนก่อน +1

    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

    • @Jims-Garage
      @Jims-Garage  2 หลายเดือนก่อน

      Keep a copy of the encryption keys, that's all you need.

    • @racingtheweb
      @racingtheweb 2 หลายเดือนก่อน +1

      @@Jims-Garage So do I need to create a new remote, edit the previous one, or what? Where am I supposed to enter my old encryption key? Sorry to bother and thanks

    • @Jims-Garage
      @Jims-Garage  2 หลายเดือนก่อน

      @@racingtheweb All of that is held in your config file. Simply copy the file and reuse it. Location varies depending on OS (but it's very quick to be up and running again).

    • @racingtheweb
      @racingtheweb 2 หลายเดือนก่อน

      @@Jims-Garage Ok I'll check this out, thank you

    • @dav1dw
      @dav1dw 2 หลายเดือนก่อน

      you should always backup your rclone.conf file, but if your laptop is stolen, you probably want to rotate your keys or passwords just in case.

  • @dav1dw
    @dav1dw 2 หลายเดือนก่อน +1

    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.

    • @Jims-Garage
      @Jims-Garage  2 หลายเดือนก่อน

      Nice one, I used to have a similar setup.

    • @dav1dw
      @dav1dw 2 หลายเดือนก่อน +1

      @@Jims-Garage I forgot to add, I used the encrypt and union to combine 5 remotes into one remote.

    • @Jims-Garage
      @Jims-Garage  2 หลายเดือนก่อน

      @@dav1dw that's great. I haven't managed to use that yet!