From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
---|---|
To: | Carlos Oliva <carlos(at)pbsinet(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Schema, databse, or tables in different system folder |
Date: | 2009-06-02 14:21:40 |
Message-ID: | 20090602142140.GB17460@a-kretschmer.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
In response to Carlos Oliva :
> Is there a way to create a database or a table of a database in its own
Database or table?
> folder? We are looking for ways to backup the sytem files of the database
> to tape and one to exclude some tables from this backup. We can selectively
> backup folders of the file system so we figure that if we can create a
> schema or database or table in its own folder, we can backup our database
> and exclude the tables selectively. We are using Linux RedHat. Thank you.
You can use tablespaces, see:
16:16 < akretschmer> ??tablespace
16:16 < rtfm_please> For information about tablespace
16:16 < rtfm_please> see http://people.planetpostgresql.org/xzilla/index.php?/archives/322-tablespace-management-variables.html
16:16 < rtfm_please> or http://www.postgresql.org/docs/current/static/manage-ag-tablespaces.html
But read also the docu about backup/restore.
A simple file-system-copy on a running DB don't work as backup.
Regards, Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
From | Date | Subject | |
---|---|---|---|
Next Message | Grzegorz Jaśkiewicz | 2009-06-02 14:26:18 | is generate_series_timestamp() exposed on public api ? |
Previous Message | Bruce Momjian | 2009-06-02 14:19:12 | Re: Accessing pg_controldata information from SQL |