pg-dump Questions

2

This a first time foray in PostgreSQL backups (db dumps) and I've been researching the different pgdump formats, other pgdump options, and pgdumpall. For a Postgres beginner looking at taking an ho...
Goren asked 27/11, 2013 at 5:8

1

Solved

I'm working on the same databse schema on different machines (PostgreSQL). I would like to know, how to merge data from one machine to another. Schema has many tables (around 10). What I want to ac...
Christelchristen asked 25/11, 2013 at 8:38

1

Solved

I have a Postgres database "rafiu" with many schemas namely test1, test2, test3. In this I want to dump the test2 schema and its data. I tried with the following query pg_dump -U postgres -n test...
Pig asked 22/11, 2013 at 7:16

3

Solved

I had Postgres 9.0.x installed with homebrew, but because of lack of some modules I removed it using: brew uninstall postgres and installed Postgres 9.1.3 from http://www.enterprisedb.com/downlo...
Misdoing asked 17/5, 2012 at 12:6

1

Solved

If I run pg_dump to dump a table into a SQL file, does it take a snapshot of the last row in the table, and dump all the rows up to this row? Or does it keep dumping all the rows, even those that w...
Impulse asked 8/8, 2013 at 23:42

3

I'm trying to restore a pg_dump taken with this command from another server. sudo -u postgres pg_dump --verbose --format=custom --file=pg-backup.sql -U postgres salesDB After I copied over the p...
Hatti asked 11/7, 2013 at 0:0

1

Solved

Hello everyone i am try to create backup in postgres through dump. when i run the command through command line it wants password when i give the password it will give some error pg_dump: [archiver...
Pattipattie asked 15/6, 2012 at 8:33

2

Is there any way to dump a postgres db using psql only ( without pg_dump )? Thanks.
Gingery asked 24/2, 2012 at 15:18

1

I know PostgresQL pg_dump guarantees consistency even if DB is modified while dump is going on, but I want to know if the final dump contains any data modified/inserted after the dump started. To ...
Maytime asked 6/7, 2011 at 0:44

2

In short, my question is "why doesn't $libdir work on my PSQL installation." CREATE FUNCTION st_box2d_in(cstring) RETURNS box2d AS '$libdir/liblwgeom', 'BOX2DFLOAT4_in' LANGUAGE c IMMUTABLE STR...
Whitehall asked 28/8, 2009 at 19:51

1

Solved

I have been playing around with PostgreSQL lately, and am having trouble understanding how to backup and restore a single table. I used pgadmin3 to backup a single table in my database, in order t...
Groos asked 5/1, 2011 at 22:46

2

Solved

As subjects, what will happen to the backup file while there is still many active transaction in the database. Does it export realtime or just partially backups ? thanks in advance.
Lusty asked 22/10, 2010 at 9:45

1

Solved

Can I programatically(or whichever way works fine) create the backup of a database, with only the tables I want? I have around 100 tables in my database and I want only 10 tables backup(ofcourse al...
Amaro asked 2/3, 2009 at 15:24

© 2022 - 2024 — McMap. All rights reserved.