Once the Collect Backup task is complete, a success message will be displayed. You can even check the Task History which will provide a list of all previously executed tasks.
Your new Gateway backup will be stored wherever your Controller settings are pointing to when the Controller was initially created.
To check, go to the Controller, and navigate to Config > Enterprise Administration > Controller Settings. You can have your Archive Path set to Automatic or Manual. If you have it set to Automatic, you can find your backups inside the directory for Ignition, otherwise, it will be the folder location that is specified in the Controller Settings. To learn more about controller settings, refer to Creating a Controller.
Now, let’s restore a Gateway backup on the selected Agent.
Agent Name and Restoring
When restoring from a backup using this task, the newly restored agent will retain it's previous name.
On the Controller, navigate to Config > Enterprise Administration > Agent Tasks
Click on the Create new Gateway Task link.
Select the Restore Backup, and press Next.
- Schedule the Restore Backup task from any of the listed scheduling options. This example uses Execute Immediately, and press Next.
- Select the Agent, and press Next.
- If your Archive Path was set to Manual when you created your Controller, you will have to select the Choose File button, and navigate to the folder on your computer to locate the Gateway Backup file. If you are unsure about your Archive Path, refer to your Controller Settings.
- Once you choose the file, click Open. Click Next on the Restore Backup task.
- Review the Restore Backup Task Summary, and click Finish. Once the Restore Backup task completes, you will receive a successful message from the Gateway task.
- Now go to your Agent, and click Home. It takes a few moments to bring up the Gateway. You will see a progress bar while the Gateway is starting up. Once it’s complete, you will see all your projects uploaded and ready to go.
This task allows you to install one or more modules on an Agent. You may pass in the modules to install while creating the task, or choose from the archived modules. Modules are archived in the Collect Backup task.
As an example, suppose you accidentally uninstalled the Alarm Notification and OPC UA Modules from your Agent. Let's go ahead and reinstall them using the Install Modules task.
- Go to the Controller, and navigate to Config > Enterprise Administration > Agent Tasks. Click the Create new Gateway Task link.
- Select Install Modules, and click Next.
- Schedule the Install Modules task from any of the listed scheduling options. This example uses Execute Immediately, and press Next.
- Select the Agent, and press Next.
- From the list of Archived Modules, click the Add buttons for Alarm Notification and the OPC UA modules. You will notice, that once you select a module, it shows up in the Selected Modules box at the bottom of the screen. You can choose as many modules as you need, and when you're finished, press Next.
- Review the Install Modules Task Summary, and press Finish. Once the Install Module task completes, you will get a successful message from the Gateway Task.
- Go back to your Agent, and navigate to Status > Modules to verify that both the Alarm Notification and OPC UA modules were installed and are running successfully.
On the Controller, let's create another Gateway Task to restart the agent. This task will stop the Ignition service on the Agent and start it back up again.
- Go to the Controller, and navigate to Config > Enterprise Administration > Agent Tasks.
- Click on the Create new Gateway Task link.
- Select the Restart Agent, and click Next.
- Schedule the Restart Agent task to Execute Immediately, and click Next.
- Select the Agent, and click Next.
- Review the Restart Agent Task Summary, and click Finish. Once the Restart Agent task completes, you will receive a successful message from the Gateway Task.
- Go to your Agent and refresh your page. You will see a progress bar while the Gateway is starting up. This will take a few moments, and once this task completes, your Agent will be up and running.