Dedecms is the most used CMS website system in China, basically do not need any technology can have their own website, the site backup and migration is also very convenient, summarized below four backup restore methods to provide you with reference.
Dedecms Backup Restore method one: traditional way
1. Log in to the old station background backup database.
2, on the old station FTP download three folders:
The Backup_data file under the Data folder (just download the Backup_data folder, this is a database backup),
Uploads folder (storing pictures, attachments, etc.),
Templets folder (old station template, if you don't want to do it)
Also note that if you create a new folder for pictures or other template files, you must also do a backup, or the path will be wrong, the file will be lost.
3, in the new station to install the same version of the old station Dede, the site password and database password and the same as the old station
4, upload the download good old station Three files replace the old and new three folders
5, to the new station background database restore: Into the newly installed system in the background –> System Management –> Database restore, select all the backup files, and check the restore table structure letter, and then click Start also source data can be restored.
6, update the content of the site on the line.
Dedecms Backup Restore Note:
In the new space to install a new DEDECMS system (remember the encoding to choose the same), this is a very important step, in/data/backup_data find tables_struct the beginning of this TXT file, and then open with Notepad or editplus, Then find the default Charset=utf8 or default CHARSET=GBK and remove them all.
Dedecms Backup Restore Method II: In case of database replacement
1. Back up data: Back up data in the background of the old space first
2. Transfer the program and data to the new space: Then, re-install the DEDECMS in the new space, then use the FTP software to upload the old space program and data to the new space, note that the template style is also uploaded, the uploaded program to overwrite the newly installed program.
3. Modify the database configuration file;
This step is important, use the FTP software to the database configuration file in the root directory of the new space site: dedecms/common.inc.php opens with Notepad.
There are several places to modify:
$dbhost = ' localhost '; Database server (generally not required to change)
$dbuser = ' root '; Database user Name
$DBPW = ' Sohu '; Database Password
$dbname = ' VC '; Database name
4. Restore data
Restore directly from the background, and finally update the DEDECMS site cache is ready, to this, dedecms backup restore finished!
Dedecms backup and Restore method three: Using multi-backup to make the whole station automatic backup and restore
1, in the multi-backup www.dbfen.com register an account, do file backup and database backup, set the relevant FTP parameters, after the backup settings, automatic backup processing, without the manual ftp download, can be directly completed online
2, restore: The use of multi-backup online recovery and migration capabilities, directly online to complete the site move
This article is from the "Big Meatball" blog, please make sure to keep this source http://12478147.blog.51cto.com/9663367/1612015
Dedecms Backup Restore method