pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dennis <dennis@zserve.com>
To: pgsql-sql@postgresql.org
Subject: Re: automatic restore of database
Date: Thu, 5 Jul 2001 15:57:41 -0600
Message-ID: <9i2nsl$jv9$1@news.tht.net> (raw)
References: <7da55afe.0107050140.7f7e68f0@posting.google.com>

You can use pg_restore to restore a db.   ( Try pg_restore --help )
You can use a cron job to run it everyday.

But don't you mean Backup the database?

-Dennis

Jacky Cheang wrote:

> Dear sir/mdm,
> 
> How do I automatic restore a database everyday in the morning?
> 
> 
> 
> 
> Pls advise,
> 
> Jacky
> 




view thread (4+ messages)  latest in thread

Message-ID: <9i2nsl$jv9$1@news.tht.net>
Permalink:  ../9i2nsl$jv9$1@news.tht.net/
Also on:    postgresql.org/message-id/9i2nsl$jv9$1@news.tht.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dennis@zserve.com
  Subject: Re: automatic restore of database
  In-Reply-To: <9i2nsl$jv9$1@news.tht.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox