Local Crypt - Manual Backup to Remote Possible? (with Filename Obfuscation)

Hi all,

I'm thinking of manually uploading some files to a remote cloud service with no rclone support yet. I want to encrypt the files so I'm thinking of just doing everything with rclone, by setting up a local crypt endpoint, performing a "sync" and let rclone deal with encryption on the fly.

Q1 - will this work?
Q2 - for Filename / Directory obfuscation, will the following work?

Let's say I have a file stored under directories a, b, and c named d:
/local/a/b/c/d with local being set up as an endpoint.

Naturally, after encryption the file path will have the following form:
/crypt/a_encrypted/b_encrypted/c_encrypted/d_encrypted

Can I just upload d_encrypted file to remove, and when I want to recover, drop into /crypt and mount to retrieve the original copy, without having to maintain the folder structure? Or do I also have to upload the file with a_encrypted/b_encrypted/c_encrypted set up as well?

Side note - how is this implemented in rclone? Does the file header store all the info I needed so that strictly maintaining the folder structure upon recovery is no longer needed?

Coz I know rclone is capable of decrypting a_encrypted/b_encrypted/c_encrypted/d_encrypted into a/b/c/d, so where exactly is the mapping stored? And is decrption without a_encrypted/b_encrypted/c_encrypted possible?

Thanks.

Yes you can. Every object (file or directory) is encrypted independently

All described in docs.

It is explicitly defined by encrypted filesystem structure...

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