I am trying to move all files older than 12 weeks on the destination s3 wasabi bucket into a folder called /scheduled-for-completion within the same bucket. When I run the command, large files around 100GB, hang forever and no output occurs. The move commands works with smaller files. I want to see if there is a faster way of moving these files over.
Run the command 'rclone version' and share the full output of the command.
rclone v1.53.3-DEV
os/arch: linux/amd64
go version: go1.18
Which cloud storage system are you using? (eg Google Drive)
Wasabi
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Then, I ran the command again, and after 30 minutes still no movement on the 100GB files. Same log files appeared. I can include again if necessary. If I move files to my local, then it shows movement although very slow.
I was trying to run this command without those flags and getting similar results, and in trying to troubleshoot, I tried to see if setting these valuse --s3-chunk-size and --s3-upload-concurrency had any effect. Honestly, got the idea from a forum post that may have been unrelated, so I am not entirely sure of all their implications and effects. I am running the command again without these flags to verify my result.
Good catch. Didn't spot that. So it turns out that I didn't have the provider set to Wasabi in the config. Guess that part got lost in the setup. So, I added this and that log went away. Here are the new logs:
2022/11/07 11:55:56 DEBUG : rclone: Version "v1.60.0" starting with parameters ["rclone" "--min-age" "12w" "-P" "move" "wasabi:cmtv-backups/data/" "wasabi:cmtv-backups/scheduled-for-deletion/" "--checkers" "16" "--fast-list" "--timeout" "1m" "--log-file=/var/log/rclone.log" "-vv"]
2022/11/07 11:55:56 DEBUG : Creating backend with remote "wasabi:cmtv-backups/data/"
2022/11/07 11:55:56 DEBUG : Using config file from "/home/patmos/.config/rclone/rclone.conf"
2022/11/07 11:55:56 DEBUG : fs cache: renaming cache item "wasabi:cmtv-backups/data/" to be canonical "wasabi:cmtv-backups/data"
2022/11/07 11:55:56 DEBUG : Creating backend with remote "wasabi:cmtv-backups/scheduled-for-deletion/"
2022/11/07 11:55:56 DEBUG : fs cache: renaming cache item "wasabi:cmtv-backups/scheduled-for-deletion/" to be canonical "wasabi:cmtv-backups/scheduled-for-deletion"
2022/11/07 11:55:57 DEBUG : 2022-08-20/cm-prod-api-albert_2022-08-20_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-20/cm-prod-app-joan-1_2022-08-20_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-20/cm-prod-cache-corona_2022-08-20_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-20/cm-prod-db-alexandria_2022-08-20_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-20/cm-prod-fs-martin-1_2022-08-20_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-20/cm-prod-transcoder-newman_2022-08-20_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-27/cm-prod-api-albert_2022-08-27_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-27/cm-prod-app-joan-1_2022-08-27_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-27/cm-prod-cache-corona_2022-08-27_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-27/cm-prod-db-alexandria_2022-08-27_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-27/cm-prod-fs-martin-1_2022-08-27_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-08-27/cm-prod-transcoder-newman_2022-08-27_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-09-03/cm-prod-api-albert_2022-09-03_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-09-03/cm-prod-app-joan-1_2022-09-03_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-09-03/cm-prod-cache-corona_2022-09-03_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-09-03/cm-prod-db-alexandria_2022-09-03_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-09-03/cm-prod-fs-martin-1_2022-09-03_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-09-03/cm-prod-transcoder-newman_2022-09-03_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-09-10/cm-prod-api-albert_2022-09-10_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-09-10/cm-prod-app-joan-1_2022-09-10_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-09-10/cm-prod-cache-corona_2022-09-10_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:57 DEBUG : 2022-09-10/cm-prod-db-alexandria_2022-09-10_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-10/cm-prod-fs-martin-1_2022-09-10_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-10/cm-prod-transcoder-newman_2022-09-10_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-17/cm-prod-api-albert_2022-09-17_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-17/cm-prod-app-joan-1_2022-09-17_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-17/cm-prod-cache-corona_2022-09-17_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-17/cm-prod-db-alexandria_2022-09-17_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-17/cm-prod-fs-martin-1_2022-09-17_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-17/cm-prod-transcoder-newman_2022-09-17_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-24/cm-prod-api-albert_2022-09-24_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-24/cm-prod-app-joan-1_2022-09-24_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-24/cm-prod-cache-corona_2022-09-24_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-24/cm-prod-db-alexandria_2022-09-24_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-24/cm-prod-fs-martin-1_2022-09-24_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:58 DEBUG : 2022-09-24/cm-prod-transcoder-newman_2022-09-24_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-01/cm-prod-api-albert_2022-10-01_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-01/cm-prod-app-joan-1_2022-10-01_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-01/cm-prod-cache-corona_2022-10-01_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-01/cm-prod-db-alexandria_2022-10-01_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-01/cm-prod-fs-martin-1_2022-10-01_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-01/cm-prod-transcoder-newman_2022-10-01_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-08/cm-prod-api-albert_2022-10-08_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-08/cm-prod-app-joan-1_2022-10-08_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-08/cm-prod-cache-corona_2022-10-08_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-08/cm-prod-db-alexandria_2022-10-08_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-08/cm-prod-fs-martin-1_2022-10-08_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-08/cm-prod-transcoder-newman_2022-10-08_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-15/cm-prod-api-albert_2022-10-15_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-15/cm-prod-app-joan-1_2022-10-15_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-15/cm-prod-cache-corona_2022-10-15_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-15/cm-prod-db-alexandria_2022-10-15_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-15/cm-prod-fs-martin-1_2022-10-15_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-15/cm-prod-transcoder-newman_2022-10-15_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-22/cm-prod-api-albert_2022-10-22_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-22/cm-prod-app-joan-1_2022-10-22_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:55:59 DEBUG : 2022-10-22/cm-prod-cache-corona_2022-10-22_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-10-22/cm-prod-db-alexandria_2022-10-22_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-10-22/cm-prod-fs-martin-1_2022-10-22_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-10-22/cm-prod-transcoder-newman_2022-10-22_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-10-29/cm-prod-api-albert_2022-10-29_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-10-29/cm-prod-app-joan-1_2022-10-29_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-10-29/cm-prod-cache-corona_2022-10-29_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-10-29/cm-prod-db-alexandria_2022-10-29_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-10-29/cm-prod-fs-martin-1_2022-10-29_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-10-29/cm-prod-transcoder-newman_2022-10-29_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-11-05/cm-prod-api-albert_2022-11-05_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-11-05/cm-prod-app-joan-1_2022-11-05_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-11-05/cm-prod-cache-corona_2022-11-05_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-11-05/cm-prod-db-alexandria_2022-11-05_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-11-05/cm-prod-fs-martin-1_2022-11-05_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : 2022-11-05/cm-prod-transcoder-newman_2022-11-05_0246_backup.tar: Excluded from sync (and deletion)
2022/11/07 11:56:00 DEBUG : S3 bucket cmtv-backups path scheduled-for-deletion: Waiting for checks to finish
2022/11/07 11:56:00 DEBUG : S3 bucket cmtv-backups path scheduled-for-deletion: Waiting for transfers to finish
2022/11/07 11:56:00 DEBUG : 2022-08-06/cm-prod-fs-martin-1_2022-08-06_0246_backup.tar: Starting multipart copy with 22 parts
2022/11/07 11:56:01 DEBUG : 2022-08-13/cm-prod-fs-martin-1_2022-08-13_0246_backup.tar: Starting multipart copy with 22 parts
I am running the command again to see if I get any changes.
It could be caused by server-side encryption, but why are smaller files successfully moving with this command. I am only experiencing this issue with two large .tar files that are both 100GB in size.
I am removing all flags to see if it changes anything like this:
rclone --min-age 12w -P move wasabi:cmtv-backups/data/ wasabi:cmtv-backups/scheduled-for-deletion/ --log-file=/var/log/rclone.log -vv
Well, I added it naively from another command that one of our developers used in a different command. The timeout flag seemed to be the issue. It took an hour to move all the files, but they succeeded now. In the future, I will be more careful with the flags that I use.
So, to recap. I added provider = Wasabi in my config, and I ran this command: