Encrypt folder on the same un-encrypted Google Drive

What is the problem you are having with rclone?

Not a problem per se, but a question! I tried to search on this, but couldn't really find anything. Sorry if I missed something obvious.

I have a pretty large unencrypted folder on my Google Drive, about 110-120TB. I really want to encrypt it, and I know it's possible using rclone crypt option.

But, how is the smartest way to go about this?
If I want to encrypt a folder on the same drive, will I still be "hit" by the 750GB a day limit?
Anyone has any experience in doing this on the same drive?

I really want to get rid of my unencrypted folder, and get it replaced with an encrypted one.

What is your rclone version (output from rclone version)

rclone v1.56.0
- os/version: ubuntu 21.04 (64 bit)
- os/kernel: 5.11.0-25-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.16.5
- go/linking: static
- go/tags: none

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Linux CZ 5.11.0-25-generic #27-Ubuntu SMP Fri Jul 9 23:06:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu
Description:    Ubuntu 21.04
Release:        21.04
Codename:       hirsute

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

None yet! I'm wondering what's the smartest way to go about this, since the unencrypted folder is stupidly large.

The rclone config contents with secrets removed.

[gcd-admin]
type = drive
client_id = xxx
client_secret = xxx
token = xxx
scope = drive

[ssh-amd]
type = sftp
host = XXX.XXX.XXX.XXX
user = XXX
port = 22
pass = FTGNYpX9j5uimOdO_4lBrtXsW6XXoVoy0B
use_insecure_cipher = false
md5sum_command = md5sum
sha1sum_command = sha1sum

[ssh-appbox]
type = sftp
host = ssh.xxx.co
user = xxx
port = 10056
pass = Qg1x3axxx_MI8Vc4GJzMa3dNUSqEBD7UiU
use_insecure_cipher = false
md5sum_command = md5sum
sha1sum_command = sha1sum

It's the [gcd-admin] remote in question here

A log from the command with the -vv flag

Not relevant I think

hello,

  • you need to create a crypt remote on the same drive and rclone copy from the gdrive remote to the crypt remote.

  • you would hit the 750GB limit.

  • for each file, rclone will have to download it, a chunk at a time, encrypt a chunk and then copy that chunk to the crypt remote.
    you can run rclone on your local hardware and using local bandwidth.
    or
    you can get a free/cheap virtual machine from google cloud and run rclone on that.
    there is no charge for ingress/egress to/from gdrive.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.