--dry-run and the Remote does not exist

What is the problem you are having with rclone?

Using --dry-run and the Remote does not exist does not give an error. It should inform you that the remote does not exist!

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

Version V1.65.2

Which cloud storage system are you using? (eg Google Drive)

Local Storage

Paste command here
rclone copy F:\Soft X:\Soft\Backup --dry-run

Maybe include some output? What are you expecting to happen? What remote doesn't exist? There are no remotes at all in that command as those are local paths.

rclone copy /garbage /temp --dry-run -vv
2024/03/25 19:47:17 DEBUG : rclone: Version "v1.65.2" starting with parameters ["rclone" "copy" "/garbage" "/temp" "--dry-run" "-vv"]
2024/03/25 19:47:17 DEBUG : Creating backend with remote "/garbage"
2024/03/25 19:47:17 DEBUG : Using config file from "/Users/texter/.config/rclone/rclone.conf"
2024/03/25 19:47:17 DEBUG : Creating backend with remote "/temp"
2024/03/25 19:47:17 ERROR : Local file system at /garbage: error reading source root directory: directory not found
2024/03/25 19:47:17 DEBUG : Local file system at /temp: Waiting for checks to finish
2024/03/25 19:47:17 DEBUG : Local file system at /temp: Waiting for transfers to finish
2024/03/25 19:47:17 ERROR : Attempt 1/3 failed with 1 errors and: directory not found
2024/03/25 19:47:17 ERROR : Local file system at /garbage: error reading source root directory: directory not found
2024/03/25 19:47:17 DEBUG : Local file system at /temp: Waiting for checks to finish
2024/03/25 19:47:17 DEBUG : Local file system at /temp: Waiting for transfers to finish
2024/03/25 19:47:17 ERROR : Attempt 2/3 failed with 1 errors and: directory not found
2024/03/25 19:47:17 ERROR : Local file system at /garbage: error reading source root directory: directory not found
2024/03/25 19:47:17 DEBUG : Local file system at /temp: Waiting for checks to finish
2024/03/25 19:47:17 DEBUG : Local file system at /temp: Waiting for transfers to finish
2024/03/25 19:47:17 ERROR : Attempt 3/3 failed with 1 errors and: directory not found
2024/03/25 19:47:17 NOTICE:
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         0.0s

2024/03/25 19:47:17 DEBUG : 5 go routines active
2024/03/25 19:47:17 Failed to copy: directory not found

That errors.

Yes, by mistake I put the wrong remote (local), it was L:\ and I put X:\ , but shouldn't it give an error? If the Origin is wrong, I receive an error.

If you share some output, that would be superb. No idea.

I found it very strange, but it's a simple command, I believe you can test it. If you use Windows.

It's your report.

So if you want to report it, share the details. That's why we have the template as this is a waste of time.

Just don't report it next time if you are not willing to put a little effort here.

I did a simulation here, see part of the log:

