Exporting a site |
Kentico CMS allows you to export whole web site including its settings and related objects (such as document types, workflows, web parts, page templates, etc.) into a single file that can be imported on the same or different Kentico CMS instance.
Exporting a site
Go to Site Manager -> Sites and click the Export site icon next to the site you want to export. This will start the export wizard.
In the first step of the wizard, you have to fill in the name of the export package and choose type of objects pre-selection:
File name - name of the export package; a default name will be pre-filled and the package will be stored in <web project>\CMSSiteUtils\Export.
Select the option that suits your purposes and click the Next button.
In Step 2, you can select which objects will be exported. The tree on the left represents object categories. These reflect the sections of the administration interface under that the objects can be found. The Site category contains objects related to the selected web site. The Global objects category contains global objects that can be used by all sites. By selecting a category, a set of check boxes appears in the right part of the screen, letting you select which objects will be exported. If you select the root of the tree (All objects), you will be offered with the following options:
Global selection
Export settings
- <web project>\App_Code\Global - <web project>\CMSGlobalFiles
- <web project>\App_Code\<site code name> - <web project>\<site code name>
- <web project>\CMSTemplates
- <web project>\CMSModules\Forums\Controls\Layouts\Custom
The following categories contain extra options to be set:
Documents
BizForms
Forums
Message boards
Media libraries
If you have the "Log export tasks" option enabled in Site Manager -> Settings -> Content Staging, a list of object deletion tasks may also be displayed at the bottom of the list. This happens when some objects have been deleted (just as the two Web part containers in the screenshot below). If you leave the check-boxes checked, the objects will be deleted after importing the package on the target server.
After making all required selections, click Next to proceed to the next step.
A log appears, showing you the progress of exporting. You can abort exporting by clicking the Cancel button at any time. When exporting finishes, a message appears at the top of the log, telling you the full path to the exported file. Click the Finish button. You will be redirected back to Site manager -> Sites.
Now you can import the site on some other machine using the Import site wizard described in chapter Importing a site or objects.
|