Restore Commvault VTL 2.0 after a Linux OS Major Upgrade

When you upgrade the Linux operating system to a new major revision, you must reinstall the Commvault VTL 2.0 software. Reinstalling the operating system is required when moving from one major kernel version to another (that is, from 8.x to 9.x). This process reformats the root filesystem.

To prepare for the upgrade, back up the current VTL environment so that you can restore it later.

Requirements
  • Access to the server with privileges to execute scripts in /commvaultvtl/scripts and to read/write in /tmp.

  • A second host or external storage to hold the backup archive and any configuration files during the OS upgrade.

  • The Commvault VTL 2.0 installer for the target OS release and any storage pool connections required after reinstallation.

To back up and restore the VTL environment, follow these steps:

  1. Back up the Commvault VTL 2.0 database and configuration file before you upgrade the operating system:

    bash
    chmod +x /commvaultvtl/scripts/sqldump.sh
    sh sqldump.sh   # creates /tmp/vtdump.tgz
    
  2. Copy the vtdump.tgz file to another machine. If any .conf files exist (for example, /commvaultvtl/etc/*.conf), copy them as well.

  3. Reinstall or upgrade the operating system to the target major release and confirm that the OS migration completed successfully.

    Review the VTL 2.0 requirements for the target OS release.

  4. Install the Commvault VTL 2.0 software on the upgraded system and copy back any old /commvaultvtl/etc/*.conf files.

    For installation guidance, see Install VTL 2.0 software.

  5. Confirm that all previously configured storage pools are connected to the new system.

  6. Copy the saved vtdump.tgz file to /tmp/vtdump.tgz (or any readable directory) on the upgraded system.

  7. Change the file permissions to make the archive readable:

    chmod +r /tmp/vtdump.tgz

  8. Restore the database and configuration:

    sh /commvaultvtl/scripts/sqlrestore.sh /tmp/vtdump.tgz

  9. Reboot the system.

×

Loading...