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 Novice > Re: Restoring D...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 3047 of 3323
Post > Topic >>

Re: Restoring DB using Continuous Archive Backup

by salmanb@[EMAIL PROTECTED] (salman) Mar 28, 2008 at 12:59 AM

On Mar 28, 2008, at 12:15 AM, nick wrote:

> Thanks for the reply, a****sh.
>
> Sorry, should=92ve been more specific.
>
> By running WAL, I mean reprocessing the WALs up to a certain point=20=20
> of time.
>
> For example:
>
> A backup is made at 0000 hours. Something happens. Restore has to be=20=
=20
> made at 2000.
>
> Since the backup is at 0000, 20 hours=92 worth of transactions will
be=20=
=20
> stored in WAL. To get the data up to the 2000 the WALs have to be=20=20
> reprocessed. I realize the only way for this to work is by data file=20=
=20
> duplication, so this mean the service has to be stopped anyway to=20=20
> allow the files to be restored.
>
> But there may be a requirement to not take the system offline so
I=92m=20=
=20
> looking for a method to do the restore and WAL reprocessing
without=20=20
> stopping then starting the service like described in the manual.
>
> It would be of great help if it=92s possible.
>
> Thanks in advance,
>
> Nick
>


You need to put postgres in recovery mode to restore from WAL logs; at=20=
=20
this time, there isn't any way to have any write or read-only access=20=20
to the service while a restore is in progress. For 20 hours' worth
of=20=20
data, depending on your hardware, you're probably looking at 1-3 hours=20=
=20
of restore time before you're caught up.

I don't believe there's a way to have db offline and others
available=20=20
for usage since that will change the timeline.

HTH,

-salman


--=20
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 5 Posts in Topic:
Restoring DB using Continuous Archive Backup
nicktjh@[EMAIL PROTECTED]  2008-03-27 18:21:43 
Re: Restoring DB using Continuous Archive Backup
ashish.karalkar@[EMAIL PR  2008-03-27 17:09:59 
Re: Restoring DB using Continuous Archive Backup
nicktjh@[EMAIL PROTECTED]  2008-03-28 12:15:05 
Re: Restoring DB using Continuous Archive Backup
salmanb@[EMAIL PROTECTED]  2008-03-28 00:59:29 
Re: Restoring DB using Continuous Archive Backup
ashish.karalkar@[EMAIL PR  2008-03-28 12:55:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Dec 5 5:06:44 CST 2008.