Re: Announcing Postgresql backup script.

From: Grant <grant(at)conprojan(dot)com(dot)au>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Announcing Postgresql backup script.
Date: 2001-06-26 03:04:41
Message-ID: Pine.LNX.4.21.0106261258330.16256-100000@webster.conprojan.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > I have written a simple bourne shell script which performs all backup
> > functions, but no restore at this point.
>
> ah, isn't that like building a really fast car with no brakes?

This car has brakes, but they're not so easy to use just yet.

Volunteering? :)

To restore just do the following:

[postgres(at)linux 26-06-2001]$ /server/pgsql/bin/dropdb -h localhost binary_data
DROP DATABASE
[postgres(at)linux 26-06-2001]$ /server/pgsql/bin/createdb -h localhost binary_data
CREATE DATABASE
[postgres(at)linux 26-06-2001]$ gunzip 12:00-postgresql_database-binary_data-backup.gz
[postgres(at)linux 26-06-2001]$ psql -h localhost binary_data < 12:00-postgresql_database-binary_data-backup
You are now connected as new user postgres.
CREATE...

etc etc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Mercer 2001-06-26 03:18:20 Re: Proposal for encrypting pg_shadow passwords
Previous Message Bruce Momjian 2001-06-26 03:04:15 Proposal for encrypting pg_shadow passwords