Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyFTK-00033O-I1 for pgsql-admin@arkaria.postgresql.org; Mon, 16 Nov 2015 08:49:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZyFTJ-0007ns-WB for pgsql-admin@arkaria.postgresql.org; Mon, 16 Nov 2015 08:49:10 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZyFRe-0004bi-ET for pgsql-admin@postgresql.org; Mon, 16 Nov 2015 08:47:26 +0000 Received: from plane.gmane.org ([80.91.229.3]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZyFRb-0004A1-Ij for pgsql-admin@postgresql.org; Mon, 16 Nov 2015 08:47:25 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZyFRU-0000Le-A8 for pgsql-admin@postgresql.org; Mon, 16 Nov 2015 09:47:16 +0100 Received: from 185.40.248.10 ([185.40.248.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Nov 2015 09:47:16 +0100 Received: from spam_eater by 185.40.248.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Nov 2015 09:47:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org From: Thomas Kellerer Subject: Re: how to take export of one year data from large database which contain 4 years of data. Date: Mon, 16 Nov 2015 09:47:09 +0100 Lines: 11 Message-ID: References: <1447661872.857322350@apps.rackspace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 185.40.248.10 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 In-Reply-To: <1447661872.857322350@apps.rackspace.com> X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org clingareddy@vsoftcorp.com schrieb am 16.11.2015 um 09:17: > My database contains 4 years of data, but i want to migrate only one year i.e 2015 of data to another database. > > > Please help me how to take export of one year data. Is there any bus_date condition we can use while exporting? I have never used this, but Jailer claims to support exporting a (logical) subset of a database: http://jailer.sourceforge.ne Thomas -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin