Manually Migrate MySQL to Postgres

To backup the database, you do not need the occ command, you can just use the system tools, e.g. for the restore of a db:

If you have the SQL backup from MySQL, I don’t know if you can just restore that in your postgres.

If you change the data folder at the same time, unfortunately, it is not enough to change the location just in the config.php, it requires a bit more: