notruedev
VPS self-hosted supabase and local supabase sync issue
I have used dokploy supabase template to self-host on VPS. I have supabase running in my VPS. I am trying to sync my local supabase DB Schema & Data on my VPS supabase.
I am using
supabase db diff --schema public -f inital_schema --db-url="<postgres://<username>:<password>@<traefik host URL>:5432/postgres>
But I am not able to connect to the server. Maybe it's TCP/IP connection issue.
Has anyone successfully implemented supabase sync between local and self-hosted instances? Any material out there to help understand this process? Even if I can do it one time, I want some means to handle this with better Dev experience on an ongoing basis.
Thanks for your help!6 replies