Home  >  Article  >  CMS Tutorial  >  How to relocate DedeCMS site data

How to relocate DedeCMS site data

王林
王林Original
2019-11-09 10:35:352242browse

How to relocate DedeCMS site data

We first obtain the database account and password of the destination, and ensure that we hold a database or have the permission to create a database.

1. First log in to the backend of Dreamweaver and enter the "System" Database Backup/Restore column

How to relocate DedeCMS site data

2. If the data has been backed up before, You need to rename the backupdata folder under the data folder in the root directory of the Dreamweaver program to another name, such as "_backupdata"

How to relocate DedeCMS site data

3. Select all tables. Select the MYSQL version according to the situation and submit the backup according to the default options

How to relocate DedeCMS site data

4. After the backup is successful, upload all the programs and directories of the website to the new server. Then rename "index.php.bak" in the install folder in the root directory of the uploaded program to "index.php", and change "module-install.php.bak" to "module-install.php", delete "install_lock.txt" file

How to relocate DedeCMS site data

5. Enter "your domain name/install/index.php" in the browser address bar to start the normal installation process, in which the database account password is required Fill in the information of the destination server, and keep the default account and password of the website program

How to relocate DedeCMS site data

6. Log in to the backend of the website program "http://domain name/backend path" and enter the "System 》Database backup/restore》Data restoration in the upper right corner》Start restoring data in the lower left corner"

How to relocate DedeCMS site data

#7. When the data is completely restored, change the permissions of the install folder in the website program Set it to unreadable or delete it directly

Note: After successfully migrating the entire website, the original data should be retained to prevent the transfer from being incomplete.

Recommended tutorial: dedecms tutorial

The above is the detailed content of How to relocate DedeCMS site data. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn