Re: Backup & Restore a database in PostgreSQL

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Siva Palanisamy *EXTERN*" <siva_p(at)hcl(dot)com>, "Amitabh Kant" <amitabhkant(at)gmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Backup & Restore a database in PostgreSQL
Date: 2011-08-08 12:30:09
Message-ID: D960CB61B694CF459DCFB4B0128514C206B93E53@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Siva Palanisamy wrote:
> However, I get the same list of errors as below. The weird thing is,
it appears to be working fine. I
> could not able to comprehend the error list! I don't have any clue
about it!
>
> For your information, I don't think am running using the superuser
account! But just seem like a
> normal user account.. Could this lead to few issues on privileges?

The messages you get are to be expected if you try to restore a database
without the necessary permissions.

It worked for the objects that the user owns.

If you want to backup just a few tables or a certain schema in the
database,
use the -t or -n flags.
If you want to backup the whole database, make sure you have appropriate
permissions when you restore.

Yours,
Laurenz Albe

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martin Gainty 2011-08-08 12:30:40 Re: Russian Language Spam
Previous Message David Johnston 2011-08-08 12:10:40 Re: Query with rightmost function does not use index