Empire CMS Website Migration Tutorial

Source: Internet
Author: User
Tags mysql query file permissions
Empire CMS Website Migration Tutorial
Core TIP: Site Migration steps: 1, in the old server backup database, D attachment directory and form directory; 2, to new server installation of the new Imperial Web site management system; 3, log back to restore the backup database, D attachment directory and form directory; 4, rebuild the foreground page; 5, the site migration completed. First, in the old server backup database, D attachment directory and form directory: (i), backup D
Site Migration steps:
1, in the old server backup database, "D" Attachment directory and form directory;
2, to new server installation of New cms/ecms/' > Empire website Management system;
3, log back to restore the backup database, "D" Attachment directory and form directory;
4, rebuild the foreground page;
5, the site migration completed.
First, in the old server backup database, "D" Attachment directory and form directory:
(i), backup "D" annex Directory
Back up the "D" directory under the root of the Empire CMS system: Download the "D" attachment directory to Local.
(ii), backup form directory
Backup form directory: Download the "e/data/html" directory to Local.
(iii), BACKUP database
1, Login backstage > "System Setup" > "Backup Data". Enter the following interface:

2. Click "Start Backup" to complete the backup.

3. After backing up the database, download the backup directory to local.
(as in the example above, the backup directory is: E/admin/ebak/bdata/ecmsbak)
Second, the new server to install the New Empire Web site management system:
The installation of the system here is not much to explain, the following is the installation of considerations:
1. The table name prefix to be set at installation is the same as that of the old server's Imperial cms.
2, do not need to operate the installation of initialization data steps.
Third, log in the background restore backup database, "D" Attachment directory and form directory:
(i) restoration of the "D" Annex catalogue
1, the backup of the "D" attachment directory upload to the new server's Empire CMS root directory;
2, and the "D" directory and all subdirectories and file permissions to set to 0777.
(ii) Recovery of form catalogs
1, the backup of the "e/data/html" form directory upload to the new server of the Empire CMS "E/data" directory;
2, and the "e/data/html" directory and all the sub-file permissions set to 0777.
(iii) Recovery of databases backed up
1, the backup of the database directory upload to the new server of the Empire CMS "E/admin/ebak/bdata" directory;
2, Login backstage > "System Setup" > "Restore Data"; Enter the following interface:
Restore the data source directory select the database backup directory uploaded above.

3, select the directory, click "Start Restore" can be completed.

Third, rebuild the foreground page:
1, restore the database, we re-enter the background (with the old server's Empire CMS account login);
2, after landing in the background, and then into the "System settings" > "Data Update Center": sequentially in the following order to generate the foreground page, as shown:

Five, so far, the site has been migrated.
Related instructions
Backup DATABASE FAQ:
1, appears "You have a error in the your SQL syntax;...right syntax to use near '-1 ' at line 1" errors
Workaround: To "parameter settings" that "support MySQL query mode" tick to remove it.
Six. Pictures do not display correctly after migration:
Because the picture is stored in the wrong directory, we can modify the road strength through the SQL statements:
Update phome_ecms_news Set Titlepic=replace (titlepic, '/d/file/', '/chinadire/d/file/') where 1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.