Page 1 of 2

Unable to create new folders on a network drive

Posted: 24 Oct 2022, 15:41
by bushiaku
Hi,

these are my specs:
OS: Windows 10 version 21H2 (build SO 19044.2130)
LANGUAGE: Italian

it seems that the software could not create new folders when I try to backup on a network drive.
This is the error i get from the log:

ERR 2022-10-24 15:29:17 The destination directory "\\wsl$\Ubuntu-22.04\home\mlocatelli\TESTBCK\Vboxsvr\c_wsl\home\mlocatelli\TESTBCK" couldn't be created: (3) Impossibile trovare il percorso specificato: [wsl$\Ubuntu-22.04\home]

The error means that Reflector is unable to find the specified path: "wsl$\Ubuntu-22.04\home". Checking it, seems like it does not use the correct path because it does not include the double backslash at the beginning "\\".
This happens only when the folder is not present on the target folder of the backup and it has to be created. If the folder exists already it works like a charm.

Best Regards,
Matteo

Re: Unable to create new folders on a network drive

Posted: 24 Oct 2022, 16:10
by bushiaku
I would like to add an information:
I also created and run the same task on Cobian Backup 11 (Gravity) and no issue occured. The new folders are created successfully.

Regards,
Matteo

Re: Unable to create new folders on a network drive

Posted: 24 Oct 2022, 23:25
by cobian
Run the program as an application and not as a service.

Re: Unable to create new folders on a network drive

Posted: 07 Nov 2022, 09:40
by bushiaku
Hi Luis,

thanks for your reply.
I am already using the program as an application and not as a service. During the setup I didn't install the service at all.

--
Matteo

Re: Unable to create new folders on a network drive

Posted: 08 Nov 2022, 23:40
by cobian
But the thing is, the destination directory must be indicated as absolute, never as a relative path (relative to what?). So it must begin with \\

Re: Unable to create new folders on a network drive

Posted: 16 Nov 2022, 13:16
by bushiaku
Hi Luis,

I'm sorry, maybe I explained badly the problem.
Both Source path and Destination path are specified as absolute. Both starts with the \\ at the beginning:
SOURCE: \\VBOXSVR\c_wsl\home\mlocatelli\TESTBCK
DESTINATION: \\wsl$\Ubuntu-22.04\home\mlocatelli\TESTBCK

Only in the error i find the string of the destination file specified without the \\ at the beginning:
ERR 2022-11-16 13:04:07 The destination directory "\\wsl$\Ubuntu-22.04\home\mlocatelli\TESTBCK\Vboxsvr\c_wsl\home\mlocatelli\TESTBCK" couldn't be created: (3) Impossibile trovare il percorso specificato: [wsl$\Ubuntu-22.04\home]

The last piece of this error contains the destination path that does not begins with \\.
So I thought that could be a bug of the Reflector, since the same task, with the same settings, on Backup 11 (Gravity) works fine.

--
Matteo

Re: Unable to create new folders on a network drive

Posted: 16 Nov 2022, 16:41
by cobian
The las error is the error that windows passes back. Is the name of the NAS really wsl$ ? Seems more like the name of a shared folder.

Re: Unable to create new folders on a network drive

Posted: 21 Nov 2022, 11:42
by bushiaku
Hi Luis,

yes, both the source and destination are shared folders mapped as network drives.

I now have noticed that Cobian Backup uses the unit letter of the mapped drive instead of the "\\" when I select the destination folder, Cobian Reflector converts the path to the absolute with "\\". So I created another task on Cobian Backup using the "\\" at the beginning of the destination folder, but the task run successfully.
I have attached some screenshots.

After this I did some tests:
- Created a task with same source, but destination folder in the local disk (C:\Users\Matteo\Documents\Wind3\TESTBCK)
all folders and files have been copied successfully.
- Created another task with source folder in the local disk C, but destination on the shared folder (\\wsl$\Ubuntu-22.04\home\mlocatelli\TESTBCK)
errors when creating the folders in the destination.

--
Matteo

Re: Unable to create new folders on a network drive

Posted: 21 Nov 2022, 14:53
by cobian
In reflector you will get the same result is you select Functionality - Convert all paths to UNC

Re: Unable to create new folders on a network drive

Posted: 02 Dec 2022, 11:59
by bushiaku
Hi Luis,

the option "Convert all paths to UNC" was already selected.
I also tried to run the task with this option disabled but I got the same error.

--
Matteo