rackmount Posted January 18, 2005 Posted January 18, 2005 Hello there everybody rack here, please do not take below as defacto just my way of doing things. I have both information for people and a question for the pros. Having installed a few contributions now I wondered if there is a utility that can do the following (after this text). Firstly though I would like to explain my approach to mods and contributions. Step one I would back up the site via ssh and tar it up into to backup versions 1 without permissions inclusions and one with the one with permissions (using the ?p) would remain on the server just in case it needs to be copied over the top of the modded site (the cock up factor with contribs is high ... sloppy code copy etc), I would then back up the DB with phpmyadmin and save it server side and to local drive. Now I would download the tar file to local hard drive and extract it to a folder of choice. From this directory I could then mod the php etc needed for the new contribution. Some would say why use ssh? well lets put it this way it takes me 5 seconds via ssh to copy the entire OS file directory and about 1 hours via standard ftp. My adsl connection is a bit gittery and drops some times in the middle of ftp sessions so this is most unreliable for OS mods. Anyway I have a question for all programming pro's I would like to do the following Having modified my php files for a mod I would like to extract these files (from my local OS copies) that have been modified but retain the file structure. This way I could simply ftp these files over the top of the old / others on the server without waiting or confusion. Eg if I modded the file in catalog/includes/languages/english/english.php catalog/index.php when I did a search for modified files it would create the folders necessary to reflect the above file locations. This may be a very simple question that can be answered easily if so then please do let me know. Regards Rack
Guest Posted January 18, 2005 Posted January 18, 2005 Your method of backup sounds fine to me. To answer your question, I personally use Dreamweaver. It has a synchronize function, with a few clicks Dreamweaver can compare thoudsands of files via ftp very quickly. This is very efficient for me. (just have to becareful not to overwrite the 2 configure.php files) There are also other ftp programs that can be use to compare and update the files/directories on the servers. I hope that helps. :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.