I need to encrypt files that I already have uploaded on dropbox. They are TiB and TiB of files so its impossible to download all files and reupload them through a crypt remote (standard encryption). What I was trying is an rclone moveto, moving from source (my dropbox remote, not encrypted) to destination (my dropbox remote, encrypted). This works and I can encrypt and move the files to the encrypted remote without downloading and then reuploading. This is ok but the problem is that I have so many files on dropbox to encrypt, I need a fast way to make this a batch fast task. It takes a lot of time, a lot of bandwith and I usually hit rate limits so this is 0% viable for me.
I was looking for something like --drive-server-side-across-configs=true, so it takes no bandwith and very little time to move the files to the encrypted remote (keep in mind that source is not encrypted and destinations is encrypted, although they are the same path/folder).
I know there is an option for doing this operation in a fast way between encrypted remotes (using --crypt-server-side-across-configs flag), but I haven´t found any option for doing this operation the same way between an unencrypted remote and an encrypted one.
I would be very grateful if someone could help me with this specific issue. Thanks!
Thank you very much. So then there is no possibility of encrypting my dropbox files without using bandwidth right? No way of doing that as an internal server-side operation I mean.
One important fact is that I only need to encrypt the filename, not the file content. Thats why I´m looking for something that is equivalent to a rename operation. I want to hide my filenames to dropbox, not their content itself. So I need something that changes the filename and the extension (I have tried renaming the file adding .bin but the file gets corrupt and doesn´t work).
and this way I could move my files as an internal move operation without taking hours and bandwidth? (as with --drive-server-side-across-configs=true).
Sharing the passwords doesn't matter as this is a local thing for me and going to be removed anyway.
[test]
type = alias
remote = /data/test
[testcrypt]
type = crypt
remote = test:crypt
password = 9xQ4lOGX8DPmK_1cWXJkQghPr_DkVZM-HRpEbBbl4tLPZ9-cTPP_lUWNzD7rgMtYZgyLwRyTD5_nr5q2A6bsrwObFsMLSs3n5eTsgd1FyQWT8wI8FG1sEvhC6XEEhG0AoVqO0Oab_qTfcaXw3jY4N-bdoPzr1TYJBGzSeVvkRqjih9YcBNBqR4wAwHCASRjE-kat5eLpc9nZdKU5S9Q8g-JDzwX0qcTi1jvhk7v4O6DnmjChEezb3Pkhow
password2 = L6YkE6OgnLoKsqIpcFqAP4daHjkJEQd6FryMyCn7Jp5jP4FHV5ZU5rSgIvh_O9goN_pXr9kgx1HMhUz8V3GHw38eN4GpGHO5CE7qOAJ1XGqkmyNnpkfyXvJNl0J5aAlMyju3VYHqnuUOpbca0cilh5AOi8ti8mO2CYTUEHGhnK-P40P2jS2axEwPVSB1evhFPgn1FHfUZEn-uiRmu3drIxcgXM98otkqU4f1OG1TUtt3l_pa1dnxMFhzjQ
directory_name_encryption = true
filename_encryption = standard
no_data_encryption = true
That's my rclone.conf
Here's an example of moving one file via rclone.
felix@gemini:/data/test$ vi file
felix@gemini:/data/test$ cat file
This is a test file
felix@gemini:/data/test$ rclone copyto test:file testcrypt:file
felix@gemini:/data/test$ cd crypt/
felix@gemini:/data/test/crypt$ cat k072gvbe6gitl3j2u47snvg7c8
This is a test file
felix@gemini:/data/test/crypt$ ls -al
total 4
drwxrwxr-x 1 felix felix 52 Aug 4 10:25 .
drwxrwxr-x 1 felix felix 18 Aug 4 10:25 ..
-rw-rw-r-- 1 felix felix 20 Aug 4 10:25 k072gvbe6gitl3j2u47snvg7c8
So you get a name there.
Test doing that to see if that works and does it server side. I'm not sure if it does or does not.
If not, you have to manually move a file to the crypt name and generate all the names / move scripts.