I have been unable to get my gateway to backup to a network device. I have confirmed my filepath is correct, but it won’t back up to it.
Per another forum thread, I have also confirmed full user rights for the folder.
I have tried adding a shortcut to the network path on my desktop but ignition makes a new folder of the same name on my desktop and saves the back up there instead.
For a scheduled backup, your network device has to be accessible to the Ignition service, not the logged in user. This part of the manual should get you started.
My meaning is I list the location on the gateway config as whatever location I assigned to wrapper.share.1.location, rather than putting, for instance, ‘wrapper.share.1.location’
Changing the .conf simply makes the remote folder accessible by ignition and then I access it the same way as I would any other folder?
To the config file and setting my backup location as Z:\CSI9\NetBackups failed. I also tried \CSI9\NetBackups and that failed also.
Using windows file explorer I can navigate to the folder without any issues.
Did I enter the wrapper information incorrectly? (I am just noticing I had a single slash beforehand, I can try fixing that at some point if that was the issue. Just don’t want to shutdown and start up again right now)
Since there doesn't seem to be much left to try, did you check this for the user the Gateway service is running? IIRC, the LocalSystem account cannot access network resources.
To make shared drives available to Ignition on startup, place the following lines in the ignition.conf file, which is located in the data folder of the main Ignition installation folder (usually C:\Program Files\Inductive Automation\Ignition\data for Windows users):
//Note that target "Z:" is the drive letter assigned to the mapped drive.
wrapper.share.1.location=\\fileserver\folder
wrapper.share.1.target=Z:
wrapper.share.1.type=DISK
Then Stop the Gateway and Start the Gateway. **Restarting does not enable this functionality**.
Change the appropriate data for location and target to match the computer's actual setup. If your shared drives require authentication, add the following lines, filling in the appropriate data for user, domain, and password:
wrapper.ntservice.account=user
wrapper.ntservice.password=password
wrapper.share.1.account=domain\user
wrapper.share.1.password=password
This is from manual… and like @pturmel said in second post…
I think your problem is the user under which Ignition is running.
Because Ignition is running as a service it must be running under the local system account, so that it can run also, when nobody is logged-in the computer.
But local system account doesn’t have access to network resources (shares). That’s why you must run Ignition service under the account that has access to the network share.
And that is what is done with this setting in the ignition.conf:
wrapper.ntservice.account=user
wrapper.ntservice.password=password
Here you must put the user (and password) which has access to the network share.
And on both computers (where the Ignition is running and where the network share is) this user must be created (under Manage Computer/Local Users and Groups/Users) with the same password.
Unless both computers are under domain…