What is the problem you are having with rclone?
I'm trying to use rclone to do a backup of my Google Photos collection on a local directory.
Everything seems to go fine (i.e. it downloaded ~36GB of files, and I can see photos and videos in local directory tree as I expected), but it seems that rclone gets stuck copying some video files.
When i run it with the --progress
flag it keep saying "transferring" on the same files, even after several hours, like this:
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 25916 / 25916, 100%
Transferred: 0 / 13, 0%
Elapsed time: 2h5m47.6s
Transferring:
* 2019/2019-09/GH014601_…8306105616399_high.MP4: transferring
* 2019/2019-09/GH014603_…8306105616399_high.MP4: transferring
* 2019/2019-10/GH014626_…8306105616399_high.MP4: transferring
* 2019/2019-10/GH014627_…8306105616399_high.MP4: transferring
It seems to stop always on the same files. I identified some of them on Google Photo, and they are mostly short clips (~30s, often less than 50 MB of size).
When I exclude .mp4 and .mov files with something like --exclude *.MP4
the job completes nicely.
Is there a way to solve the problem, or at least ignore the files causing trouble and get a list of them, so at least the job can complete and I can retrieve them at least manually?
What is your rclone version (output from rclone version
)
$ rclone version
rclone v1.49.5
- os/arch: linux/amd64
- go version: go1.12.10
Which OS you are using and how many bits (eg Windows 7, 64 bit)
$ hostnamectl status
...
Operating System: Ubuntu 18.04.3 LTS
Kernel: Linux 4.15.0-65-generic
Architecture: x86-64
Which cloud storage system are you using? (eg Google Drive)
Google Photos
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
flock -n '/srv/storage/Google Photo/media/' rclone sync GoogleFoto:media/by-month '/srv/storage/Google Photo/media/'
(I'm using cron to run rclone, and I'm using flock
to lock a directory and prevent multiple concurrent processes doing the same thing)
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
Here's an excerpt from the log (I can put the full log on pastebin if needed):
2019/10/24 12:51:24 DEBUG : pacer: low level retry 1/10 (error (500 500 Internal Server Error))
2019/10/24 12:51:24 DEBUG : pacer: Rate limited, increasing sleep to 16.626225582s
2019/10/24 12:51:42 DEBUG : pacer: low level retry 10/10 (error (500 500 Internal Server Error))
2019/10/24 12:51:42 DEBUG : pacer: Rate limited, increasing sleep to 16.800405089s
2019/10/24 12:51:42 DEBUG : 2019/2019-09/InShot_20190924_162218079.mp4: >Open:
2019/10/24 12:51:42 DEBUG : 2019/2019-09/InShot_20190924_162218079.mp4: Received error: failed to open source object: (500 500 Internal Server Error) - low level retry 1/10
2019/10/24 12:51:42 DEBUG : 2019/2019-09/InShot_20190924_162218079.mp4: Size:
2019/10/24 12:51:42 DEBUG : 2019/2019-09/InShot_20190924_162218079.mp4: >Size:
2019/10/24 12:51:42 DEBUG : 2019/2019-09/InShot_20190924_162218079.mp4: Open:
2019/10/24 12:51:57 DEBUG : pacer: low level retry 10/10 (error (500 500 Internal Server Error))
2019/10/24 12:51:57 DEBUG : pacer: Rate limited, increasing sleep to 16.751940337s
2019/10/24 12:51:57 DEBUG : 2019/2019-09/GH014601_ALTA-1643738306105616399_high.MP4: >Open:
2019/10/24 12:51:57 DEBUG : 2019/2019-09/GH014601_ALTA-1643738306105616399_high.MP4: Received error: failed to open source object: (500 500 Internal Server Error) - low level retry 1/10
2019/10/24 12:51:57 DEBUG : 2019/2019-09/GH014601_ALTA-1643738306105616399_high.MP4: Size:
2019/10/24 12:51:57 DEBUG : 2019/2019-09/GH014601_ALTA-1643738306105616399_high.MP4: >Size:
2019/10/24 12:51:57 DEBUG : 2019/2019-09/GH014601_ALTA-1643738306105616399_high.MP4: Open:
2019/10/24 12:52:14 DEBUG : pacer: low level retry 10/10 (error (500 500 Internal Server Error))
2019/10/24 12:52:14 DEBUG : pacer: Rate limited, increasing sleep to 16.391133203s
2019/10/24 12:52:14 DEBUG : 2019/2019-09/GH014603_ALTA-1643738306105616399_high.MP4: >Open:
2019/10/24 12:52:14 DEBUG : 2019/2019-09/GH014603_ALTA-1643738306105616399_high.MP4: Received error: failed to open source object: (500 500 Internal Server Error) - low level retry 1/10
2019/10/24 12:52:14 DEBUG : 2019/2019-09/GH014603_ALTA-1643738306105616399_high.MP4: Size:
2019/10/24 12:52:14 DEBUG : 2019/2019-09/GH014603_ALTA-1643738306105616399_high.MP4: >Size:
2019/10/24 12:52:14 DEBUG : 2019/2019-09/GH014603_ALTA-1643738306105616399_high.MP4: Open:
2019/10/24 12:52:19 INFO :
Transferred: 56.043M / 56.043 MBytes, 100%, 191.075 kBytes/s, ETA 0s
Errors: 0
Checks: 26466 / 26466, 100%
Transferred: 118 / 196, 60%
Elapsed time: 5m0.3s
Transferring:
* 2019/2019-09/VID_20190920_104807.mp4: transferring
* 2019/2019-09/InShot_20190924_162218079.mp4: transferring
* 2019/2019-09/GH014601_…8306105616399_high.MP4: transferring
* 2019/2019-09/GH014603_…8306105616399_high.MP4: transferring
2019/10/24 12:52:31 DEBUG : pacer: low level retry 2/10 (error (500 500 Internal Server Error))
2019/10/24 12:52:31 DEBUG : pacer: Rate limited, increasing sleep to 16.049753207s
2019/10/24 12:52:49 DEBUG : pacer: low level retry 1/10 (error (500 500 Internal Server Error))
2019/10/24 12:52:49 DEBUG : pacer: Rate limited, increasing sleep to 16.205664469s
2019/10/24 12:53:03 DEBUG : pacer: low level retry 1/10 (error (500 500 Internal Server Error))
2019/10/24 12:53:03 DEBUG : pacer: Rate limited, increasing sleep to 16.4273424s
2019/10/24 12:53:19 DEBUG : pacer: low level retry 1/10 (error (500 500 Internal Server Error))
2019/10/24 12:53:19 DEBUG : pacer: Rate limited, increasing sleep to 16.333723774s