First download the backup from S3. Should be in the form:
postgres-appname-2018-09-14-07-00-04.tgz
Then, delete your local db (or rename it).
Re-create (empty) db (guide).
Then extract, and cd
into backup
folder. There, the pg dump called export
should reside. Execute: