I'm trying to backup the database I made in postgresql but it doesn't seem to work
root@localhost:/home/tests# sudo -s -u postgres
postgres@localhost:/home/tests$ psql
psql (8.4.17)
Type "help" for help.
postgres=# pg_dump test_site > payroll.dump.out
postgres-# ls
postgres@localhost:/home/tests$ exit
root@localhost:/home/tests# ls # Where is the backup?
cars manage.py media staticfiles test.db tests tests.db test.wsgi
Can someone help me , please :)