Unix Technical Forum

moving database to a new partition on disk

This is a discussion on moving database to a new partition on disk within the pgsql Novice forums, part of the PostgreSQL category; --> Hi All, Currently I have the database on a partition on the disk. I would like to move it ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 09:19 PM
sarlav kumar
 
Posts: n/a
Default moving database to a new partition on disk

Hi All,

Currently I have the database on a partition on the disk. I would like to move it to a separate partition which was created exclusively for databases. Is it enough if I just copy the files under /var/lib/pgsql/ directory to the new partition? I am not sure how to go about accomplishing this. Do I need to change any of the .conf files after moving?

It woud be great if someone can let me know how to go about moving the files and how to configure postgres to use the new directory.

Thanks,
Saranya

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:48 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com