How do I convert old backup IDs to the new format in PBAS system after upgrade of Virtuozzo nodes up to Virtuozzo 4.0 version?

Article ID: 5473 
Last Review: Oct,6 2008
Author: Tarasov Yuri APPLIES TO:
  • HSPcomplete 3.3.x

Symptoms

Virtuozzo nodes were upgraded to Virtuozzo 4.0 version. Backup removal or restoring in Parallels Business Automation - Standard system failing with the following messages in Action log:

Failed to remove Virtuozzo Container backup: Internal error: Failed to get information about backup

Resolution

  • upgrade Parallels Business Automation - Standard system to the latest version as described in KB #2043
  • comment or delete BACKUP_INCL_VES option in /etc/vzbackup.conf on backup node
  • import old backups into VZAgent database executing /opt/vzagent/bin/vzbackupsync utility on Virtuozzo backup node for every Virtuozzo node backed up to the backup node (in case nodes are not joined into Virtuozzo Group) or for master node only (in case all nodes are joined into Virtuozzo Group in PIM):
    # /opt/vzagent/bin/vzbackupsync root@NODE1_IP
    # /opt/vzagent/bin/vzbackupsync root@NODE2_IP
    or, alternatively:
    # for node in NODE1_IP NODE2_IP ; do /opt/vzagent/bin/vzbackupsync root@$node; done
    where NODE1_IP and NODE2_IP should be replaced with IP-addresses of Virtuozzo nodes. The script will request Virtuozzo hardware node root password and will import backups into VZAgent database on backup node
  • execute /usr/sbin/hspc-fix_30-40_upg_backup.pl script on Parallels Business Automation - Standard system to remap old backup IDs into new one providing backup node ID with -n parameter:
    # /usr/sbin/hspc-fix_30-40_upg_backup.pl -n BACKUP_NODE_ID1,BACKUP_NODE_ID2
    where BACKUP_NODE_ID1,BACKUP_NODE_ID2 is comma-separated list of backup nodes' IDs. Node ID is listed on Top > Service Director > Virtuozzo Manager > Nodes screen in ID column.
Keywords: backups, Failed to get information about backup, restore, remove backup, delete backup, create backup


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields