X-Original-To: pgsql-admin@postgresql.org Received: from biscay.ymogen.com (biscay.ymogen.net [194.164.6.62]) by postgresql.org (Postfix) with SMTP id 9FD94475FD9 for ; Sat, 15 Mar 2003 18:45:06 -0500 (EST) Received: (qmail 7791 invoked from network); 15 Mar 2003 23:45:07 -0000 Received: from unknown (HELO ymogen.net) (mailuser@194.164.65.179) by 0 with SMTP; 15 Mar 2003 23:45:07 -0000 Message-ID: <3E73BB01.2020403@ymogen.net> Date: Sat, 15 Mar 2003 23:45:05 +0000 From: Matt User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murthy Kambhampaty Cc: pgsql-admin@postgresql.org Subject: Re: LVM snapshots References: <2D92FEBFD3BE1346A6C397223A8DD3FC09218F@THOR.goeci.com> In-Reply-To: <2D92FEBFD3BE1346A6C397223A8DD3FC09218F@THOR.goeci.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200303/240 X-Sequence-Number: 7880 Murthy Kambhampaty wrote: >Backup restore has been tested so far by restoring a table and comparing the >contents; they were identical. Thanks to rsync performance is fantastic >compared to pgdump to a file (my past e-mail to the list will give some idea >of the problems we've had with that). I'd be interested in comments on the >strategy and the script itself. > > > Many thanks for the detailed info! As I see it the discussion so far says: 1. The strategy should theoretically work (coy comments in the docs notwithstanding) 2. It works for you in practice 3. It works very efficiently when using rsync The only potential missing piece that I can see is some thorough stress-testing, such as running say 50 updates/second against a multi-table DB while the snapshotting and backup takes place, then testing the snapshotted DB. Is the DB you have been backing up under significant load when you take the snapshot? If the theory can be robustly demonstrated to work in practice (which you may have already done) then I say this strategy needs to be recognised in the docs (or at least the techdocs) as a valid and useful one.