I don't understand how to import a local database to aws. I see : 'upload files' but how do I even get my database into a file?! Im so confused. I am trying to deploy my app with heroku so as I understand I have to first export it to (for example) was then from there to my heroku database and have found this command:
PGPASSWORD=mypassword pg_dump -Fc --no-acl --no-owner -h localhost -U myuser mydb > mydb.dump
Nothing really happens and I don't understand what password I am suppose to use.. Any help would be very much appreciated!