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

* Database separation for backup
@ 2009-03-12 10:48 Nagalingam, Karthikeyan <KARTHIKEYAN.Nagalingam@netapp.com>
  2009-03-12 11:05 ` Re: [GENERAL] Database separation for backup Ashish Karalkar <ashishka@synechron.com>
  2009-03-12 11:15 ` Re: Database separation for backup Karsten Hilbert <Karsten.Hilbert@gmx.net>
  0 siblings, 2 replies; 4+ messages in thread

From: Nagalingam, Karthikeyan @ 2009-03-12 10:48 UTC (permalink / raw)
  To: pgsql-admin; pgsql-general@postgresql.org

Hi,
 
Is there any way to keep each database in separate partition ie)
separate folder for each database. 
 
I would like to do the dabase level backup in storage side, for that If
I am able to separate the database in folderwise, I can allocate
separate partition for each database. Then I can take the backup in each
partition. 
 
Your recommendation and suggestion are welcome. 
 
Regards 
Karthikeyan.N
 
 

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

* Re: [GENERAL] Database separation for backup
  2009-03-12 10:48 Database separation for backup Nagalingam, Karthikeyan <KARTHIKEYAN.Nagalingam@netapp.com>
@ 2009-03-12 11:05 ` Ashish Karalkar <ashishka@synechron.com>
  1 sibling, 0 replies; 4+ messages in thread

From: Ashish Karalkar @ 2009-03-12 11:05 UTC (permalink / raw)
  To: Nagalingam, Karthikeyan <KARTHIKEYAN.Nagalingam@netapp.com>; +Cc: pgsql-admin; pgsql-general@postgresql.org

Nagalingam, Karthikeyan wrote:
> Hi,
>  
> Is there any way to keep each database in separate partition ie) 
> separate folder for each database.
>  
> I would like to do the dabase level backup in storage side, for that 
> If I am able to separate the database in folderwise, I can allocate 
> separate partition for each database. Then I can take the backup in 
> each partition.
>  
> Your recommendation and suggestion are welcome.
>  
> Regards
> Karthikeyan.N
>  
>  
I guess tablespace will be of  your use and also you can directly use  
softlink to link database directory in data/base<databaseoid>  to the 
desired folder.


With Regards
--Ashish



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

* Re: Database separation for backup
  2009-03-12 10:48 Database separation for backup Nagalingam, Karthikeyan <KARTHIKEYAN.Nagalingam@netapp.com>
@ 2009-03-12 11:15 ` Karsten Hilbert <Karsten.Hilbert@gmx.net>
  2009-03-12 12:04   ` Re: Database separation for backup Nagalingam, Karthikeyan <KARTHIKEYAN.Nagalingam@netapp.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Karsten Hilbert @ 2009-03-12 11:15 UTC (permalink / raw)
  To: pgsql-general@postgresql.org

On Thu, Mar 12, 2009 at 04:18:50PM +0530, Nagalingam, Karthikeyan wrote:

> Is there any way to keep each database in separate partition ie)
> separate folder for each database. 
>  
> I would like to do the dabase level backup in storage side, for that If
> I am able to separate the database in folderwise, I can allocate
> separate partition for each database. Then I can take the backup in each
> partition. 


You can use tablespaces to separate things on disk but it
won't make taking filesystem level backups as easy as you
might hope.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



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

* Re: Database separation for backup
  2009-03-12 10:48 Database separation for backup Nagalingam, Karthikeyan <KARTHIKEYAN.Nagalingam@netapp.com>
  2009-03-12 11:15 ` Re: Database separation for backup Karsten Hilbert <Karsten.Hilbert@gmx.net>
@ 2009-03-12 12:04   ` Nagalingam, Karthikeyan <KARTHIKEYAN.Nagalingam@netapp.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Nagalingam, Karthikeyan @ 2009-03-12 12:04 UTC (permalink / raw)
  To: Karsten Hilbert <Karsten.Hilbert@gmx.net>; pgsql-general@postgresql.org

Thanks karsten.

Anybody have production setup with diff database in diff folder ie) diff
partition. Please provide the details if possible help me with diaghram.


Regards 
Karthikeyan.N
 

-----Original Message-----
From: Karsten Hilbert [mailto:Karsten.Hilbert@gmx.net] 
Sent: Thursday, March 12, 2009 4:46 PM
To: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Database separation for backup

On Thu, Mar 12, 2009 at 04:18:50PM +0530, Nagalingam, Karthikeyan wrote:

> Is there any way to keep each database in separate partition ie) 
> separate folder for each database.
>  
> I would like to do the dabase level backup in storage side, for that 
> If I am able to separate the database in folderwise, I can allocate 
> separate partition for each database. Then I can take the backup in 
> each partition.


You can use tablespaces to separate things on disk but it won't make
taking filesystem level backups as easy as you might hope.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To
make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



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


end of thread, other threads:[~2009-03-12 12:04 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12 10:48 Database separation for backup Nagalingam, Karthikeyan <KARTHIKEYAN.Nagalingam@netapp.com>
2009-03-12 11:05 ` Ashish Karalkar <ashishka@synechron.com>
2009-03-12 11:15 ` Karsten Hilbert <Karsten.Hilbert@gmx.net>
2009-03-12 12:04   ` Nagalingam, Karthikeyan <KARTHIKEYAN.Nagalingam@netapp.com>

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