Nas user access

Questions about Cobian Reflector
Post Reply
DnL4Uk
Posts: 3
Joined: 07 Nov 2022, 00:01

Nas user access

Post by DnL4Uk »

Hi, I'm a new user of this forum.

So far I have used Cobian to make backups to drives via Usb.
Now I have a Nas connected in the Lan network and I would like to ask if there is a solution to backup using a Nas user (and password protected).
I would like to avoid logging into NAS via a windows user ... for security reasons.

Thanks in advance
sorry for my bad english
I await your info.
Ciao
DnL
User avatar
cobian
Site Admin
Posts: 4644
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Nas user access

Post by cobian »

You can try using impersonation with the nas user name on it. If that doesn't work try mounting the drive as a pre-backup event with NET USE.
--
Luis Cobian
Cobian Backup's creator
DnL4Uk
Posts: 3
Joined: 07 Nov 2022, 00:01

Re: Nas user access

Post by DnL4Uk »

Ciao Luis,
thanks for your reply ...
cobian wrote: 08 Nov 2022, 23:41 You can try using impersonation with the nas user name on it.
I' doing some test and I just used "Impersonation" but I received always same error:
► "The user .\userName could not log in: incorrect username or password" .... but, they are both correct!

► I'm using Cobian as "Service" whit "Impersonation"
• userNas: userName
• passwordNas: xyz
► The paths of files are:
• Source: F:\sourceFolder
• Destination: \\Nas\folder\destinationFolder

cobian wrote: 08 Nov 2022, 23:41 If that doesn't work try mounting the drive as a pre-backup event with NET USE.
I found some info on the internet but I'm not very expert in this subject ...
Have you any advice or links about that?

Tks again
DnL
User avatar
cobian
Site Admin
Posts: 4644
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Nas user access

Post by cobian »

The user .\username indicates that this is a local user. You need to use NASName\username
--
Luis Cobian
Cobian Backup's creator
ira
Posts: 101
Joined: 02 Nov 2021, 19:16

Re: Nas user access

Post by ira »

The basic syntax you need to add as pre and post events look like:

/C net use j: \\NASName\TargetFolder USER:username password

/C net use j: /delete

for syntax: net use /?
tetsu
Posts: 123
Joined: 07 Oct 2021, 17:16

Re: Nas user access

Post by tetsu »

DnL4Uk wrote: 09 Nov 2022, 18:23 Ciao Luis,
thanks for your reply ...
cobian wrote: 08 Nov 2022, 23:41 You can try using impersonation with the nas user name on it.
I' doing some test and I just used "Impersonation" but I received always same error:
► "The user .\userName could not log in: incorrect username or password" .... but, they are both correct!

► I'm using Cobian as "Service" whit "Impersonation"
• userNas: userName
• passwordNas: xyz
► The paths of files are:
• Source: F:\sourceFolder
• Destination: \\Nas\folder\destinationFolder

cobian wrote: 08 Nov 2022, 23:41 If that doesn't work try mounting the drive as a pre-backup event with NET USE.
I found some info on the internet but I'm not very expert in this subject ...
Have you any advice or links about that?

Tks again
DnL
Did you try put the destination with the NAS' IP? Ex: • Destination: \\10.10.1.15\folder\destinationFolder
Sometimes I have problems when I try to add the destination as Server Name and if I put it with the IP works. I have a NAS too, and I have this configuration:

Instalation: as application for all users
Configurations: default
Task - Advanced:
Name: user1
Domain: MyDomain (I have it on domain)
Pass: the nas user pass.

Try it ;)
DnL4Uk
Posts: 3
Joined: 07 Nov 2022, 00:01

Re: Nas user access

Post by DnL4Uk »

► Thanks Luis
► ► Thanks Ira
► ► ► Thanks Tetsu

My tests looks like to go in the right way, thanks for your infos!!!
Now I'll try to know better all the options of Cobian ... then after I'll able to start with real backup.

At the moment I would like to ask you just a little question:
I'm trying to modify Timestamp format in the setting area ...

When I change the default format "HH;mm;ss" ["semicolon"] with "HH:mm:ss" ["colon"],
the log give me the message "The settings have been changed and saved" but the name of folder
is saved still with old format ►► "HH;mm;ss" [es." nameFolder 2022-11-11 09;42;25"]
Looks like doesn't take the "colon" format.

What could it depend on?

I await your infos
Tks - DnL
User avatar
cobian
Site Admin
Posts: 4644
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Nas user access

Post by cobian »

: is an invalid character.
--
Luis Cobian
Cobian Backup's creator
sorin
Posts: 4
Joined: 30 Nov 2021, 12:36

Re: Nas user access

Post by sorin »

DnL4Uk wrote: 07 Nov 2022, 00:37 I would like to avoid logging into NAS via a windows user ... for security reasons.
If you have a decent NAS like Synology or Qnap you can use a FTPS or SFTP connection to it to avoid impersonating users.

And as other people said, avoid using NAS name - always use the IP address.
Post Reply