Migrate from heroku to vps

2022-10-16
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.