Thursday, May 24, 2018

How to get Codeguard to work in Bluehost


I've done the Codeguard backup.

A few tips if you do it with Bluehost or a similar Wordpress provider.

You use the same IP address (as the hostname) for every database (if you have a "dedicated hosting" of a shared "bluebox".

You should enable SHH first (under security) and supply your main user ID and bh password and Port 22 to set up the FTP credentials.

The you add the databases.  The whitelist given by Codeguard may not be sufficient.  Bluehost will probably have to add 3-4 more hardcoded IP's through Remote SQL to make this work.

You should add a new user to each database in MYSQL with a separate password for each.  Bluehost may have to add one more master user on your principal account (if the other db's are addons).

During the backup, CodeGuard will tell you that the provisioning can take up to 4 hours.  Mine took about 10 minutes for the first backup, and then the other three (which are larger) each took around 5 minutes.

Bluehost identifies database names to blogs deep within the File Manager, under PHP code under public-html, specific to each addon.  This is rather analogous to the way a mainframe (COBOL) module might be written to access a specific DB2 table (like in a financial or health care company) through a separate CICS transaction, in the old fashioned work world.

Here's the best static codeguard writeup that I could find.

Note:  to see progress on Bluehost. log in to your account and then go to  .../cgi/codeguard.

Update: July 3

Here is the Codeguard video on the earlier step of adding the website first.


No comments: