accept AD35- 6FA9 -9515

Поиск
Список
Период
Сортировка
Искать

accept AD35- 6FA9 -9515

От:
tulasi <rama_tulasi_99@yahoo.com>
Дата:

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

Re: accept AD35- 6FA9 -9515

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
tulasi writes:

> 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.

Try

$ pg_dump dbname > "file name"

and make sure you have write access to the current directory.

-- 
Peter Eisentraut   peter_e@gmx.net


Re: accept AD35- 6FA9 -9515

От:
"postgresql" <pgsql@symcom.com>
Дата:

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 
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



FAQ