Page 1 of 1

Couldn't create the destination directory

Posted: 22 Nov 2020, 16:35
by Oldman
Continue to get "Couldn't create the destination directory" error. What do I do to correct this?

Re: Couldn't create the destination directory

Posted: 23 Nov 2020, 22:35
by cobian
It's 99% of the times a problem with permissions. Is the program running as a service (under LocalSystem) and is the destination a network path?

Re: Couldn't create the destination directory

Posted: 28 Mar 2021, 19:32
by ivelde
After using Cobian backup for a long time I encounter the issue of "Couldn't create the destination directory" just now when copying to the NAS which I used before successfully so I don't suspect a rights issue in my situation, especially because the error message is that the "file, folder or volume name syntax is not correct". However if I look at the path that the program is trying to use: "\\SynDisk1\Backup M\Mail 2021-03-28 16;54;45 (Full)" I suspect the semicolons that are used in the path name. Can I setup Cobian in a way that it doesn't insert the semicolons?

Re: Couldn't create the destination directory

Posted: 29 Mar 2021, 11:31
by Paltus
cobian wrote: 23 Nov 2020, 22:35 It's 99% of the times a problem with permissions.
I agree
ivelde wrote: 28 Mar 2021, 19:32 I suspect the semicolons that are used in the path name.
It is unlikely

ivelde wrote: 28 Mar 2021, 19:32Can I setup Cobian in a way that it doesn't insert the semicolons?
Here

Re: Couldn't create the destination directory

Posted: 29 Mar 2021, 20:15
by ivelde
You are right, the semicolon was not the issue. My Cobian runs as a service and I have users defined on my Synology NAS. Anybody who knows how to set-up security in a way that the Cobian service can write to the NAS?

Re: Couldn't create the destination directory

Posted: 30 Mar 2021, 05:35
by Paltus
ivelde wrote: 29 Mar 2021, 20:15 You are right, the semicolon was not the issue. My Cobian runs as a service and I have users defined on my Synology NAS. Anybody who knows how to set-up security in a way that the Cobian service can write to the NAS?
1. Create a user on the NAS.
2. Create Share
3. Give user rights to Share with read / write access
4. If you use password access, and not access from AD, create a bat-file with the following content:
net use L: \\ 193.121.161.14 \ Backup /user:193.121.161.14\backup 987654321
I think you can figure out what and how.
Those. connect the network drive L c Share Backup (\\ 193.121.161.14 \ Backup)
user: 193.121.161.14 \ backup - created NAS user
987654321 - password.
Place this file in the list of tasks. And voila.
Something like that.

Re: Couldn't create the destination directory

Posted: 30 Mar 2021, 20:29
by cobian
NAS are a little difficult when running as a services because the have its own user which is often cached when your Windows user logs in but not when using the program as a service. Paltus solution is similar to the one I use.

Re: Couldn't create the destination directory

Posted: 31 May 2021, 15:39
by dtarantov
Paltus wrote: 30 Mar 2021, 05:35
ivelde wrote: 29 Mar 2021, 20:15 You are right, the semicolon was not the issue. My Cobian runs as a service and I have users defined on my Synology NAS. Anybody who knows how to set-up security in a way that the Cobian service can write to the NAS?
1. Create a user on the NAS.
2. Create Share
3. Give user rights to Share with read / write access
4. If you use password access, and not access from AD, create a bat-file with the following content:
net use L: \\ 193.121.161.14 \ Backup /user:193.121.161.14\backup 987654321
I think you can figure out what and how.
Those. connect the network drive L c Share Backup (\\ 193.121.161.14 \ Backup)
user: 193.121.161.14 \ backup - created NAS user
987654321 - password.
Place this file in the list of tasks. And voila.
Something like that.
This way is no secure.

Re: Couldn't create the destination directory

Posted: 10 Sep 2021, 17:04
by Lysergic
Hello everyone!
Just stumbled with this same problem here and this is how I could solve it.
We have a Windows domain controller and the NAS is connected to it, so I created one backup user, set it to administrator group and set the permissions to that user in the NAS share.
After that go to Cobian, edit the task and navigate to advanced tab, enable impersonation and put the backup user credentials.
Screenshot below :)