Backup SAN switches
Description
This playbook creates configuration backups for SAN switches, including Brocade G720 models. It uses private key encryption (key stored in Ansible Vault format at backup_san_switches_ssh_key) to securely retrieve configurations via SSH by executing the configshow command. The exported configurations are stored in the @DRP directory on NetApp (\\stadgent\digipolis\Protected\@DRP\Backups\SAN\). Check SAN - Backup config for details regarding applied specific user, role and SSH key configuration on SAN switches.
Credentials
- sys_ansible_local
- sys_ansible_filecopy
- Ansible Vault Password
Input
| Variable | Description |
|---|---|
san_switches |
List of DNS shortnames of the SAN switches to be backuped. Predefined with default values in the playbook. |
export_commands |
List of commands that needs to be executed to export config. Predefined with default values in the playbook. |
Output
None. Exports are stored in the @DRP directory on NetApp (\\stadgent\digipolis\Protected\@DRP\Backups\SAN\).
Dependencies
- Write access to the
@DRPdirectory on NetApp (\\stadgent\digipolis\Protected\@DRP\Backups\SAN\).