How to properly migrate PP2019 XMLDB to a PP2022SP1 server between two different amazon accounts?

Currently we migrate from different amazon accounts.

There is syn-con account where we have Pipeline pilot 2019 deployed,

and there is new MALZ account where we are going to deploy PLP 2022SP1 .

My question is how we can migrate PP2019 XMLDB to a PP2022SP1 server between two different amazon accounts? 

Does somebody know any mechanism or ways to deal with this? 

Appreciate any ideas!