Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

My Postgres-Server is running for quite a while and contains probably 4-5 GB of data.

Backups are done using dumps, and this works ok. Though not most efficient, it just works.

Due to future growth I like to activate PITR backups (like RMAN in Oracle).

Is that possible and/or recommended? Or would it be better for me to recreate the DB with the correct settings upfront?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

No need to recreate the database. Set up archive_mode and archive_command, restart the server, create a base backup, and there you go. (Details vary depending on version.)

It is quite common to "upgrade" from pg_dump to PITR backups as the database grows.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.