Restoring a local database on fly.io postgres instance

there is easier way to accomplish this: Postgres on Fly · Fly Docs