Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > Re: best practi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 3062 of 3323
Post > Topic >>

Re: best practices for dumping databases

by rterry@[EMAIL PROTECTED] (richard terry) Apr 7, 2008 at 01:45 PM

On the same topic, but a variation. 

I use pgAdmin 1.4.2 and am a paranoid backer-upper, ie do it frequently,
but 
obviously have not been taking notice of the messages as they spin past.

When the database and its schema's have been open and I've been working on

them, I usally then just click on the database name, right mouse click > 
backup > enter file name > choose plain > ok, then copy the resultant file

off the machine.

I noticed yesterday that on occasions the title bar window was only
showing 
the name of either a schema, or even a single table, and to my horror I've

discovered I was often not getting a complete database dump.

Despite going back up and clicking the database name, right mouse up witih
the 
menu, choose _Backup etc, it was only copying a table or shema I'd
previously 
worked on.

If I closed the connection and re-established it, then the squence works.

Am I doing anything wrong???

Regards

Richard

On Mon, 7 Apr 2008 11:24:04 am Tom Lane wrote:
> "Mag Gam" <magawake@[EMAIL PROTECTED]
> writes:
> > But, what is the correct practice to do db_dumps? pg_dump db should
> > suffice?
>
> Yes, though remember that pg_dump doesn't dump any role or tablespace
> definitions, and it also doesn't think about properties attached to the
> database as such (ALTER DATABASE etc).  You might want to use
> "pg_dumpall -g" for those.
>
> 			regards, tom lane



-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 6 Posts in Topic:
best practices for dumping databases
magawake@[EMAIL PROTECTED  2008-04-06 16:25:13 
Re: best practices for dumping databases
sdavis2@[EMAIL PROTECTED]  2008-04-06 16:51:55 
Re: best practices for dumping databases
tgl@[EMAIL PROTECTED] (T  2008-04-06 18:36:27 
Re: best practices for dumping databases
magawake@[EMAIL PROTECTED  2008-04-06 20:49:35 
Re: best practices for dumping databases
tgl@[EMAIL PROTECTED] (T  2008-04-06 21:24:04 
Re: best practices for dumping databases
rterry@[EMAIL PROTECTED]   2008-04-07 13:45:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 5:18:35 CST 2008.