# Network Gateway Scheduled Backup

**URL:** <https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601>\
**Category:** Ignition\
**Created:** [April 4, 2018, 4:16pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601 "2018-04-04T16:16:42Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbowers](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jbowers](https://forum.inductiveautomation.com/u/jbowers)\
**Post date:** [April 4, 2018, 4:16pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/1 "2018-04-04T16:16:43Z")

</div>

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.

Any suggestions on a work around?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 4, 2018, 4:45pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/2 "2018-04-04T16:45:23Z")

</div>

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](https://docs.inductiveautomation.com/display/DOC79/Mapping+a+Network+Drive) should get you started.

---

<div class="post-metadata">

**Author:** ![jbowers](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jbowers](https://forum.inductiveautomation.com/u/jbowers)\
**Post date:** [April 4, 2018, 4:52pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/3 "2018-04-04T16:52:12Z")

</div>

Interesting. I misunderstood the location access mentioned in another thread then.  
Thanks for the link!

Once that is setup, will the scheduled backup location I put on the gateway configuration be the “\fileserver\folder” (without quotations) still?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 4, 2018, 6:32pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/4 "2018-04-04T18:32:36Z")

</div>

I’ll let a windows person answer that.

---

<div class="post-metadata">

**Author:** ![bfuson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bfuson/32/4597_2.png) [@bfuson](https://forum.inductiveautomation.com/u/bfuson)\
**Post date:** [April 4, 2018, 6:37pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/5 "2018-04-04T18:37:44Z")

</div>

If it's a networked folder location that hasn't been mapped to a drive letter, then it should be:

> \\hostNameOrIP\path\to\your\folder

If the file server has been mapped to a drive letter then:

> X:\path\to\your\folder

---

<div class="post-metadata">

**Author:** ![jbowers](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jbowers](https://forum.inductiveautomation.com/u/jbowers)\
**Post date:** [April 4, 2018, 6:41pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/6 "2018-04-04T18:41:55Z")

</div>

Per the linked document:

wrapper.share.1.location=\fileserver\folder

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?

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [April 4, 2018, 6:59pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/7 "2018-04-04T18:59:55Z")

</div>

> [@bfuson](#):
>
> If it's a networked folder location that hasn't been mapped to a drive letter, then it should be:
> 
> \hostNameOrIP\path\to\your\folder

For network locations one must use forward slashes!  
//hostNameOrIP/path/to/your/folder

---

<div class="post-metadata">

**Author:** ![bfuson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bfuson/32/4597_2.png) [@bfuson](https://forum.inductiveautomation.com/u/bfuson)\
**Post date:** [April 4, 2018, 7:39pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/8 "2018-04-04T19:39:32Z")

</div>

This hasn't been my experience 😕  
Here's an example path that's stored in a configurable String tag on one of my gateways:

> \\myclientsstorage\common~~isodoccontrol\Work Instructions and Key Points

That's the same format you'd expect to paste into the address bar of windows explorer, which also works.

Could this be a regional difference?

---

<div class="post-metadata">

**Author:** ![bfuson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bfuson/32/4597_2.png) [@bfuson](https://forum.inductiveautomation.com/u/bfuson)\
**Post date:** [April 4, 2018, 7:56pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/9 "2018-04-04T19:56:56Z")

</div>

Ah, I see the issue now.  
I didn’t realize this path was being set inside the wrapper.conf, my mistake.

---

<div class="post-metadata">

**Author:** ![jbowers](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jbowers](https://forum.inductiveautomation.com/u/jbowers)\
**Post date:** [April 10, 2018, 12:04am UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/10 "2018-04-10T00:04:35Z")

</div>

Adding:  
wrapper.share.1.location=\CSI9\NetBackups  
wrapper.share.1.target=Z:  
wrapper.share.1.type=DISK

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)

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [April 10, 2018, 4:24am UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/11 "2018-04-10T04:24:16Z")

</div>

> [@jbowers](#):
>
> wrapper.share.1.location=\CSI9\NetBackups

wrapper.share.1.location=\\CSI9\NetBackups  
Double slash!

---

<div class="post-metadata">

**Author:** ![jbowers](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jbowers](https://forum.inductiveautomation.com/u/jbowers)\
**Post date:** [April 10, 2018, 3:23pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/12 "2018-04-10T15:23:10Z")

</div>

Changed to double slash and tried again, still not backup on the network folder.

If I navigate to \CSI9\NetBackups I have no issues whatsoever, but even with:

wrapper.share.1.location=\CSI9\NetBackups  
wrapper.share.1.target=Z:  
wrapper.share.1.type=DISK

in the .conf file there is no backup occurring.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 10, 2018, 3:27pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/13 "2018-04-10T15:27:57Z")

</div>

> [@jbowers](#):
>
> Per another forum thread, I have also confirmed full user rights for the folder.

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.

---

<div class="post-metadata">

**Author:** ![jbowers](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jbowers](https://forum.inductiveautomation.com/u/jbowers)\
**Post date:** [April 10, 2018, 4:16pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/14 "2018-04-10T16:16:57Z")

</div>

Do you mean the user that the gateway is running on? Otherwise I may need some elaboration.

If that is what you meant, then yes, the user the service is running on does have access to the folder.

The only thing I could think of now is that the server is a VM. Would that alter anything?

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [April 10, 2018, 4:37pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/15 "2018-04-10T16:37:40Z")

</div>

```auto
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…

---

<div class="post-metadata">

**Author:** ![jbowers](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jbowers](https://forum.inductiveautomation.com/u/jbowers)\
**Post date:** [April 10, 2018, 4:45pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/16 "2018-04-10T16:45:52Z")

</div>

That’s exactly what I have been doing.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 10, 2018, 4:53pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/17 "2018-04-10T16:53:42Z")

</div>

Consider getting support to look at what you’re doing via a remote session.

---

<div class="post-metadata">

**Author:** ![jbowers](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jbowers](https://forum.inductiveautomation.com/u/jbowers)\
**Post date:** [April 10, 2018, 5:08pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/18 "2018-04-10T17:08:34Z")

</div>

Good tip.

Thank you all for the suggestions!

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [April 10, 2018, 5:14pm UTC](https://forum.inductiveautomation.com/t/network-gateway-scheduled-backup/17601/19 "2018-04-10T17:14:19Z")

</div>

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…
