Home > Article > CMS Tutorial > How to back up data in phpcms
1. Log in to the phpcms backend and record the phpcms version
Why do we need to record the phpcms version? In order to prevent the database from being unable to be restored after a version upgrade, administrators should develop the habit of recording the corresponding platform version when backing up data. At the same time, we also remind everyone to record the administrator account and password at this time, because the account and password will also be restored when the database is restored later.
2. Click Extensions - Database Tools to enter the database tool interface
3. Back up the database
Select the database in "Data Connection Pool", then click "Inverse Selection" below to select all data tables, and then click "Start Backup Data" to back up the data.
4. After the backup is completed, a database file named by date will be generated.
If the file is relatively large, the database file may have multiple volumes. The backup files will be stored in the caches\bakup\default directory.
Related recommendations: phpcms tutorial
The above is the detailed content of How to back up data in phpcms. For more information, please follow other related articles on the PHP Chinese website!