By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,089 Members | 2,301 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,089 IT Pros & Developers. It's quick & easy.

initdb on Debian

P: n/a
I would like to be able to initdb to get a clean database to test
backups. Reading the Debian version of the Postgresql README, I see
that I should use the --debian-conffile option with initdb. Problem
though. I have to run initdb as user postgres, but I need to be root to
edit the stuff in /etc. So I can't run initdb as root or postgres. I
lose either way. Also, since the configs are symlinked in etc, is there
an elegant way to handle the configs in /etc when I'm running > 1
postgresql instances?

Randall
Nov 23 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.