Additional 'Cloud Sync Tasks' parameters.

SKiZZ

Dabbler
Joined
Feb 17, 2022
Messages
27
I am currently on TrueNAS-12.0-U8. When I deployed my encrypted Google Drive with rsync I used the directory_name_encryption parameter. This parameter is not selectible in the the cloud sync task configuration and doesn't appear in cloud_sync.py

Code:
if self.cloud_sync["encryption"]:
                    self.tmp_file.write("[encrypted]\n")
                    self.tmp_file.write("type = crypt\n")
                    self.tmp_file.write(f"remote = {remote_path}\n")
                    self.tmp_file.write("filename_encryption = {}\n".format(
                        "standard" if self.cloud_sync["filename_encryption"] else "off"))
                    self.tmp_file.write("password = {}\n".format(
                        rclone_encrypt_password(self.cloud_sync["encryption_password"])))
                    if self.cloud_sync["encryption_salt"]:
                        self.tmp_file.write("password2 = {}\n".format(
                            rclone_encrypt_password(self.cloud_sync["encryption_salt"])))

                    remote_path = "encrypted:/"


How do I manually add 'directory_name_encryption = true' to the config so I can hopefully see the encrypted files in my encrypted google drive.
 
Last edited:

SKiZZ

Dabbler
Joined
Feb 17, 2022
Messages
27
Or can I just edit the created conf file for this task? If so where is this file?
 

xedarius

Cadet
Joined
Jun 19, 2022
Messages
4
That's a shame as I'd like to disable http2 in rclone, but I have no way of adding the parameter.
 
Top