pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
accept AD35- 6FA9 -9515
3+ messages / 3 participants
[nested] [flat]

* accept AD35- 6FA9 -9515
@ 2002-04-20 07:01  tulasi <rama_tulasi_99@yahoo.com>
  0 siblings, 2 replies; 3+ messages in thread

From: tulasi @ 2002-04-20 07:01 UTC (permalink / raw)
  To: pgsql-sql


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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: accept AD35- 6FA9 -9515
@ 2002-04-21 04:45  Peter Eisentraut <peter_e@gmx.net>
  parent: tulasi <rama_tulasi_99@yahoo.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2002-04-21 04:45 UTC (permalink / raw)
  To: tulasi <rama_tulasi_99@yahoo.com>; +Cc: pgsql-sql

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




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: accept AD35- 6FA9 -9515
@ 2002-04-21 14:10  postgresql <pgsql@symcom.com>
  parent: tulasi <rama_tulasi_99@yahoo.com>
  1 sibling, 0 replies; 3+ messages in thread

From: postgresql @ 2002-04-21 14:10 UTC (permalink / raw)
  To: tulasi <rama_tulasi_99@yahoo.com>; pgsql-sql


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





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-04-21 14:10 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-04-20 07:01 accept AD35- 6FA9 -9515 tulasi <rama_tulasi_99@yahoo.com>
2002-04-21 04:45 ` Peter Eisentraut <peter_e@gmx.net>
2002-04-21 14:10 ` postgresql <pgsql@symcom.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox