Update backup/recovery appliances

This page explains how you can update your backup/recovery appliance. Backup and DR Service requires you to be compliant with the update policy in order to remain supported on your backup/recovery appliance.

Backup and DR Service provides two kinds of updates:

  • Hotfix: this includes system updates, security fixes, and critical bug fixes related to Backup and DR components. Backup and DR Service installs hotfixes automatically when they become available. You can check the status of the update on the Installation Jobs page. Sometimes, the automatic installation of a hotfix may fail even after multiple retries. In these cases, you need to install the hotfix manually.

  • Patch: this includes new features, enhancements, and bug fixes. Before you install the patch, make sure all the prerequisites are met. We recommend updating an appliance to the latest available version whenever an update is available.

IAM roles and permissions

To get the permissions that you need to update an appliance, ask your administrator to grant you the Backup and DR Admin (roles/backupdr.admin) IAM role on your project. For more information about granting roles, see Manage access.

You might also be able to get the required permissions through custom roles or other predefined roles.

Update notifications

Backup and DR Service displays an update notification in the following scenarios:

  • When a new update is available for installation
  • When an update is scheduled for installation within the next 24 hours
  • When an update installation is in progress
  • When an update installation has succeeded or failed

You can view notification details by clicking the notifications icon.

Appliance status

Appliance can have one of the following statues. You can check the status appliance from Manage > Appliances.

  • Up to date: This indicates the appliance is running on the latest version and no action is required.
  • Pending: This indicates the appliance has a new available update to apply. See Install updates to update the appliance.
  • Overdue: This indicates the appliance is running on older versions and must be updated immediately. See Install updates to update the appliance.
  • Out of support: This indicates the appliance is older than the supported version and needs to be updated immediately. You cannot back up any new entities or applications until you update the backup/recovery appliance to the supported version. See Install updates to update the appliance.

View available updates

To view available updates, click Manage and select Appliance Updates.

The Available Updates page displays the following fields:

  • Update name: This field displays update name as patch-xxxx- for a patch, or hf-xxxx- for a hotfix. Click an update name to view release notes for a patch or a dialog listing details for a hotfix.
  • Appliance status: This field displays the status of an update as follows:

    • Pending: By default, whenever an update is available, it displays the status as Pending. When you install an update on demand, you are directed to the Installation Jobs page displaying the progress of the update.
    • Scheduled: If you schedule an update for installation at a particular time and date, it displays the status as Scheduled. See Install an update at a scheduled time for more information.
    • Rollback available: If the Backup and DR Service releases a rollback for the applied hotfix update, it displays the status as Rollback available.
  • Expected duration: This field displays the approximate time that it takes to update an appliance.

  • Due date: This field displays the date by when the update must be installed.

  • Published on: This field displays the date when the update was published.

Install updates

You can apply updates in two ways—on demand or scheduled.

Before you begin

The following are the prerequisites that must be met before you install an update:

  • Do not run or schedule any backup or restore jobs while installing an update.
  • Ensure that the utilization of snapshot and primary pools is less than 90%. To check the pool utilization, go to Manage > Storage Pools and check the Used(%) column for the snapshot and primary pools associated with the appliance. If Used(%) is more than 90%, add an extra disk to the snapshot pool or primary pool, and then continue with an update.
  • If you're installing a patch update:

Install an update on demand

Use the following instructions to install an on-demand update.

  1. Click Manage and select Appliance Updates.
  2. Right-click an update name—for example, patch-xxxx- or hf-xxxx—and select Install or Schedule Updates.
  3. Select the appliance that you want to apply the latest update to. You can also select multiple appliances to update all the appliances at the same time. By default, the Install Now is selected.

  4. Click Apply. When the update installation process starts, the Installation Jobs page opens. This is where you can check the status of the update.

Install an update at a scheduled time

Before scheduling an update, ensure that you have selected the correct time zone from the management console. The scheduled updates run based on the selected timezone. For information on updating the timezone, see change the timezone.

You can schedule updates only for Compute Engine and Google Cloud VMware Engine instances. You cannot schedule updates for backup/recovery appliances that protect agent-based workloads such as file systems and databases.

Use the following instructions to schedule updates.

  1. Click Manage and select Appliance Updates. The available updates display. By default, the status of the update is Pending.
  2. Right-click an update name—for example, patch-xxxx- or hf-xxxx—and select Install or Schedule Updates.
  3. Select the appliance that you want to apply the latest update to. If you want to update the appliances at the same time, then select multiple appliances.

  4. Select Install Later.

  5. Click the calendar icon to select when you want to install the update.

  6. Click Apply. The Status column of the update changes to Scheduled.

    The installation process for the scheduled update starts within 15 minutes of the scheduled time.

