This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorials:server:migration:start [2012/10/12 23:14] jonyo [Installation Migration or Folder/Domain Change] |
tutorials:server:migration:start [2014/09/25 16:55] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Installation Migration | + | ====== Installation Migration ====== |
With all of our auction and classified software products you can move the complete installation from one directory on the same domain to another directory rather easily. | With all of our auction and classified software products you can move the complete installation from one directory on the same domain to another directory rather easily. | ||
- | These instructions can be used for the following | + | This tutorial actually covers a variety of different |
* Server Migration (meaning copying from one server to another) : Follow **all steps** < | * Server Migration (meaning copying from one server to another) : Follow **all steps** < | ||
- | * Move installation((As in, the installation stays on the same server, but the folder changes.)) | + | * Move installation |
- | * Create test installation((Installation for development/ | + | * Create test installation : Follow **all steps**, |
* Domain change only((Files do not move to a new location, and database is not moving.)) : Use the reduced steps in the tutorial for [[tutorials: | * Domain change only((Files do not move to a new location, and database is not moving.)) : Use the reduced steps in the tutorial for [[tutorials: | ||
+ | If you aren't sure which instructions to follow for your situation, when in doubt ask support! | ||
+ | **NOTE: | ||
- | <tip c n>**Note for Test Installations: | + | <tip c n>**Note for Test Installations: |
- | + | ||
- | If you choose to create an exact copy of your live installation in your testing location make sure to disable all notification emails sent by the system to your clients or they could be getting duplicate expiration notifications for anything expiring in the testing installation the same time it is expiring in the live installation. You can disable all of those within the following admin tool: | + | |
- | + | ||
- | EMAIL SETUP > NOTIFICATION EMAIL SETTINGS</ | + | |
===== Step 0 - Preparation ===== | ===== Step 0 - Preparation ===== | ||
Line 29: | Line 27: | ||
<tip c n> | <tip c n> | ||
- | This is the main step, moving the files from one directory to another. | + | This is the main step, moving the files from one directory to another. |
+ | |||
+ | Option 1 is only if the folder is simply being re-named. | ||
+ | |||
+ | Option 2 is standard option for moving files from one place to another, using FTP. | ||
+ | |||
+ | Option 3 (located on it's own page) uses SSH to zip then SCP the files from one server to the other. | ||
==== Option 1: Folder Rename, on Same Server ==== | ==== Option 1: Folder Rename, on Same Server ==== | ||
Line 48: | Line 52: | ||
And finally, you will need to delete all the files in the **templates_c/ | And finally, you will need to delete all the files in the **templates_c/ | ||
+ | |||
+ | <tip c n> | ||
Once that is complete, continue to the next step [[#Step 2 - Create Database]] | Once that is complete, continue to the next step [[#Step 2 - Create Database]] | ||
- | ==== Advance Option: Use SSH / SCP / ZIP to Transfer Files ==== | ||
- | |||
- | <tip c w> | ||
- | |||
- | Only use this method if you are **comfortable with using SSH and the command line**, and you have SSH access for both the " | ||
- | |||
- | This is accomplishing the same "end result" | ||
- | |||
- | This is the overall steps you will be following: First, SSH into the " | ||
- | |||
- | Here are the **individual steps:** | ||
- | |||
- | - SSH to the " | ||
- | <code bash>cd public_html/ | ||
- | - Zip up entire contents and all sub-folders recursively, | ||
- | - Transfer the new geodesic_files.tar.gz file to the new location using SCP: <code bash>scp geodesic_files.tar.gz [email protected]:/ | ||
- | Change **username** to the SSH username for the " | ||
- | - SSH to the " | ||
- | - Use **cd** to change to the directory that you will be putting the software in, this should be the same folder as you used 2 steps up when you SCP the zip file over. For example if you are placing it in **/ | ||
- | - Make sure the **geodesic_files.tar.gz** file exists in the folder. | ||
- | - Delete the contents of templates_c folder, using <code bash>rm -Rf templates_c/ | ||
- | - You may wish to use FTP to download a copy of the **geodesic_files.tar.gz** file for backup purposes. | ||
- | - That's it! Continue on to the next step [[#Step 2 - Create Database]] | ||
===== Step 2 - Create Database ===== | ===== Step 2 - Create Database ===== | ||
Line 110: | Line 93: | ||
* **[[admin_menu/ | * **[[admin_menu/ | ||
+ | Then in [[admin_menu: | ||
+ | |||
+ | **Test installations Only: | ||
===== Step 5 - Update Links in Templates & Text ===== | ===== Step 5 - Update Links in Templates & Text ===== | ||
Line 139: | Line 125: | ||
If it says 0 rows affected, check to make sure you have set both values correctly. | If it says 0 rows affected, check to make sure you have set both values correctly. | ||
+ | |||
+ | <tip c n>**Test Installation Tip: | ||
+ | |||
+ | If this happened for your site: First, follow this step for your test installation to keep it from happening in the future. | ||
===== Step 7 - SEO Addon ===== | ===== Step 7 - SEO Addon ===== | ||
Line 152: | Line 142: | ||
If you elected to turn your site off during the move, don't forget to **turn your site back " | If you elected to turn your site off during the move, don't forget to **turn your site back " | ||
+ | |||
+ | **Test Installations: |