HP VAN SDN Controller Administrator Guide

70
"https://<system_ip>:8443/sdn/v2.0/systems/<controller_uid>/backup?csum=false" >
<path-and-file-name>.zip
2. Download the backup .MD5 (Checksum) File
curl --noproxy <controller_ip> --header "X-Auth-Token:<auth_token>" --fail -ksSfL --
request GET --url
"https://<controller_ip>:8443/sdn/v2.0/systems/<controller_uid>/backup?csum=true" >
<path-and-file-name>.zip.MD5
Note
The path-and-file-name string should be identical for the .zip and the .MD5
files in a given backup file pair.
Recommended Backup Practices
Do not run backup while making configuration changes. Instead, run the backup
after completing configuration changes. Otherwise, an inconsistent system state
could result with a subsequent restore.
Always back up all of the controllers in a team after a configuration change. Just
backing up a subset of the controllers is not sufficient.
Back up all of controllers in a team at approximately the same time. (Team backups
can be in sequence or in parallel). Do not allow days to pass in-between backups of
different controllers in the same team.
A completed backup should be downloaded from the controller to another location
for safekeeping. Include the IP address in the backup filename, so you can easily
determine which backup belongs to which controller in a team. Recommended file
naming is:
o sdn_controller_backup_<ip-address>.zip
o sdn_controller_backup_<ip-address>.zip.MD5
Store the backups and associated checksum (MD5) files you take of each controller
in the team together, so they can easily be retrieved for a future restore.
Notes
If any controller in a team fails to complete the backup, start the backup over
for all members of the controller team.
Examples of cURL commands in this guide use the "--noproxy" option, which
is appropriate where execution of cURL commands do not need a proxy to
access controllers. If your network is set up such that a proxy is needed to
access controllers, use the "--proxy" option. For details on cURL proxy
options, visit http://curl.haxx.se/docs/manpage.html .