Celestial Bodies Database - Build a Celestial Bodies Database

Tell us what’s happening:

Hi! I have complete this task succesfully (Celestial Body Database) but i can not recover the file that i saved with the command (psql -U postgres < universe.sql). I need it in order to upload it to my Github Repo and then deliver the solution to FCC. Is there any way to recover it? Im logged in Gitpod but the project folder seems to be empty…

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36

Challenge Information:

Celestial Bodies Database - Build a Celestial Bodies Database

Can you try creating it again per the instructions?

You can make a dump of it by entering pg_dump -cC --inserts -U freecodecamp universe > universe.sql in a bash terminal (not the psql one).

Hi. I read the instructions. Im not 100% sure where i as located when i introduced the dump command. Im afraid that i was not in the ‘project’ folder and thats the reason why is not recovering it.

you can use the dump command again and see what happens