Home  >  Article  >  CMS Tutorial  >  Where is the dedecms backup database file?

Where is the dedecms backup database file?

藏色散人
藏色散人Original
2019-07-19 13:14:373653browse

Where is the dedecms backup database file?

Where is the dedecms backup database file?

dedecmsAfter backing up the database file, the database backup file is generally saved in the /dede/backup_data directory.

How to back up the database using DEDECMS background:

The first method

Because of the different virtual host spaces The names of mysql databases are different (because their prefixes are different, you will know after using them), so you need to back up the database first, then restore it to the new space, and then regenerate the html. (Note: The versions of the MYSQL database of the new space and the original site must be both 4.1 or above, or 4.0 or below 4.0 to avoid problems.)

Specific steps:

1. Log in to the backend of the original site and back up the database (this database backup file is saved in ../dede/backup_data/).

2. Download the database backup file (ie../dede/backup_data/this folder) and website style template file (ie.../templets/this folder).

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

4. Upload the two folders ../dede/backup_data/ and ../templets/ of the original site to overwrite the corresponding folders in the new space, so that the database backup files and website of the original site are The style template has been placed on the new site.

Second method

Back up the DEDE website program method, log in to the background of dedecms, and operate as follows:

System Management—>Database Backup -> It is best to select all, otherwise some things will not be displayed. After the backup, use FTP to download the dede/backup-date folder to the local (this is a MYSQL database), and then add the three folders templets, uploads, and html. Also download it locally, upload the same version of the dede program to the new server, then upload the above files and overwrite them, log in to the backend (the login user and password are those of the original website), then click database restore in the backend, and then enter column management (required!! ), select any column to modify, (or save it without modification) (this is done to facilitate the smooth progress of the following updates), and finally update the html, and all updates are completed!

For more dedecms technical articles, please visit the dedecms usage tutorial column!

The above is the detailed content of Where is the dedecms backup database file?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn