Introduction
In my attempt to devise a store update methodology, with minimal disruption to the live store, I came to the conclusion that a mandatory part (of that methodology) would be to duplicate the Zen Cart top level directory (usually 'store' or 'shop') – in the same server, same account.
I quickly realized that this store duplication requires not only a simple single step recursive directory copy but rather needs to be accompanied by database duplication and some configuration files fixups.
Realizing that I am not the first to need something like this, I searched for a step-by-step tutorial on duplicating/mirroring a store within the same server, same account. I found three excellent articles that seemed to be very close to what I was looking for (and certainly relevant):
I have installed Zen Cart to a directory. How do I rename or move that directory?
Is it possible to create/build a complete Zen-Cart setup on a test server and then install on a live server?
How can I do a database-backup with phpMyAdmin?
Still, since I knew that this process was going to be repeated many times in the course of the store's lifetime, I needed a HowTo that is somewhat more detailed, to be used as a checklist or at least as a recipe.
In addition, I needed more specific description of how to perform certain steps in a shared hosting account, which is understandably restricted. For example, generally stating “duplicate the databaes using phpMyAdmin” simply doesn't work in a typical shared hosting account. This step must be performed using other tools, such as cPanel.
Thus, I created this mini HowTo (or Checklist). You are welcome to comment, correct, add, improve, etc. - until we have an article that is good enough for posting in Zen Cart's tutorials section.
Before going ahead with the actual checklist, please note the following clarification: This checklist is for duplicating a store on the same server, same account - and is specific to a Linux based shared hosting account with SSH/SFTP access.
For simplicy sake, it is assumed that Zen Cart's top level directory (under ~/public_html or htdocs) original name is 'store'.
The actual steps will follow in the next message in this thread.
Bookmarks