STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.
What is the problem you are having with rclone?
I'm trying to crontab a backup from my linux server with rclone to a Hetzner storage box.
As I would like to back up the full /opt directory, I used that command:
rclone sync --progress --skip-links --fast-list /opt/ backup_1:opt
But I am getting spammed with the following errors:
ERROR : gitlab/rh/data/postgresql/data/pg_stat_tmp/db_0.stat: Failed to calculate dst hash: failed to calculate md5 hash: failed to run "md5sum -r /home/opt/gitlab/rh/data/postgresql/data/pg_stat_tmp/db_0.stat": md5: /home/opt/gitlab/rh/data/postgresql/data/pg_stat_tmp/db_0.stat: No such file or directory: Process exited with status 1
This not only occurs with .stat files, also with .tar.gz and some others.
Funny enough, if I use --ignore-checksum
, I am still getting that error.
Also, I noted that many files were erroring with this error:
corrupted on transfer: MD5 hash differ "53a0e5a5db26301f97d390a51155cae7" vs ""
So I thought that has to do with the data transfer itself.
So I googled and found that Hetzner only supports 10 connections at a time.
So, I added --transfers=3
and --checksrs=6
to the command.
But still, the same issue.
Any ideas what I am doing wrong?
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
- os/version: almalinux 8.8 (64 bit)
- os/kernel: 4.18.0-348.12.2.el8_5.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Hetzner storage box
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync --progress --skip-links --fast-list /opt/ backup_1:opt
The rclone config contents with secrets removed.
[backup_1]
type = sftp
host = redacted
user = redacted
port = 23
pass = redacted
md5sum_command = md5sum -r
sha1sum_command = sha1 -r
shell_type = unix
A log from the command with the -vv
flag
Would be ways to long - rclone is trying to clone 10GB.