1. Reinstall the original version of the DEDECMS in the new space, and then put all the data from the old station, where the data refers to the file, that is, all files except the configuration file config_base.php under the folder include in the root directory are covered under the new space
2. In the old web site background system Management-data backup where backup data, where the data refers to dedecms their own background to take the backup files, similar to the use of phpMyAdmin tools such as backup. After the backup is complete, DEDECMS will put the backup file in the Dede directory under the root directory (default is Dede, if you have modified, is the directory you modified) under the Backup_data folder, you will find that there are many text files.
3. Open the background in the new website (Note: Here the domain name has been resolved to the new station), System Management-data backup-restore data-start to restore data, direct restore on the line.
Note: When backing up data, specify the backup data format there must be attention, must consult the new space business in advance, and then in the decision is to choose 3.x/4.0.x or choose 4.1.x/5.x version, or backup error, the old site can not go, you wait to cry! O (∩_∩) O..
First: moving between space and space
In fact, space and space between moving the most convenient, everyone master the steps I said, 100% can be successfully moved, first of all, you enter the Dede backstage, select System-Database backup-Select All-then point to start, here to see your database version and the new space of the database version of the same can, otherwise there will be garbled. Wait a moment will prompt all data backup completes, according to your database size time not necessarily, after the backup, everybody opens your website ftp, looks at the Data\backupdata directory has the TXT file, this is we just backed up the data, if the uncertainty can look at the file creation date. Then download the Backupdata folder together to the local, continue, images,templets,uploads,plus all 4 folders to download to the local. Finally we reinstall the new Space Dede program, to correspond to your version, after installation, to cover these folders to the root directory, into the background, select System-Database Restore-data restore, you will see your database information, select all click Start Restore data, a will be over, and then select your home page file, Updated home on the OK, so that our space to move to complete.
Second: The background cannot back up the database how to move
For a variety of reasons, we can not go to the background, or the database cannot be backed up, then how should I move that? First we use phpMyAdmin into the SQL database, this should be put, not words Baidu, select your database and then back up, exported to the local, Then all the files in your original space are downloaded into your new space, continue to play data in this folder common.inc.php This file, modify your new space database account password and IP, then cover, this can be, but not suitable for rookie use this method, unless there is really no way, recommend the first Move method, this method may be a little bit of a problem, my site is yesterday from space moved to the VPS server, with This method appears to be unable to update the background, but soon resolved, is the issue of permissions.
Do a website, domain name General change energy is not big, space may go round. A turn will involve the relocation of the website data. Dream Content Management System Dedecms to build a site to move a lot of ways, but effective also only one or two kinds.
Because Dedecms is compiled with PHP, and need MySQL database to prop up a Web site, Web page area and data base area is generally not the same place, unlike the ASP program written by the Flood, ZBLOG, Dorset, New Yun, and so on, Web pages and Access databases are together, Can be relocated throughout the station.
However, the use of WordPress blog program Friends, can understand that the PHP program to write the Web page open faster than the ASP, but static generation effect is less than ASP. What makes people happy is the Dream Content Management System Dedecms can realize the article address of the whole static, it is difficult to pass the valuable.
Moreover, the Dream Content Management System Dedecms Web site can also move the whole station, the following methods:
First, login to your dedecms background, in the "system" area to find "Database backup/Restore", the database for "backup";
Second, all the files in the old space, all downloaded to your computer local;
Third, upload the document to the new space;
Install DEDECMS system in the new space, Method--Download a new installation system in the official website of Dream, pass the things in the "Install" folder in the system to space, cover. Next, run http://your domain/install and install it. It is important to note that the prefix of the database table must be the same as the prefix of the original database table (by default);
Five, after installation, landing backstage, click the "System" area "Database backup/Restore", the data "restore";
Vi. data generation, moving work completed.
Of course, there is also an effective way to prevent WordPress blog move:
First, the old space to download the file to the local, through the Phpadmin, MySQL back to the local;
Second, the website file uploaded to the new space, the database through Phpadmin import;
Third, modify the Dede installation of the database name and password: Open the "include" directory under the config_base.php, download this file
Look for "Database connection information", the following parameters (database name and password) can be changed, upload overlay.
Four, move finished.
As to which method is the best, it is the different of the beholder. Here to remind you, if your site's MySQL database more than 20M, it is best to take the first method above (also known as the Reload method), because some of the space business Database import has a size limit (generally not greater than 20M)-with the reload method can avoid this limitation.
DEDECMS Moving Instructions-official tutorials There's absolutely enough detail.
Because the MySQL database name of different virtual host space is dissimilar (because its prefix is not the same, used to know),
So first back up the database, then put it in a new space to restore, and then regenerate the HTML.
(Note: The new space and the original station of the MySQL database version must also be more than 4.1, or the same is 4.0, 4.0 below, to avoid problems.) View version can be logged phpMyAdmin can see the version is how much)
When the new space is reinstalled with the same version of the DEDECMS system,
The database name and database username and password are, of course, filled out in the new database.
The prefix of the database table you set must be the same as the prefix of the original database table to avoid seeing the content.
Specifically, this is true:
1. Login background, BACKUP database (This database backup file is stored in the. /dede/backupdata/), and remember the username and password of the login backend.
2. Download the database backup file (that is,. /dede/backupdata/this folder), Site style template file (that is,. /templets/this folder), and ... /upimg/This folder (this is the folder where all uploaded files are saved).
3. Reinstall the same version of the DEDECMS system in the new space, at which point the prefix of the database table set must be the same as the prefix of the original database table, so as not to see the content.
(The database name and database username and password are, of course, filled out in the new database.)
4. Upload the original station. /dede/backupdata/and ... /templets/and ... /upimg/these 3 folders to cover the corresponding folders in the new space, so that the original station database backup files and site style template to the new station.
5. Landing new Space Background > System settings > Database management > Database restore, restore the database restore, and then set the site's "Modify system Parameters" (or "System variable Configuration"), the entire station to regenerate HTML.
After the database restore, the background login username and password to use back up the original website backend login username and password.
The default character encoding for MySQL databases in different spaces is not the same, in order to prevent garbled, you back up the old database to see the original code (usually Latin or GBK), restore the database to see whether the new database support your code (some databases do not support GBK), If you support selecting the same encoding after recovery, there will be no garbled problems.