Backing Up the Current Image During Upgrade from the CLI

A backup image can be created during an upgrade from the CLI.

  1. Check the backups present on the controller by running the show upgrade command.
    EWC.extremenetworks.com# show upgrade
    1: AC-MV-09.01.01.0123-1.rue
    2: rue-08.31.01.0192-rescue-user.tgz

    If you want a local backup file to be created, the upgrade process removes any previous *-rescue-user.tgz file. Optionally, you can remove any existing local backup file by running the no upgrade <filename> command.

    EWC.extremenetworks.com# no upgrade 2

    The command deletes the image with index 2, which, in this example, is vps-08.31.01.0192-rescue-user.tgz. You can also specify the full image name.

  2. Upgrade the software with a backup image to local storage using the upgrade ac new-image-name bckto local command. During the upgrade process, a backup image with the default backup image name is created on the local storage:
    upgrade ac AC-MV-09.01.01.0123-1.rue
     bckto local
  3. Upgrade the software with a backup image to flash using the upgrade ac new-image-name bckto flash [filename] command.
    upgrade ac AC-MV-09.01.01.0123-1.rue
     bckto flash

    The command will upgrade and create a backup image with the default name on the flash drive.

    You can also specify the custom name for the backup image.

    upgrade ac AC-MV-09.01.01.0123-1.rue bckto flash backup-rescue-user.tgz
    Note

    Note

    To backup to flash, you must insert a flash drive before running the command.
  4. If backing up the software to FTP, set up the FTP server credentials before running the upgrade by running the upgrade_backup_dest ftp server ip user password dir file command.
    upgrade_backup_dest 192.168.4.10 test abc123 system/backups backup-rescue-user.tgz

    The name specified for “upgrade_backup_dest” is used as the backup file name.

  5. Start the upgrade by running the upgrade ac new-image-name bckto ftp command.
    upgrade ac AC-MV-09.01.01.0123-1.rue bckto ftp

    The command first makes a backup image of the running system preserved on the FTP server, then installs the selected upgrade image.