I have an Elixir web app that uses a Postgres DB, running in a Debian 11 VM on Qubes.
I’m trying to transfer the app to a Proxmox Debian 11 VM.
Everything works, except when transfering the database, I get 500 server errors.
I’ve tried dumping the DB and restoring.
I’ve tried a Pgadmin4 backup and restore.
I’ve tried various rsyncs.
I still end up with 500 server errors.
Is there a simple way to just get a clone of the VM from Qubes to Proxmox… and hopefully solve the 500 server errors issue?
Depending on how the VM is setup in Qubes you should able to use a conventional backup method for migration. There are a few good pages on the Proxmox site about migration. I’d start with this one, Migrate_to_Proxmox_VE, and then check the “See Also” references as well.
Glad you got it sorted out. Tangentially - if you’ve got flexibility to consider Proxmox alternatives, check out Incus. It is IMO more flexibile / configurable / scriptable. Incus runs on any recent Linux distribution, so you can setup prototype environments on your Linux desktop, and run the same configuration on a datacenter VM. Nice for testing and running distributed Elixir apps.