I have a laptop connected via ethernet to my router and then to FIOS. It should be a really decent connection.
What I am wanting to do is mount my pCloud account for two things. First I would like to use it just like any other fuse mounted file system (edit, copy, save files etc etc, standard stuff). The second thing, and where I am having issues, I would like to do is to be able to use BorgBackup or restic to backup pCloud via the mount. These might use two separate sets of rclone mount parameters.
I am currently mounting pCloud using the systemd automount. My fstab is:
rclonefs#pCloudCache: /cloud/pcloud fuse config=/home/username/.config/rclone/rclone.conf,allow-other,default-permissions,max-read-ahead=16M,noauto,x-systemd.automount,x-systemd.idle-timeout=300s,vfs-cache-mode=full,dir-cache-time=10s,cache-info-age=5s,_netdev 0 0
And my clone.conf for that section is:
[pCloudCache]
type = cache
remote = pCloud:
chunk_size = 3M
info_age = 1m0s
chunk_total_size = 500M
When I use this as a standard kind of fuse mounted fs things seem kind of decent. But when I try to do a backup of the mount it gets really, really slow. (I understand the first backup has to download all the data ).
I want to backup data on the order of 60G and it is just standard kind of files (not large files like movies).
To do some tests, I tried doing just an rsync on a sub-directory to a local filesystem:
rsync -avz --stats /cloud/pcloud/Documents/computing delete/
I did this to rule out de-duplication, compression, encryption time that the backup software might do. But even the rsync was slow. It actually ran overnight and it is only about 300M of data in that sub-directory.
Rclone has a lot of parameters and I love parameters, but I would appreciate any advice on what I can change to see about getting better read-only performance. I guess there are even two parts to that, first is the initial download and for subsequent backups I suspect it just needs to check the stat on the file to see if it changed (let’s ignore inodes for now).
rclone v1.42
- os/arch: linux/amd64
- go version: go1.10.3