Moving files and folders from GDrive crypt mount to TeamDrive/Shared Drive crypt

What is the problem you are having with rclone?

I have GDrive and a Shared Drive/Team Drive. Both are encrypted, but I had set the Shared Drive/Team Drive up AFTER the GDrive and after that started saving everything there so that's where the bulk of my stuff is. I use mergerfs to create merger mounts to fuse them together so Plex sees them both and its not a problem. I got an email from Google, the ol' "were switching you to Workspaces" which is OK, but this might not bode well for GDrive as they will take away that "unlimited space".

I figure I should probably start moving those movies and tv shows over to the Shared/Team drive before the switch. I've read from different rclone help posts the easiest way to do that is using the Google Drive GUI and just dragging and dropping. I mean its all gibberish (because it's encrypted) but my question is this:

Won't this not work because the GDrive mount and its crypt have a different private/public key pairs than the Shared/Team drive and its crypt's public/private key? Wouldn't it need to be decrypted first and then moved? Is there an easy way to do this? Am I wrong (I hope?)

Run the command 'rclone version' and share the full output of the command.

rclone v1.59.1
- os/version: ubuntu 18.04 (64 bit)
- os/kernel: 5.8.12-050812-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.18.5
- go/linking: static
- go/tags: none

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)

N/A

The rclone config contents with secrets removed.

GDrive mount

[Unit]
Description=Google Drive (rclone)
Wants=network-online.target
After=network-online.target
Before=docker.service

[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/td00/.config/rclone/rclone.conf

ExecStart=/usr/bin/rclone mount crypt: /home/td00/mnt/gdrive
--allow-other
--dir-cache-time 24h
--log-level INFO
--log-file /home/td00/logs/rclone.log
--timeout 1h
--cache-db-purge
--vfs-cache-mode full
--vfs-cache-max-size 50G
--vfs-cache-max-age 30m
ExecStop=/bin/fusermount -u /home/td00/mnt/gdrive
Restart=on-failure
User=td00
Group=td00

[Install]
WantedBy=multi-user.target

TeamDrive Mount

[Unit]
Description=Google Drive TeamDrive (rclone)
Wants=network-online.target
After=network-online.target
Before=docker.service

[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/td00/.config/rclone/rclone.conf

ExecStart=/usr/bin/rclone mount crypt3: /home/td00/mnt/teamdrive1
--rc
--allow-other
--dir-cache-time 24h
--log-level INFO
--log-file /home/td00/logs/rclone.log
--timeout 1h
--vfs-cache-mode full
--vfs-cache-max-size 100G
--vfs-cache-max-age 30m
ExecStop=/bin/fusermount -u /home/td00/mnt/teamdrive1
Restart=on-failure
User=td00
Group=td00

[Install]
WantedBy=multi-user.target

A log from the command with the -vv flag

N/A

You haven't posted your redacted rclone config file rclone config show but if you used the same password and password2 for the two crypts and the same settings you can move things between them.

If you didn't then you will need to decrypt and then re-encrypt.

Damn. They are different passwords. Sigh, OK thanks for the help!

1 Like

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