Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore - Mailing list pgsql-general

From Andrus Moor
Subject Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore
Date
Msg-id 381E2FBB053749AF807B01D11A0EDE0F@andrusnotebook
Whole thread Raw
In response to Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore  (Robert Gravsjö <robert@blogg.se>)
Responses Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore
Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore
List pgsql-general
Robert,

> I'm probably misunderstanding but "CREATE DATABASE foo TEMPLATE bar" will
> clone bar as foo including data. Of course this only works within the same
> cluster.

Than you.
You are genious
I haven't never tought about this.

Will this work if database bar is accessed by other users ? Probably it
fails, so it cannot used.
Will this command create exact copy ?

Andrus.


pgsql-general by date:

Previous
From: Robert Gravsjö
Date:
Subject: Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore
Next
From: Raymond O'Donnell
Date:
Subject: Re: How to restore from backup to 8.4.3 server using 9.0 dump/restore