Is there any way to move a DB?

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Is there any way to move a DB?

Postby bdadavies » Thu May 19, 2011 1:54 pm

Im moving up limits which means that most of whats in my DB I wont need.

I dont want to get rid of it just yet because I may well end up dropping back down.

My primary drive is a SSD and my DB is on that. Currently Its using about 40GB.

Id like to be able to move my current DB to my sata HD (to free up space) and start a new one on my SSD.

Is this possible and if so how?

Best wishes.
bdadavies
 
Posts: 110
Joined: Tue Jun 03, 2008 9:09 am

Re: Is there any way to move a DB?

Postby kraada » Thu May 19, 2011 2:17 pm

The easiest thing to do would be to take a backup of the database via our Backup and Restore functionality, then delete it until you need it again (and restore it at that time). Moving the database is possible but complicated as you need to set up a separate tablespace.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Is there any way to move a DB?

Postby bdadavies » Thu May 19, 2011 2:32 pm

Thanks, that sounds like a reasonable solution.
bdadavies
 
Posts: 110
Joined: Tue Jun 03, 2008 9:09 am


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 30 guests

cron