Dedecms backup and recovery tutorial

Source: Internet
Author: User
Method 1 ■ backup ■ 1. log on to the website background and go to System-database backup/restoration. 2. select all the tables listed on the page and click submit; 3. download all files to the local directory (especially the/data/backupdata/directory and templets directory) in ftp; ■ when the website encounters a problem and the data needs to be transferred and recovered Method 1
■ Backup ■
1. log onto the website background and go to the system-database backup/restoration;
2. select all the tables listed on the page and click submit;
3. download all files to the local directory (especially the/data/backupdata/directory and templets directory) through ftp );
■ Recovery ■
When a website encounters a problem and you need to transfer and restore data, follow these steps:
1. Upload all files to the server;
2. delete install_lock.txt in the installdirectory and rename index. php. bak to index. php;
3. run http: // your new website/install to reinstall dedecms;
4. go to the backend, back up and restore the database, and click restore in the upper-right corner to restore the database;

Method 2: (suitable for moving websites, that is, changing the space)
Dedecms space migration tutorial
Migrate from the old space to the new space.
1. back up data;
Back up data in the background of the old space
2. transfer the program and data to the new space;
Then, re-install DEDECMS in the new space, and then upload the programs and data of the old space to the new space using the FTP Software. Note that the template style is also uploaded, overwrite the newly installed program.
3. modify the database configuration file;
This step is very important. use FTP software to go to the database configuration file under the root directory of the new space site: dedecms/common. inc. php open it in Notepad.
You can modify the following items:
$ Dbhost = 'localhost'; // database server (not required)
$ Dbuser = 'root'; // database username
$ Dbpw = 'sohu '; // database password
$ Dbname = 'VC '; // database name
According to the one-to-one modification provided by the space provider, do not delete the 'sign, that is, quotation marks. Otherwise, the home page cannot be opened. Program error.
4. restore data
Restore directly from the background
Finally, update the website cache.

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.