Run the upgrade as part of a batch (non-interactive) process from the command line:
/bin/bash upgrade_script.sh [TARGET_VERSION] [BACKUP_DIR_PATH][dodump|nodump]
The command line parameters are:
- TARGET_VERSION – The desired version, contained on the installation DVD/ISO. For example: 8.1.520.
- BACKUP_DIR_PATH – The full path to an existing directory. This is used for the storage of backup files created during the upgrade. For example: /home/backup. This directory should exist with full read-write permissions (750) before you run the script.
- dodump [or] nodump – Specifies whether to create a database backup file or not, respectively, before you start the upgrade.
- l -h [or] --help – Displays the information above.
If you do not enter the parameters, interactive mode starts up.
Example:
/bin/bash upgrade_script.sh 5.2 /home/backup dodump