What is the problem you are having with rclone?
It's not a problem, just a question. At the moment I have my rclone automatically mounted on startup with a systemd service like this:
[Unit]
Description=Mounts a cloud directory for Server backups.
AssertPathIsDirectory=/mnt/cloud/ServerBackups/borg
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/rclone mount \
--config=/root/.config/rclone/rclone.conf \
--vfs-cache-mode writes \
--allow-other \
cloud:/ServerBackups/borg /mnt/cloud/ServerBackups/borg
ExecStop=/bin/fusermount -u /mnt/cloud/ServerBackups/borg
Restart=always
RestartSec=10
[Install]
WantedBy=default.target
This works fine. However, here I read that systemd mount / automount units are recommended. Would it have any performance improvement if I switch from my simple systemd service to a systemd mount / automount unit? Speed is crucial in my scenario. That's why I'm asking. I also read that it's possible to add a line in /etc/fstab
. Would this be even faster? Thank you.
Run the command 'rclone version' and share the full output of the command.
rclone v1.67.0
- os/version: debian 11.11 (64 bit)
- os/kernel: 5.10.0-31-cloud-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
webdav
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount --config=/root/.config/rclone/rclone.conf --vfs-cache-mode writes --allow-other cloud:/ServerBackups/borg /mnt/cloud/ServerBackups/borg
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[cloud]
type = webdav
url = https://XXX.com
vendor = other
user = XXX
pass = XXX
A log from the command that you were trying to run with the -vv
flag
Irrelevant.