Hi Gonzalo,
upon entering omd update as the site-user, it will open a dialog where you can choose the target version. More information is in the documentation.
Make sure to have a recent backup of your sites before upgrading!
$ omd versions
2.1.0p28.cme
2.1.0p43.cme
2.2.0p30.cme (default)
$ omd sites
SITE VERSION COMMENTS
corpnms 2.2.0p30.cme default version
custnms01 2.2.0p30.cme default version
custnms02 2.2.0p30.cme default version
If you attempt a restore with an alternate sitename, it should create the newsite with the older version since it is still installed.
$ omd restore corpnms_restore /backups/corpnms_2.1.0p28_06052024-2329.tgz
Restoring site corpnms_restore from /backups/corpnms_2.1.0p28_06052024-2329.tgz...
If the correct version is not installed, it will prompt you to install it.
$ omd restore /backups/custnms01_2.0.0p15_06132023.tgz
You need to have version 2.0.0p15.cme installed to be able to restore this backup.
Thats not possible, the version the backup was created on needs to be restored to the same version, you can’t skip the update process by just restoring a backup
once you have restored the backup you can upgrade your site, you need to follow the upgrade path in the documentation.
The easiest way is to copy your site to a new one, temporary and upgrade that first.