Edit a scheduled update

Use the following instructions to edit a scheduled update.

  1. Click Manage and select Appliance Updates.
  2. Right-click an update name—for example, patch-xxxx- or hf-xxxx— and select Edit Update Schedule.
  3. Select the appliance you want to edit the existing schedule of. You can also select multiple appliances if you want to edit and schedule an update at the same time.
  4. Edit the schedule by changing the timestamp from the calendar.
  5. Click Apply.

Cancel a scheduled update

Use the following instructions to cancel a scheduled update.

  1. Click Manage and select Appliance Updates.
  2. Right-click an update name —for example, patch-xxxx- or hf-xxxx—and select Cancel Scheduled Updates.
  3. Select the appliance that you want to cancel applying the latest update to. You can also select multiple appliances if you want to cancel the update on multiple appliances at the same time.
  4. Click Apply.

Monitor installation jobs

The Installation Jobs page displays the status of appliance updates.

Use the following instructions to view installation job updates.

  1. Click Manage and select Appliance Updates.
  2. Select Installation Jobs. This page displays the following fields:

    • ID: This field displays the unique ID of an update.
    • Update name: This field displays update name as patch-xxxx- for a patch, or hf-xxxx- for a hotfix. Click an update name to view release notes for a patch or a dialog listing details for a hotfix.
    • Status: This field displays the following statuses when an update is applied. Hold the pointer over a status field for more information about the update status.

      • Downloading: This status displays when an update is being downloaded onto the appliance.
      • Checking: This status displays when performing preflight checks.
      • Installing: This status displays when an update is being installed.
      • Success: This status displays when an update is installed successfully.
      • Failed: This status displays when an installation of the update fails. Review the logs and try to Install the update again.
      • Skipped: This status displays when you skip to install an update on an appliance.
      • Rollback in progress: This status displays when a rollback is in progress onto the appliance.
      • Rollback success: This status displays when an update is rolled back successfully.
      • Rollback failed: This status displays when the roll back of an update fails.
    • Appliance: This field displays the name of the appliance you are installing the update on.

    • Started: This field displays the timestamp of when the installation of an update started.

    • Ended: This field displays the timestamp of when the installation of an update completed. This field is populated only when an update installation is successful or failed.

    • Logs: This field displays the logs of an update. If the installation of an update fails, view the update logs to debug the failed update and then Install the update again.

    During installation, the Installation Jobs page displays the progress of an update. Based on the progress, the status of an update changes to Success or Failed. Note: If the installation of an update fails, check the error message from the update logs and fix the underlying issue before attempting to Install the update again.

View the update logs

Use the update logs to debug a failed update and fix the issue before attempting to install the update again.

The logs display only for the appliances running on version 11.0.3 or later.

Use the following instructions to view update logs.

  1. Click Manage and select Appliance Updates.
  2. Select Installation Jobs.
  3. Click Logs. The following log files are displayed for an appliance:

    • patch-XXX-preflight-info.log: This file contains the logs of the preflight checks that are executed on the appliance.
    • patch-xxx-preflight-error.log: This file contains the error logs of the preflight checks that are executed on the appliance.
    • autoupdate-patch-xxx-updatelog: This file contains the update installation logs for the appliance.

After a successful update

After successfully updating an appliance, you must perform the following tasks to ensure that the updated appliance functions correctly.

  1. Navigate to the Manage > Appliance Updates > Installation Jobs page and ensure that the appliance update status is Up to date. The Up to date status displays only when all the relevant updates on the appliance are installed.
  2. Navigate to the Manage > Appliances page and check the management console and backup/recovery appliance connection status in the Connectivity Status column. The Green tick mark indicates that the connectivity is successful.
  3. Enable the schedules.
  4. Remount the unmounted images.
  5. Run any backup jobs to validate if the backups are running as expected after updating the appliance.

Rollback a hotfix update

If the Backup and DR Service detects an issue with an applied hotfix update, it may rollback the update automatically. However, if the Backup and DR Service is unable to rollback the update, then you need to rollback the update manually. You can view available rollbacks in the Available Updates page with the status Rollback Available.

Rollbacks do not lead to a downtime as appliances do not reboot during or post rollback.

Use the following instructions to rollback a hotfix update.

  1. Click Manage and select Appliance Updates.
  2. Right-click a hotfix update name—for example, hf-xxxx—and select Rollback.
  3. Select any appliances that you want to rollback the update.
  4. Click Apply. When the update rollback process starts, the Installation Jobs page opens. This is where you can check the status of the rollback.

    If rollback fails, contact Google Cloud Customer Care to resolve the issue.