2024/03/25 21:05:52 DEBUG : rclone: Version "v1.65.2" starting with parameters ["rclone" "copy" "J:\F_WORKS\_INFORMACOES_IMPORTANTES" "X:\apagartestes" "--dry-run" "-vv"]
2024/03/25 21:05:52 DEBUG : Creating backend with remote "J:\F_WORKS\_INFORMACOES_IMPORTANTES"
2024/03/25 21:05:52 DEBUG : Using config file from "C:\Users\Humberto\.config\rclone\rclone.conf"
2024/03/25 21:05:52 DEBUG : fs cache: renaming cache item "J:\F_WORKS\_INFORMACOES_IMPORTANTES" to be canonical "//?/J:/F_WORKS/_INFORMACOES_IMPORTANTES"
2024/03/25 21:05:52 DEBUG : Creating backend with remote "X:\apagartestes"
2024/03/25 21:05:52 DEBUG : fs cache: renaming cache item "X:\apagartestes" to be canonical "//?/X:/apagartestes"
2024/03/25 21:05:52 DEBUG : favoritos_15_08_2023.html: Need to transfer - File not found at Destination
2024/03/25 21:05:52 DEBUG : favoritos_23_07_2023.html: Need to transfer - File not found at Destination
2024/03/25 21:05:52 DEBUG : INSTALL-GRAFICO-XRSP-LINUX-UBUNTO.txt: Need to transfer - File not found at Destination
2024/03/25 21:05:52 NOTICE: favoritos_15_08_2023.html: Skipped copy as --dry-run is set (size 105.157Ki)
2024/03/25 21:05:52 DEBUG : SER-CONSCIENTE.txt: Need to transfer - File not found at Destination
2024/03/25 21:05:52 DEBUG : teamviwer-win8-hp8200.jfif: Need to transfer - File not found at Destination
2024/03/25 21:05:52 NOTICE: favoritos_23_07_2023.html: Skipped copy as --dry-run is set (size 74.057Ki)
2024/03/25 21:05:52 NOTICE: INSTALL-GRAFICO-XRSP-LINUX-UBUNTO.txt: Skipped copy as --dry-run is set (size 102)
2024/03/25 21:05:52 NOTICE: SER-CONSCIENTE.txt: Skipped copy as --dry-run is set (size 399)
2024/03/25 21:05:52 DEBUG : temp7.txt: Need to transfer - File not found at Destination
2024/03/25 21:05:52 DEBUG : temp8.txt: Need to transfer - File not found at Destination
2024/03/25 21:05:52 NOTICE: teamviwer-win8-hp8200.jfif: Skipped copy as --dry-run is set (size 211.670Ki)
2024/03/25 21:05:52 NOTICE: temp7.txt: Skipped copy as --dry-run is set (size 2.886Ki)
2024/03/25 21:05:52 NOTICE: temp8.txt: Skipped copy as --dry-run is set (size 4.136Ki)
2024/03/25 21:05:52 DEBUG : 000 - VPS - EXPRESS - BAHIA/DADOS.txt: Need to transfer - File not found at Destination
2024/03/25 21:05:52 DEBUG : 000 - VPS - BAHIA/DADOS.txt: Need to transfer - File not found at Destination
2024/03/25 21:05:52 DEBUG : 000 - VPS - DYNU/Informacoes.txt: Need to transfer - File not found at Destination
2024/03/25 21:05:52 NOTICE: 000 - VPS - DYNU/Informacoes.txt: Skipped copy as --dry-run is set (size 338)
2024/03/25 21:05:52 DEBUG : 000 - VPS - BAHIA/TEMAVIEWER.PNG: Need to transfer - File not found at Destination
2024/03/25 21:05:52 DEBUG : 000 - ORBI ORCAMENTOS HOSTINGER/Capturar.JPG: Need to transfer - File not found at Destination
2024/03/25 21:05:52 DEBUG : 000 - CLINICA - IMPLANTAÇÃO/base-vazia.sql: Need to transfer - File not found at Destination
2024/03/25 21:05:52 NOTICE: 000 - VPS - EXPRESS - BAHIA/DADOS.txt: Skipped copy as --dry-run is set (size 621)
2024/03/25 21:05:52 DEBUG : 000 - DYNU-DDNS/Configuracoes.txt: Need to transfer - File not found at Destination
2024/03/25 21:05:52 NOTICE: 000 - VPS - BAHIA/DADOS.txt: Skipped copy as --dry-run is set (size 174)
2024/03/25 21:05:52 DEBUG : 000 - VPS - CENTRAL TEC - MERC LIVRE/DADOS.txt: Need to transfer - File not found at Destination
2024/03/25 21:05:52 DEBUG : 000 - VPS - CENTRAL TEC - MERC LIVRE/discos-Pasta-VIOSTOR.png: Need to transfer - File not found at Destination
2024/03/25 21:05:52 NOTICE: 000 - VPS - BAHIA/TEMAVIEWER.PNG: Skipped copy as --dry-run is set (size 74.384Ki)
2024/03/25 21:05:52 NOTICE: 000 - VPS - CENTRAL TEC - MERC LIVRE/DADOS.txt: Skipped copy as --dry-run is set (size 1.402Ki)

The destination doesn't have to exist when rclone does a copy is the problem.

So when you do

rclone copy F:\Soft X:\Soft\Backup --dry-run

Rclone will create X:\Soft\Backup and X:\Soft as necessary.

However I think what you are saying is that X: does not exist - is that right? In theory rclone could detect that in the local backend and return an error.

Hi Nick, exactly that. That would be welcome.
Thanks!

The interesting thing is that even if the remote doesn't exist, rclone returns two different pieces of information (in some cases)

Look:
Skipped copy as --dry-run is set

It is

Need to transfer - File not found at Destination

2024/03/25 21:05:52 NOTICE: 000 - VPS - DYNU/Informacoes.txt: Skipped copy as --dry-run is set (size 338)
2024/03/25 21:05:52 DEBUG : 000 - VPS - BAHIA/TEMAVIEWER.PNG: Need to transfer - File not found at Destination

@hfornazier can you open a new issue on Github about this please. Put a link to this forum post.

The issue title should be something like "Local backend should detect drive letter does not exist at startup" or something like that.

We can then discuss with the devs that are better at windows than me!

Thank you :slight_smile:

Ok Nick, thank you very much!

1 Like