by Visvanath Ratnaweera.
I don't know why it is so complicated: If I understand "restore with new URL" correctly, the method is documented in Moodle_migration (if you get the wrong Moodle version replace /XYZ/ to what you want).