How to prepare for a DX NetOps Spectrum Upgrade by running the preUpgradeBackup Script
Release: All Supported Releases
Component: SPCINS - Installation/Upgrade
Attached is a preUpgradeBackup.sh script that users can run before a Spectrum upgrade to backup all recommended files and directories into a single zip file. This file should be stored outside of the Spectrum installation directory before the upgrade is started. It is recommended that the script be run on all SpectroSERVERs and OneClick Servers within the environment. Below are the steps on how to execute the script.
Windows
1. Unzip and place the script in the <SPECROOT>/bin/support directory.
2. Open a command prompt as the install user and run the following commands:
bash -login
./bin/support/preUpgradeBackup.sh
3. Once complete, a <SPECROOT>/preUpgrade-<Hostname>-<Date>.tar.gz file will be created containing all of the information.
Linux
1. Unzip and place the script in the <SPECROOT>/bin/support directory.
2. Login as the install user and run the following commands:
cd <SPECROOT>/bin/support
chmod +x preUpgradeBackup.sh
cd <SPECROOT>
./bin/support/preUpgradeBackup.sh
3. Once complete, a <SPECROOT>/preUpgrade-<Hostname>-<Date>.tar.gz file will be created containing all of the information.
NOTES:
- Also attached is a lite version of this script. This will collect the same files but will not run the perfCollector script. This may be more desirable in larger environments.
- This script does not include the SpectroSERVER, Archive Manager and Report Manager database backups. These need to be done separately and should always be backed up before completing an upgrade.
Below is a list of the files and directories the script will collect: