ADC Backup using SolarWinds
Should you wish to back up your ADC using SolarWinds, please follow the instructions below.
Introduction
This guide explains how to deploy and automate Edgenexus EdgeADC configuration and certificate backups using the official PowerShell automation script.
It also covers full integration with SolarWinds Server & Application Monitor (SAM), including how to import templates, schedule daily backups, and configure alerts.
Prerequisites
To successfully deploy the backup automation workflow, ensure the following:
- Windows Server acting as a SolarWinds Polling Engine.
- PowerShell 5.1+ installed.
- Outbound HTTPS access to the EdgeADC management IP.
- Admin credentials for EdgeADC.
- PowerShell script execution permissions.
- Windows Defender Controlled Folder Access allows powershell.exe.
Files Provided
- EdgeADC_API_FullBackup_SolarWinds.ps1 – Full backup automation script.
- EdgeADC_Backup_SAM_Template.xml – SolarWinds SAM import template.
Installing the Backup Script
- Create a working directory on the poller:
C:\Scripts - Place the script file EdgeADC_API_FullBackup_SolarWinds.ps1 into C:\Scripts.
- Unblock the script:
Unblock-File -Path “C:\Scripts\EdgeADC_API_FullBackup_SolarWinds.ps1” - If Defender Controlled Folder Access is enabled:
Add C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe to the allowed list.
Manual Backup Testing
Before integrating into SolarWinds, run a validation test:
powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Scripts\EdgeADC_API_FullBackup_SolarWinds.ps1" -EdgenexusIP 192.168.3.152 -Username admin -Password jetnexus -BackupName EdgeADC_Backup -CertPassword YourBackupCertPassword -Diagnostics
A successful run displays:
Message: Backup complete. ZIP saved as C:\Scripts\EdgeADC_Backup-.zip
Scheduling Daily Automated Backups
To automate backups without SolarWinds:
- Open Task Scheduler → Create Task
- Trigger → Daily
- Action → Start a Program:
Program: powershell.exe
Arguments:
-NoProfile -ExecutionPolicy Bypass -File “C:\Scripts\EdgeADC_API_FullBackup_SolarWinds.ps1” -EdgenexusIP 192.168.3.152 -Username admin -Password jetnexus -CertPassword YourBackupCertPassword - Save and run to verify.
SolarWinds SAM Integration
Two integration options are available: importing the provided XML template or manually creating a SAM component.
Template Import:
- SolarWinds → Settings → SAM → Manage Templates → Import Template
- Select EdgeADC_Backup_SAM_Template.xml
- Assign to polling engine or target node.
Manual Integration:
Create Windows PowerShell Script Monitor with script body:
powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Scripts\EdgeADC_API_FullBackup_SolarWinds.ps1" -EdgenexusIP ${IP} -Username "${USERNAME}" -Password "${PASSWORD}" -CertPassword "YourBackupCertPassword" -BackupName "EdgeADC_Backup"
Configuring SolarWinds Alerts
To be notified of backup failures:
- Go to Alerts → Manage Alerts → Create New Alert
- Trigger → Component Status is Critical
- Apply to Component: EdgeADC Backup Script
- Add email or webhook notification actions.
- Save and test.
Troubleshooting
- ZIP not created → Check write permissions on C:\Scripts.
- SolarWinds Script Error → Run script manually for diagnostics.
- No certificates exported → Verify certificate objects exist in /GET/19.
- Login failures → Confirm correct admin API credentials.
