Migrate from heroku to vps

2022-10-16 heroku linux
heroku pg:backups:capture --remote name
heroku pg:backups:download --remote name
scp latest.dump remote:

on remote

pg_restore -d dbname latest.dump 

Copy scheduler's tasks into crontab on VPS.

See another post for more detailed explanation.