Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Best backup set...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 15380 of 17598
Post > Topic >>

Best backup setup

by gabor@[EMAIL PROTECTED] ("Gabor Siklos") Apr 23, 2008 at 11:03 AM

This is a multipart message in MIME format.

------=_NextPart_000_008B_01C8A531.B37B9360
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I need to back up our database off-site for disaster recovery. If I just
back up the entire database data directory (i.e. /var/lib/pgsql/data) will
I
be able to restore from there? Or should I instead just dump the data,
using
pg_dump, and back up the dump?

The advantage of the first method would be that I would not have to wait
for
pg_dump (it takes quite long on our 60G+ database) and would just be able
to
configure the backup agent to monitor the data directory and do
differential
backups of the files there every hour or so. 

Your suggestions are much appreciated!

-Gabor

------=_NextPart_000_008B_01C8A531.B37B9360
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
08.00.0681.000">
<TITLE>Best backup setup</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT FACE=3D"Calibri">I need to back =
up our database off-site for disa</FONT></SPAN><SPAN =
LANG=3D"en-us"><FONT FACE=3D"Calibri">ster recovery. If I just back up =
the entire database data directory (i.e.</FONT></SPAN><SPAN =
LANG=3D"en-us"><FONT FACE=3D"Calibri"> /var/lib/pgsql/data) will I be =
able to restore from there? Or should I instead just dump the data, =
using pg_dump, and back up the dump?</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT FACE=3D"Calibri">The advantage =
of the</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT FACE=3D"Calibri">first =
method would be that I would not have to wait for pg_dump (it takes =
quite long on our 60G+ database) and would just be able to configure the =
backup agent to monitor the data directory and do</FONT></SPAN><SPAN =
LANG=3D"en-us"> <FONT FACE=3D"Calibri">differential backups of the files =
there every hour or so. </FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">Your</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT =
FACE=3D"Calibri">suggestions</FONT></SPAN><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri"> are much appreciated!</FONT></SPAN></P>

<P DIR=3DLTR><SPAN LANG=3D"en-us"><FONT =
FACE=3D"Calibri">-Gabor</FONT></SPAN><SPAN LANG=3D"en-us"></SPAN></P>

</BODY>
</HTML>
------=_NextPart_000_008B_01C8A531.B37B9360--
 




 2 Posts in Topic:
Best backup setup
gabor@[EMAIL PROTECTED]   2008-04-23 11:03:43 
Re: Best backup setup
erik@[EMAIL PROTECTED] (  2008-04-24 09:21:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 8:30:34 CST 2008.