Encrypt Backup of ownCloud

What is the problem you are having with rclone?

rclone runs great, so no problem, just wondering if it's possible to encrypt downloaded/synchronized files from an ownCloud instance (and how to do it if it is). I have my own instance of ownCloud running at my house and I have a small (Raspberry Pi 3) backup server at a remote location. The RasPi server rclones once each night to sync files on a read-only basis down from the ownCloud instance to the RasPi server.

Question: Can I use rclone to encrypt the files I've downloaded to the RasPi server? If so, any trick to the configuration setup?

I've seen a number of posts on how to encrypt files uploaded to a cloud server, but haven't seen anything directly on point to this. This way, if the drive walks away at some point, the files are protected. I'd only access the files in the event that my ownCloud server dies.

Thanks for your help, and I apologize if I'm being obtuse about how to accomplish this.

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

rclone v1.64.2
- os/version: raspbian 11.8 (64 bit)
- os/kernel: 6.1.21-v8+ (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.21.3
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

ownCloud v10.13.2.3

The command you were trying to run (eg rclone copy /tmp remote:tmp)


Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

type = webdav
url = https://XXXXXXX.com/owncloud/remote.php/webdav
vendor = owncloud
user = XXX
pass = XXX

A log from the command that you were trying to run with the -vv flag


Your post is impossible to read.... would you mind to reformat first paragraph?

Do not put text in triple backticks - what works great for logs etc. does not for normal text.

EDIT - Thx:)

Sorry, reformatted.

1 Like

So you have your cloud storage (ownCloud) then you run rclone on RPi and copy/sync files from it to some HDD/SDD connected to RPi? And you would like those files to be encrypted?

Yes, if possible.

Of course you can use rclone for this. Simply create crypt remote pointing into some folder on your external drive (where encrypted data will live) - it will look like this:

type = crypt
remote = /mnt/myExternalDriveMountPoint/encyptedFolder
password = XXX
password2 = XXX

and then:

rclone sync owncloud:source secret:

However I think the better approach would be to use Linux full disk encryption instead of rclone - e.g. How to Encrypt an External Hard Drive on Linux (with Pictures).

Either way will work.

Thank you so much!

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