Home > Article > CMS Tutorial > 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
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"
3. Select all tables. Select the MYSQL version according to the situation and submit the backup according to the default options
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
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
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"
#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!