Anqi CMS multi-site default (Go project) site migration tutorial
Default (Go project) site migration
- Log in to the CMS backend of the Security Enterprise and find it in the Function ManagementBackup and Restorefunction and add a backup record. This is done to back up the data in the database into a file.
- Back to the pagoda panel, findwebsite, switch toGO ProjectFind the site you need to migrate, click the corresponding root directory, and switch to the previous directory through the navigation on the open file management page. In the corresponding directory, find the site directory just now, and click the compression button on the right to compress the site into a compressed file.
- Download the corresponding compressed file locally, and then upload it to the Pagoda panel of the new server
/www/wwwroot
Directory and complete the decompression.
Migrate to the default (Go project) site
- First, modify the config.json in the newly decompressed directory and modify
server
If other security CMS has been installed on the new server, the port here needs to be different from others and be deleted directlymysql
Configuration information. - Then come to the pagoda panel and findwebsite, switch toGO Project, then follow the Anqi CMS installation tutorial, choose to add GO project and complete the installation.
- After the installation is completed, log in to the CMS backend of the Security Enterprise and find it in the Function ManagementBackup and RestoreFunction, select to restore the last backup record, so that the website migration is completed.
Migrate to other (PHP project) sites
- Can be deleted and removed
cache
,data
,public
,template
Other directories and files outside the directory. Of course, it can be not deleted. - Then come to the pagoda panel and findwebsite, switch toPHP Project, then follow the method of adding multiple sites in Anqi CMS, add sites and complete the installation of the new site.
- After the installation is completed, log in to the CMS backend of the Security Enterprise and find it in the Function ManagementBackup and RestoreFunction, select to restore the last backup record, so that the website migration is completed.
Tutorial on site migration in Anqi CMS multi-site (PHP project)
Other (PHP project) site migration
- Log in to the CMS backend of the Security Enterprise and find it in the Function ManagementBackup and Restorefunction and add a backup record. This is done to back up the data in the database into a file.
- Back to the pagoda panel, findwebsite, switch toPHP ProjectFind the site you need to migrate, click Backup, click Backup site in the pop-up window, and back up the entire site directory.
- Download the corresponding compressed file locally, and then upload it to the Pagoda panel of the new server
/www/wwwroot
Directory and complete the decompression.
Migrate to the default (Go project) site
- First, on the new server, follow the normal installation tutorial for Anqi CMS, download an installation package from Anqi CMS official website, upload it to the new server, and unzip it, and find itwebsite, switch toGO Project, select Add GO Project and complete the installation.
- Copy the unzipped backup file to the newly installed Anqi CMS site. Except for config.json, all other files can be directly overwritten.
- After the copy is completed, log in to the CMS background of the Security Enterprise and find it in the Function ManagementBackup and RestoreFunction, select to restore the last backup record, so that the website migration is completed.
Migrate to other (PHP project) sites
- Then come to the pagoda panel and findwebsite, switch toPHP Project, then follow the method of adding multiple sites in Anqi CMS, add sites and complete the installation of the new site.
- After the installation is completed, log in to the CMS backend of the Security Enterprise and find it in the Function ManagementBackup and RestoreFunction, select to restore the last backup record, so that the website migration is completed.