backup
Description
Triggers an ISE configuration backup to a specified repository. The backup includes policies, endpoints, certificates, and all ISE configuration data.
Options
| Option | Default | Description |
|---|---|---|
|
|
Repository name (must exist in ISE) |
|
|
Encryption key (or use env var) |
|
(auto) |
Backup name prefix |
|
(empty) |
Backup description |
|
|
Wait for backup to complete |
|
|
Wait timeout in seconds (30 min) |
Examples
Using Environment Variable (Recommended)
Store ISE_BACKUP_KEY in your secrets:
# In dev/storage secrets file:
# @ISE_BACKUP_KEY = YourKey123
# Load credentials
eval "$(DSEC_EVAL_VERIFIED=true dsec source d000 dev/network)"
eval "$(DSEC_EVAL_VERIFIED=true dsec source d000 dev/storage)"
# Run backup
netapi ise backup --repo synology-nfs --name "pre-migration" --wait
Output
╭─────────────────────────────────────────────────────────╮
│ ISE Configuration Backup │
╰─────────────────────────────────────────────────────────╯
Repository: synology-nfs (NFS)
Server: 10.50.1.70:/volume1/ise_backups
Name: pre-migration
✓ Backup initiated successfully
Waiting for backup to complete...
✓ Backup completed: pre-migration-CFG10-260124-1845.tar.gpg
Encryption Key Requirements
Keys must meet ISE requirements:
-
8-15 characters
-
At least one uppercase [A-Z], lowercase [a-z], and digit [0-9]
-
Only:
[A-Za-z0-9_#] -
Must NOT contain:
CcIiSsOo
Generate compliant key:
</dev/urandom tr -dc 'ABDEFGHJKLMNPQRTUVWXYZabdefghjklmnpqrtuvwxyz0123456789_#' | head -c 12 && echo
See Also
-
backup-status - Check progress
-
list-repositories - View repos
-
list-backups - List existing backups