pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Restore template1
4+ messages / 3 participants
[nested] [flat]

* Restore template1
@ 2000-12-18 15:49 Luis Sousa <llsousa@ualg.pt>
  2000-12-18 15:59 ` Re: Restore template1 Ragnar Kjørstad <postgres@ragnark.vestdata.no>
  0 siblings, 1 reply; 4+ messages in thread

From: Luis Sousa @ 2000-12-18 15:49 UTC (permalink / raw)
  To: pgsql-admin

There's a way to backup template1 to restore it when happens a disaster
without installing again PostgreSQL ???

Regards

--
Luis Sousa
Tecnico Superior de Informatica
Gabinete de Assessoria e Planeamento
Universidade do Algarve






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Restore template1
  2000-12-18 15:49 Restore template1 Luis Sousa <llsousa@ualg.pt>
@ 2000-12-18 15:59 ` Ragnar Kjørstad <postgres@ragnark.vestdata.no>
  2000-12-20 15:49   ` Re: Restore template1 Luis Sousa <llsousa@ualg.pt>
  0 siblings, 1 reply; 4+ messages in thread

From: Ragnar Kjørstad @ 2000-12-18 15:59 UTC (permalink / raw)
  To: Luis Sousa <llsousa@ualg.pt>; +Cc: pgsql-admin

On Mon, Dec 18, 2000 at 03:49:18PM +0000, Luis Sousa wrote:
> There's a way to backup template1 to restore it when happens a disaster
> without installing again PostgreSQL ???

Doesn't "initdb" create the template1 database?


-- 
Ragnar Kjørstad



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Restore template1
  2000-12-18 15:49 Restore template1 Luis Sousa <llsousa@ualg.pt>
  2000-12-18 15:59 ` Re: Restore template1 Ragnar Kjørstad <postgres@ragnark.vestdata.no>
@ 2000-12-20 15:49   ` Luis Sousa <llsousa@ualg.pt>
  2000-12-20 22:40     ` Re: Re: Restore template1 Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 1 reply; 4+ messages in thread

From: Luis Sousa @ 2000-12-20 15:49 UTC (permalink / raw)
  To: Ragnar Kjørstad <postgres@ragnark.vestdata.no>; pgsql-admin

What really does "initdb"  ?

It creates a new database system but is for use of the user that created her
!!!

Luis Sousa

Ragnar Kjørstad wrote:

> On Mon, Dec 18, 2000 at 03:49:18PM +0000, Luis Sousa wrote:
> > There's a way to backup template1 to restore it when happens a disaster
> > without installing again PostgreSQL ???
>
> Doesn't "initdb" create the template1 database?
>
> --
> Ragnar Kjørstad






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Re: Restore template1
  2000-12-18 15:49 Restore template1 Luis Sousa <llsousa@ualg.pt>
  2000-12-18 15:59 ` Re: Restore template1 Ragnar Kjørstad <postgres@ragnark.vestdata.no>
  2000-12-20 15:49   ` Re: Restore template1 Luis Sousa <llsousa@ualg.pt>
@ 2000-12-20 22:40     ` Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 0 replies; 4+ messages in thread

From: Oliver Elphick @ 2000-12-20 22:40 UTC (permalink / raw)
  To: Luis Sousa <llsousa@ualg.pt>; +Cc: Ragnar Kjørstad <postgres@ragnark.vestdata.no>; pgsql-admin

Luis Sousa wrote:
  >What really does "initdb"  ?
  >
  >It creates a new database system but is for use of the user that created her
  >!!!

initdb creates the database structure including a database (template1)
which is the model for all other databases created in the future.

The whole structure is owned by the UNIX user who ran initdb and a
PostgreSQL user of the same name is created.  This user is the PostgreSQL
administrator, who can create other users (PostgreSQL users, not Unix
users) and databases.  He can give other users the right to create
databases; tables in a database belong to the PostgreSQL user who
creates the tables.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "And she shall bring forth a son, and thou shall call 
      his name JESUS; for he shall save his people from 
      their sins."            Matthew 1:21 





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2000-12-20 22:40 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-12-18 15:49 Restore template1 Luis Sousa <llsousa@ualg.pt>
2000-12-18 15:59 ` Ragnar Kjørstad <postgres@ragnark.vestdata.no>
2000-12-20 15:49   ` Luis Sousa <llsousa@ualg.pt>
2000-12-20 22:40     ` Oliver Elphick <olly@lfix.co.uk>

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