Received: from crystal.sonosite.com (test.sonosite.com [199.108.95.8]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9VLrwP34879 for ; Wed, 31 Oct 2001 16:53:58 -0500 (EST) (envelope-from fushan.leong@SonoSite.com) Received: from milton.sonosite.com (unknown [172.20.53.53]) by crystal.sonosite.com (Postfix) with ESMTP id 2A09217CF for ; Wed, 31 Oct 2001 15:44:02 -0600 (CST) Received: by milton.sonosite.com with Internet Mail Service (5.5.2653.19) id ; Wed, 31 Oct 2001 13:52:24 -0800 Message-ID: <2DFBC8374F5A0F4E954C07C158844F32085202@milton.sonosite.com> From: "Leong, Fushan" To: "'pgsql-admin@postgresql.org'" Subject: Re: backup file system Date: Wed, 31 Oct 2001 13:52:16 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200110/276 X-Sequence-Number: 2520 Francisco : Would you tell me what problem did you face when you try to restore the database from backup filesystem? Fushan -----Original Message----- From: Francisco Solari [mailto:fsolari@prosalud.com.ar] Sent: Wednesday, October 31, 2001 5:41 AM To: Leong, Fushan Cc: 'pgsql-admin@postgresql.org' Subject: Re: [ADMIN] backup file system I had the same problem, but backing up the filesystem isn't the solution. I did it and when I tried to restore the database was impossible. If anyone knows how to solve this problem please let me know "Leong, Fushan" wrote: > Hi : > > I am very new in postgres and hope someone can give me some suggestions > > I am working on a shell script to backup my postgres database. Compared > with pg_dump and pg_dumpall, I would > like to backup the file system instead of dump the database because I can > shutdown the database server in > midnight for a few hours. I also can sure I will have a stable backup. ( No > user is doing anything at the same time ) > > I search internet but did not find anyone mention this method. Did I miss > anything? I plan to backup all > files under data directory. Is that enough? > > thanks > Fushan > DBA > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html