1. you will probably have to double quote the filename with the
space character
$ pg_dump dbname > "file name"
2. do you have write permissions to the destination directory?
this should work as it forces the file to the top level of the currently
logged in user.
$ pg_dump dbname > ~/"file name"
-----Original Message-----
From: tulasi <rama_tulasi_99@yahoo.com>
To: pgsql-sql@postgresql.org
Date: Sat, 20 Apr 2002 00:01:37 -0700 (PDT)
Subject: [SQL] accept AD35- 6FA9 -9515
>
> Dear Sir,
>
> I have problem when i take a backup from postgresql database.
>
> when i issue the following command:
>
> $ pg_dump dbname > file name
>
> error: bash: file name permission denied.
>
> how to solve this problem. Please give me a solution.
>
> ThanQ In Advance.
>
> Tulasi
>
>
>
> ---------------------------------
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more