Cannot restore engine from 4.3.9 to 4.4.3

Hi I just tried to restore my engine backup taken from release 4.3.9.4 to a newer oVirt installation release 4.4.3.11. The restore process fails with a FATAL error. I was under the impression that backups from all 4.3 versions were supposed to be restorable on 4.4. My installation is a single-box all-in-one (Standalone Engine installed together with oVirt node). # engine-backup --mode=restore --file=/exports/data-t2/backups/ovirt-engine-backup-20201018124037_pre-upgrade.backup --provision-all-databases Start of engine-backup with mode 'restore' scope: all archive file: /exports/data-t2/backups/ovirt-engine-backup-20201018124037_pre-upgrade.backup log file: /var/log/ovirt-engine-backup/ovirt-engine-restore-20201111031500.log Preparing to restore: - Unpacking file '/exports/data-t2/backups/ovirt-engine-backup-20201018124037_pre-upgrade.backup' FATAL: Backup was created by version '4.3.9.4' and can not be restored using the installed version 4.4.3.11 Complete content of the restore log file: 2020-11-11 03:15:00 23143: Start of engine-backup mode restore scope all file /exports/data-t2/backups/ovirt-engine-backup-20201018124037_pre-upgrade.backup 2020-11-11 03:15:00 23143: OUTPUT: Start of engine-backup with mode 'restore' 2020-11-11 03:15:00 23143: OUTPUT: scope: all 2020-11-11 03:15:00 23143: OUTPUT: archive file: /exports/data-t2/backups/ovirt-engine-backup-20201018124037_pre-upgrade.backup 2020-11-11 03:15:00 23143: OUTPUT: log file: /var/log/ovirt-engine-backup/ovirt-engine-restore-20201111031500.log 2020-11-11 03:15:00 23143: OUTPUT: Preparing to restore: 2020-11-11 03:15:01 23143: OUTPUT: - Unpacking file '/exports/data-t2/backups/ovirt-engine-backup-20201018124037_pre-upgrade.backup' 2020-11-11 03:15:01 23143: Opening tarball /exports/data-t2/backups/ovirt-engine-backup-20201018124037_pre-upgrade.backup to /tmp/engine-backup.UAcLerghwY 2020-11-11 03:15:01 23143: Verifying hash 2020-11-11 03:15:01 23143: Verifying version 2020-11-11 03:15:01 23143: FATAL: Backup was created by version '4.3.9.4' and can not be restored using the installed version 4.4.3.11 regards, Toni Feric

On Wed, Nov 11, 2020 at 4:34 AM tferic@swissonline.ch <tferic@swissonline.ch> wrote:
Hi
I just tried to restore my engine backup taken from release 4.3.9.4 to a newer oVirt installation release 4.4.3.11.
The restore process fails with a FATAL error.
I was under the impression that backups from all 4.3 versions were supposed to be restorable on 4.4.
This used to be true, but was changed in 4.4.3: https://bugzilla.redhat.com/1881119 [RFE] Make engine-backup refuse to restore a backup from a version earlier than 4.3.10 Was filed due to: https://bugzilla.redhat.com/1820642 [cinderlib] Cinderlib DB is missing a backup and restore option [RHV clone - 4.3.10]
My installation is a single-box all-in-one (Standalone Engine installed together with oVirt node).
Please upgrade first to 4.3.10. We did this to make sure the backup included the cinderlib db, if set up. It's not really needed if you do not use cinderlib, but I didn't consider making this requirement optional, as the documentation already says to upgrade to latest 4.3 first, so I assumed it's not really needed (and we did have concrete cases in the past, where upgrading from an older version was broken, see e.g. the discussion in bug 1366900, especially comment 7 and comment 15). If that's a problem, you can edit the engine-backup script, reverting the patch linked from the first bug above. It's enough to remove the 'if 4.3/.../fi' (lines 1281-1290). Best regards, -- Didi
participants (2)
-
tferic@swissonline.ch
-
Yedidyah Bar David