HP VAN SDN Controller Administrator Guide

95
break
fi
done
if [ $backup_complete -gt 0 ]; then
teamBackup_log "Backup of the leader node took longer than $waitTime min. Aborting
backup..."
teamBackup_log "To increase backup wait time, change BACKUP_WAIT_COUNT in the
script."
exitBackup 1
fi
# Copy all the backup files from each node in the team onto the leader node.
for (( i=0; i<$numNodes; i++ )); do
downloadBackupSet $i
done
# Create one zip for entire team and copy it to the specified remote location.
teamBackupZip
remoteBackupFileCopy
echo
teamBackup_log "The team was backed up successfully."
exitBackup 0
Restore a Controller Team
Notes
Before running this script, re-install re-install the controller. Otherwise an Error 404
condition results and the backup will not be restored. See "To Restore a Controller from a
Backup" on page 71.
Because the scripts in this appendix cross page boundaries, be careful to avoid including
the page number when copying a script. Copying a script one page at a time can prevent
inclusion of page numbers.