Migrating to a newer RasPi doesn't work

Well, backup doesn’t seem to be so simple if you’re new to openhab and linux, if I get this (Docs on how to backup openhab) right.

So could I proceed like this?

  1. backup current system/sd card using this command:
    sudo $OPENHAB_RUNTIME/bin/backup
  2. Put a new SD-card in Raspi 4 and install openhab from scratch.
  3. finding the backup file (somewhere in the openhab- or a subfolder folder, I guess) and copy it to the new SD card
  4. enter: sudo $OPENHAB_RUNTIME/bin/restore $OPENHAB_BACKUPS/myBackup.zip

Would this work or is there a better/easier way, did I miss anything? And: will my User Interfaces and node-red-rules be available?