# EAM - Allow selecting of previous gwbk backups when using restore backups action to Agents

**URL:** <https://forum.inductiveautomation.com/t/eam-allow-selecting-of-previous-gwbk-backups-when-using-restore-backups-action-to-agents/70095>\
**Category:** Ignition\
**Created:** [February 21, 2023, 4:35am UTC](https://forum.inductiveautomation.com/t/eam-allow-selecting-of-previous-gwbk-backups-when-using-restore-backups-action-to-agents/70095 "2023-02-21T04:35:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 21, 2023, 4:35am UTC](https://forum.inductiveautomation.com/t/eam-allow-selecting-of-previous-gwbk-backups-when-using-restore-backups-action-to-agents/70095/1 "2023-02-21T04:35:41Z")

</div>

When you use the Agent backup task, the EAM takes a backup of the gateway(s) selected. All good.

When you go to then restore an agent backup using the EAM task, you have to manually select a gwbk to restore. If you're not directly connected to the gateway server, you cannot select the EAM backed up files 😕 It would be nice if you were provided a list of backups that have been made and select one to restore, as well as select one manually.

It's also a bit strange that you have to create an agent task and go through all the configuration steps, including baking the path of the backup into the task, just to restore a fixed gateway backup via the EAM. Unless the name of the most recent gwbk file never changes (i.e. the timestamp is removed), I can't imagine how this could ever be used without having to edit the agent task each time and select a new gwbk? Am I missing something?

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [February 21, 2023, 3:51pm UTC](https://forum.inductiveautomation.com/t/eam-allow-selecting-of-previous-gwbk-backups-when-using-restore-backups-action-to-agents/70095/2 "2023-02-21T15:51:10Z")

</div>

No, you didn't miss anything. We have a restore-backup task feature in the backlog that allows you to select a gwbk from the controller's archive for that agent. I'll dust it off and see if we can make some forward progress on it soon.

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [February 22, 2023, 5:05pm UTC](https://forum.inductiveautomation.com/t/eam-allow-selecting-of-previous-gwbk-backups-when-using-restore-backups-action-to-agents/70095/3 "2023-02-22T17:05:20Z")

</div>

Actually, I just remembered another way to select a specific agent gwbk saved on the controller. It's buried in the agent management settings, but it does work. Try this:  
On the controller gateway, navigate to Enterprise Administration / Agent Management. On the More dropdown for an agent, click "Details". Click "View saved Gateway backups for this agent". You should then be presented with a list of all the backups taken for that agent. You can click the "Restore Backup" link for one of the backups, and this will display a screen that allows you to immediately run a restoration task using the backup you selected.

---

<div class="post-metadata">

**Author:** ![jeffrey.boey](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@jeffrey.boey](https://forum.inductiveautomation.com/u/jeffrey.boey)\
**Post date:** [June 13, 2023, 5:12pm UTC](https://forum.inductiveautomation.com/t/eam-allow-selecting-of-previous-gwbk-backups-when-using-restore-backups-action-to-agents/70095/4 "2023-06-13T17:12:41Z")

</div>

Hi @mgross , I'm replying here because I have a similar need, but if a new thread is needed I can do that as well

I'm currently developping an auto backup + restore(deploy would be a more suitable word) feature for a client, similar to what @nminchin was aiming for.

The difference is that we are aiming to have a "baseline" .gwbk file that we can use to deploy onto all our edge gateways, this baseline.gwbk is on the gateway pc, and is updated regularly.

Is it possible to define the path to this baseline .gwbk, which is updated regularly, instead of having to create a new task and selecting the gwbk file manually each time?

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [June 13, 2023, 5:32pm UTC](https://forum.inductiveautomation.com/t/eam-allow-selecting-of-previous-gwbk-backups-when-using-restore-backups-action-to-agents/70095/5 "2023-06-13T17:32:26Z")

</div>

Unfortunately, you can't set the gwbk file location to an absolute path in the EAM restore task. It's a really good idea though. You should definitely post that on [https://ideas.inductiveautomation.com/](https://ideas.inductiveautomation.com/)

---

<div class="post-metadata">

**Author:** ![Nicholas\_Rodgers](https://avatars.discourse-cdn.com/v4/letter/n/77aa72/32.png) [@Nicholas\_Rodgers](https://forum.inductiveautomation.com/u/Nicholas_Rodgers)\
**Post date:** [December 12, 2023, 9:58pm UTC](https://forum.inductiveautomation.com/t/eam-allow-selecting-of-previous-gwbk-backups-when-using-restore-backups-action-to-agents/70095/6 "2023-12-12T21:58:16Z")

</div>

I'm also in a position where the originally noted functionality would be beneficial.

I am writing a procedure for a client in which we need to have a fallback plan if something goes wrong during an EAM _send project/tags_ task. Ideally there would be a type of task along the lines of _Restore Latest Backup_ in which we could select all agents connected to the gateway to roll them back to the most recent gateway backup stored on the controller.

So far I've been similar to the previous posts where I am needing to do this individually, however for this particular implementation there are upwards of 200 edge devices, so manually restoring these backups is very cumbersome, leading to increased downtime.

If anyone has some kind of workaround, or if I've missed something entirely I'd love to hear about it.

Thanks!

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 12, 2023, 10:54pm UTC](https://forum.inductiveautomation.com/t/eam-allow-selecting-of-previous-gwbk-backups-when-using-restore-backups-action-to-agents/70095/7 "2023-12-12T22:54:38Z")

</div>

I think there was something added for this recently... maybe someone can chime in who knows?
