No, I am working on a project with other people. So I need it to dump it so I can use with other versions possibly. I'm not too experienced with it so yes, that may be what I need. So does the dump command in the link you showed me give just something like TestDB? No .sql or .db? I ran the command and now I cannot find the file.
Do you know where it would be in ubuntu by any chance? I have tried var/lib/postgresql/10/main and also the etc path. Is there another command that would let me specify where it goes?