Slowness when performing backups with BorgBackup and Rclone Mount

What is the problem you are having with rclone?

Lately my backups using the borgbackup tool as a destination for an rclone mount have been behaving extremely slowly, taking about 2 days to back up a few megabytes or gigabyts.

Just over 3 months ago, backups normally took a maximum of 2 to 3 hours.

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

rclone v1.67.0

  • os/version: ubuntu 24.04 (64 bit)
  • os/kernel: 6.8.0-39-generic (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)

Google Drive

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

[Unit]
Description=RClone Mount Backup
Wants=network-online.target
After=network-online.target

[Service]
Type=notify
Environment=RCLONE_CONFIG=/root/.config/rclone/rclone.conf
RestartSec=5
ExecStart=/usr/bin/rclone mount GoogleDrive:Backup /mnt/Rclone/Backup \
--allow-other \
--dir-cache-time 9999h \
--log-level DEBUG \
--log-file /var/log/Rclone/Borg.log \
--poll-interval 10s \
--user-agent "ISV|rclone.org|rclone/v1.67.0" \
--rc \
--rc-addr :5575 \
--rc-no-auth \
--cache-dir=/root/.cache/rclone/mount \
--drive-use-trash \
--vfs-cache-mode full \
--vfs-cache-max-size 100G \
--vfs-read-ahead 256M \
--vfs-cache-max-age 1h \
--vfs-cache-poll-interval 5m
ExecStop=/bin/fusermount -uz /mnt/Rclone/Backup  
ExecStartPost=/usr/bin/rclone rc vfs/refresh recursive=true --rc-addr 127.0.0.1:5575 _async=true
Restart=on-failure
User=root
Group=root

[Install]
WantedBy=default.target

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

[GoogleDrive]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive = 
root_folder_id = 

[Local]
type = local

[M365-edson]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
client_id = XXX
client_secret = XXX
server_side_across_configs = true

[M365-edson_s.barbosa]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
client_id = XXX
client_secret = XXX

[M365-edson_silvasp]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
client_id = XXX
client_secret = XXX

[M365-edsons.barbosa]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
client_id = XXX
client_secret = XXX

[M365-edsons.barbosaj]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
client_id = XXX
client_secret = XXX

[M365]
type = union
upstreams = M365-edson: M365-edson_s.barbosa::ro M365-edson_silvasp::ro M365-edsons.barbosa::ro M365-edsons.barbosaj:

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

Log file with size of 9 GB cannot be pasted

Try with the same rclone version you used 3 months ago. Only if fast again it would mean that problem is with the latest rclone. Otherwise it is not rclone problem.

have you searched the log for ERROR, WARNING or entries related to pacing or retries?

Yes, but I didn't find anything else.

so the issue could be with borgbackup?

Below are the Task Logs, one executed successfully and the other in progress at the time of posting, where it appears to present the same error.

https://drive.google.com/drive/folders/1utEdJL9DDGF87ZvqTuEkts9OvdSFk7uH?usp=sharing

Borg does work with rclone mount however not perfectly

rclone doesn't play well with borgrclone have been thoroughly tested with restic

https://github.com/borgbackup/borg/issues/8325
based on that, you have many non-rclone issues,
including forced to re-install the OS, to newer version of ubuntu, and a newer version of borg.

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