Quoting A-NO-NE Music madflute@anonemusic.com:
Earnie Boyd / 2007/08/24 / 08:25 AM wrote:
For an upgrade to production it is advisable to put the site off line for a few minutes.
Ha-ha. I don't see how this can be done in a few minutes. Thank you for your response, however. You are very helpful and I always save your comments.
You work hard at trying to do a good thing which makes me want to be helpful. Using tar (see response below) can help manage a smaller window.
I would suggest a network time protocol daemon for both hosts.
I am sorry, but I don't understand what you are suggesting.
http://en.wikipedia.org/wiki/Network_Time_Protocol http://www.cis.udel.edu/~mills/ntp/html/ntpd.html
For the database you may wish to look at the importexportapi module or maybe the excellent dba module.
I don't have database backup issue. Copying database between the live and the staging within the live server is pretty easy. I do this all the time.
For the file system you might look at unix standards such as rsync.
I thought rsync also look at the time stamp, no? I have got ChronoSync which is a pretty good application, but turns useless when time stamp is messed up.
Which indicates that you have a time value synchronization issue between the two hosts and why you need to setup ntpd processes on the two hosts. Note, I am not talking about timezones which gives local representation of time. I am talking about the time value and there is only one (or should be) of those.
It's tough to realize that you've stabbed your own self.
The problems is I don't know how I stabbed myself.
Have you considered using tar?
Do you mean uploading tar file? Do I not loose the "Site-Offline" page as soon as I expand the directory to overwrite the live directory until I manually rewrite the settings.php?
Yes, that is what I mean. You can exclude[1] the settings.php file or the entire sites directory and any other file or directory you wish. The site maintenance is controlled in the DB via admin/settings and opening ``Site maintenance''.
By the way, there is one inc file I modified but I can't remember which one. Without proper time stamp, this is bad. I was wondering if anyone knows a good def GUI app runs on OSX10.4. I actually don't know a proper keyword to google this.
You can always install a pristine set of files somewhere on the disk and use the diff command to find the changes. If you want a GUI visual I suggest gvim[1].
[1] http://www.gnu.org/software/tar/manual/html_node/exclude.html#exclude [2] http://macvim.org/OSX/index.php
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/