[18.1.10] Nextcloud Backup Issues

Started by dudeman21, June 24, 2018, 12:03:24 AM

Previous topic - Next topic
There is a (typing) error in the code that creates the filename that explain the time issue.

I have raised the issue on GitHub


I'll be honest, if I am uploading my own configurations to my own Nextcloud server, then I should be able to send it without any encryption.
The choice to do so would be nice.

Right now i changed the following lines in "/usr/local/opnsense/mvc/app/library/OPNsense/Backup/Nextcloud.php":
                $this->upload_file_content(
                    $url,
                    $username,
                    $password,
                    $backupdir,
                    $configname,
                    $confdata_enc
                );

To this:
                $this->upload_file_content(
                    $url,
                    $username,
                    $password,
                    $backupdir,
                    $configname,
                    $confdata
                );

This uploads the data without any encryption.