I was planning a PHP upgrade – actually now postponed until php 5.3.* is more stable.
So I backed up a number of virtual servers using VirtualMin Back up.
IN the Virtual Servers pane I selected only 3 web sites whose CMS’s are PHP dependent.
Under the “Features and Settings” I left it default to “Backup All features”.
I then proceeded to run all the virtualMin update packages, which included upgrades to MySQL and PostGreSQL 8.1.18 – the latter update overwrote the file
/var/lib/pgsql/data/postgresql.conf (we think… we are not certain)
Remote connections died shortly thereafter. Now, it is not clear if the original postgresql.conf had “listen_addresses=”" or not, suffice it to say that now it was showing “listen_addresses=“localhost” and this can be overcome with a runtime restart of psgresql using postmaster -i (equivalent to setting listen_address=”") at any rate, simple solution once you know what you are doing, But, sorry to say the ServePath tech support is very competent, but their tier 1 support never creates a .bac of files they touch…before they touch them. (irks some of our team no end… how could we regress if they made a mistake?) Anyway, “Jimmy” (could be someone in India) set listen_addresses=* and now everything works.
Happy ending, almost:
One of my senior back end team players wants to see the copy of postgresql.conf before jimmy touched it and before I upgraded PostGresSQL to 8.1.18 – not an unreasonable request.
That is a long winded intro 2 two questions:
- How is a given data base “assigned” to a particular virtual server when backedup?
- If you chose specific servers on back up but have “Backup all features” checked on…
is /var/lib/pgsql/data/ rolled into the back up? If so which one of the virtualServer.com.tar.gz’s (I have three of them now) will have which database? (goes to question 1…)
(I think that directory contains both the conf files and the data bases themselves, right? But you never see data bases by any name, only some ID number. as you can see I’m a very, very green dbase admin, not worthy of that title even (smile) But, “ya gotta start somewhere”