Under Construction

vios chviosbk

Available: from 1.9.2.0 (V10R1M1010)

The command “vios ​​chviosbk” can be used to change attributes of Virtual I/O Server backups:

vios [-h <hmc>] [-m <ms>] chviosbk [-v] <vios> <backup_specifier>[,<backup_specifier>...] <attribute> ...

Currently there is only one attribute that can be changed:

new_name - new name for the backup file

This means that only the file name of the backup can be changed. The backup to be changed can be changed using a comma-separated list of specifiers of the following form:

<attribute>=<value> - exact match
<attribute>~<regex> - regular expression match
<name> - name of the backup file
<type> - type of backup
<hmc> - HMC the backup is stored

The easiest way is usually to specify the name of the backup:

$ vios chviosbk vio1 backup_240511.tar fullbackup.tar
$

In the example, the backup with the name ‘backup_240511.tar‘ is renamed to ‘fullbackup.tar‘. If the name is not unique, an error message is displayed:

$ vios chviosbk vio1 backup_240511.tar fullbackup.tar
USAGE:
vios [-h <hmc>] [-m <ms>] chviosbk [-v] <vios> <backup_specifier>[,<backup_specifier>...] <attributes> ...
ERROR: more than one matching backup found
$

By specifying an additional specifier, e.g. the name of the HMC, the information can be made unique:

$ vios chviosbk vio1 backup_240511.tar,hmc02 fullbackup.tar
$