Skip site navigation (1) Skip section navigation (2)

Re: Dump database more than 1 flat file

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: A(dot)Burbello <burbello3000(at)yahoo(dot)com(dot)br>
Cc: "Postgres Adm List" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Dump database more than 1 flat file
Date: 2007-12-17 22:04:39
Message-ID: dcc563d10712171404tdb8b2e0h4f166d483c27d0cc@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
On Dec 17, 2007 2:06 PM, A.Burbello <burbello3000(at)yahoo(dot)com(dot)br> wrote:
> I consider this way a good practice to transport the
> files. This is because I have table that has more than
> 30GB.
> But if the OS was windows, couldn't split the files
> because postgres doesn't has this feature!
> Could be a good option if postgres had native.
>
> Weel, I will try this:
> eg: $ pg_dump postgres -U postgres -f split.txt |
> split --bytes=10m

http://gnuwin32.sourceforge.net/packages/coreutils.htm

for now.  I used these back in the day (NT4.0 SP4 or so) and they
worked a charm back then.  Heck, even ln worked ( in a manner of
speaking ) back then.

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2007-12-17 22:07:53
Subject: Re: pg_dump --create --schema-only, how to suppress template1 functions ?
Previous:From: Walter, Carol WilliamsDate: 2007-12-17 22:04:33
Subject: Re: Looking for an E/R tool for Postgres

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group