05-13-2009 03:07 AM - edited 03-13-2019 06:21 PM
Hi All,
I tried to do a database backup on PM 1.2 by going to Start > All Programs > PostgreSQL8.2 > Command Prompt and typing in the command as mentioned in the user guide as "pg_dumpall -o -U<username> >[path and fileForBackup] "
I could not understand the format for path/file, tried
pg_dumpall -o -U postgres >D:\BACKUP_PM > did not work
pg_dumpall -o -U postgres > worked but I do not know where is the backup dumped.
Anybody has clue, please let me know.
Solved! Go to Solution.
05-19-2009 01:13 PM
You have to specify a file name for the command to work.
Here is the command:
pg_dumpall -o -U postgres > D:\Backup\
Also, this command will ask for password 3 to 4 times.
05-19-2009 01:13 PM
You have to specify a file name for the command to work.
Here is the command:
pg_dumpall -o -U postgres > D:\Backup\
Also, this command will ask for password 3 to 4 times.
05-20-2009 12:29 AM
Thank you, buddy! It worked.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: