How to use the backup and restore database function in the background of Zhimeng DEDECMS

Source: Internet
Author: User
Backup and transfer of Mysql database of DEDECMS using DedeCms backend backup method 1. back up the mysql database tables in all dede systems in the old space you need to transfer, and set system-database backup/restoration. 2. download the mysql database backup file that has just been backed up. This file is located in dede/back under the dede program directory.

Back up the database with Zhimeng dededecms background

DedeCms Mysql database backup transfer method

1. Place the old space you need to transferMysqlBack up the database table first, and set Database Backup/restoration.

2. download the mysql database backup file that has just been backed up. The file is located in the dede/backup_data folder under the dede program directory.

3. install the dede database in your new space or server.

4. Upload the downloaded file in step 2 to the dede/backup_data folder.

5. go to the dedecms background of the new server or space, and click system management-database backup/restoration.

6. re-generate all HTML pages (skip this step if you download and upload the original html.

Method 1:

Because the names of mysql databases in different VM spaces are different (because their prefixes are different, you will know when they are used ),

Therefore, you must first back up the database, restore it in the new space, and then regenerate html.

(Note: The version of the new space and the MYSQL database on the original site must be 4.1 or above, or 4.0 or below, to avoid problems .)

Specific steps:

1. log on to the background of the original station and back up the database (the backup file of this database is saved in ../dede/backup_data /).

2. download the database backup file (that is, the folder ../dede/backup_data/) and the website style template file (that is, the folder ../templets ).

3. reinstall the dedecms system of the same version in the new space.

4. Upload The ../dede/backup_data/And ../templets/folders on the origin site to overwrite the corresponding folders in the new space,

In this way, the database backup files and website style templates of the original site are put on the new site.

Method 2:

Back up the DEDE website program method, log on to the dedecms background, and perform the following operations:

 System management? Database backup? It is best to select all; otherwise, some items cannot be displayed and then use FTP to download the dede/backup-date folder to the local machine (this is the MYSQL database), and then use templets, uploads, the three html folders are also downloaded to the local device. Upload The dede program of the same version on the new server, overwrite the above files, and log on to the background (the login user and password are from the original website ), then, click "restore database" in the background, and then go to the topic Management page (required !!), You can select a topic to modify (or directly save without modification). (in this way, the following updates can be smoothly implemented.) Finally, you can update html and complete the updates!

Dedecms dream system database backup restoration method

Back up the DEDE website program method, log on to the dedecms background, and perform the following operations:

 System management? Database backup? It is best to select all; otherwise, some items cannot be displayed and then use FTP to download the dede/backup-date folder to the local machine (this is the MYSQL database), and then use templets, uploads, the three html folders are also downloaded to the local device. Upload The dede program of the same version on the new server, overwrite the above files, and log on to the background (the login user and password are from the original website ), then, click "restore database" in the background, and then go to the topic Management page (required !!), You can select a topic to modify (or directly save without modification). (in this way, the following updates can be smoothly implemented.) Finally, you can update html and complete the updates!

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.