We've done complete migrations from old servers to new servers with Plesk Obsidian, but with different OS Releases, but in all cases, we had to upgrade the MariaDB release to 10.5.* in advance of those migrations, on both old & new servers. You've not said what OS you're going to use and therefore... what MariaDB Release you're actually going to start with - by default. That's they real question. Then the article that
@UHolthausen has posted comes next (usually)