Upgrading solution
Overview
This chapter describes how to upgrade an existing Storware Backup & Recovery installation on RPM-based and Debian-based systems. Complete the preparation steps before upgrading the Server, then upgrade each Node.
Run all commands as root or with equivalent administrative privileges.
Upgrading solution
Before You Begin
Check the Upgrade Requirements
Review the release notes and installation requirements for the target version. Confirm that your operating system, MariaDB version, and upgrade path are supported. Some upgrades may require intermediate releases or additional steps.
Plan a maintenance window and upgrade the Server and all Nodes to the intended release before resuming scheduled operations.
Check Installed Versions
On RPM-based systems:
rpm -qa | grep -Ei '^(vprotect|mariadb)'On Debian-based systems:
dpkg -l | grep -Ei '^ii[[:space:]]+(vprotect|mariadb)'On the database host, check the running MariaDB version:
If the mariadb client command is unavailable, use mysql instead. Record these versions before continuing.
Prepare the Repositories
On the Server and each Node, configure the Storware repository for the target release and operating system, following the corresponding installation instructions. Keep package signature verification enabled.
RPM repository definitions are stored in /etc/yum.repos.d/. Debian repository definitions are typically stored in /etc/apt/sources.list.d/ as .list or .sources files.
Refresh repository metadata and review available versions.
For RHEL and compatible systems using DNF:
For Debian-based systems:
The upgrade commands below install the version selected by the package manager. Confirm that it is the intended version before accepting the transaction.
Stop Tasks and Services
Temporarily disable schedules that could start tasks during the maintenance window. Ensure that other users and external integrations do not submit new tasks.
In the web UI, wait for running tasks to finish and resolve any remaining queued tasks.
On the Server, stop the service:
Check that no task was created immediately before the service stopped:
If the query returns rows, start the Server again and resolve the remaining tasks through the application. Stop the Server and repeat the check before continuing. Do not delete task records directly from the database.
Stop the Node service on every Node, including a Node installed on the Server host:
Keep schedules disabled until the entire upgrade has been verified.
Back Up the Database and Configuration
With application services stopped and MariaDB running, create a database backup on the Server:
Replace the example path with an existing, writable location. Confirm that the script completes successfully and retain the backup outside the host being upgraded. You can check the compressed file for corruption with:
This check verifies the compressed file, not whether the database can be restored.
Also back up configuration files, certificates, keystores, and repository definitions. Preserve file ownership and permissions.
For virtual deployments, consider taking a consistent VM snapshot as an additional recovery point. A snapshot does not replace the database backup. If MariaDB is hosted separately, coordinate recovery of the application and database.
MariaDB Requirements
Confirm that the installed MariaDB version is supported by the target Storware Backup & Recovery release. Do not upgrade MariaDB to an arbitrary newer release as part of the application update.
If a database upgrade is required, complete the applicable MariaDB upgrade procedure while Storware services remain stopped. The procedure depends on the source version, target version, operating system, and package provider.
A major-version upgrade may require repository changes, replacement of database packages, and execution of:
Older installations may provide this utility as mysql_upgrade. Follow the instructions for the selected upgrade path; do not use rpm --nodeps as a routine upgrade step.
Before continuing, confirm that MariaDB starts successfully and the vprotect database is accessible:
Upgrade on RHEL and Compatible Systems
These commands apply to RPM-based systems that use DNF. On supported installations that use YUM, use the corresponding yum update commands.
Upgrade the Server
On the Server host:
Package scripts may restart the service during the upgrade. Allow startup and any database migration to complete before proceeding.
Check the service status and startup messages:
Upgrade Each Node
Repeat on every Node, including any Node installed on the Server host:
The second stop ensures that the Node is stopped if the package upgrade started it automatically. The configuration script applies the operating system settings required by the Node. Review its output and complete any required follow-up actions.
Check the service:
Upgrade on Debian-Based Systems
Upgrade the Server
On the Server host, with the target repository already configured:
If prompted about locally modified configuration files, review the differences and preserve the settings required by your deployment.
Allow startup and any database migration to complete, then check the service:
Upgrade Each Node
Repeat on every Node:
The second stop ensures that configuration runs with the Node stopped even if the package upgrade started it automatically.
Check the service:
Verify the Upgrade
Log in to the web UI and confirm the Server version.
Confirm that all Nodes are connected and report the intended version.
Review service and application logs for startup or database migration errors.
Verify access to protected environments and backup destinations.
Run a test backup and restore to validate the upgraded environment.
Re-enable schedules and confirm that the internal database backup is configured and completes successfully.
If the web UI displays outdated content, perform a hard refresh: Ctrl+Shift+R on Windows/Linux or Command+Shift+R on macOS in Chrome.
Retain the pre-upgrade database and configuration backups until validation is complete. If recovery is required, restore a matching application and database state; reinstalling older packages alone may not reverse database changes.
Last updated