This feature is available from version 3.5.0.
Data import functionality is available in the Operation tab.
It can be used to import all or part of the data contained in an archive created by Ametys.
Clicking on the button opens the following window:
The list is automatically populated with archives generated by Ametys.
An archive is generated by Ametys, via the task scheduler, with the "Archive data" task.
If you're working on a WEB application, you'll need to install plugin WebContentIO to export WEB data.
These zip files are located in the [AMETYS_HOME]/data/archives directory.
The import function only works with an archive generated by Ametys.
Users can select the item(s) they wish to import (the drop-down list is accessible once an archive has been selected):
The available merge strategies are :
Once the import is complete, a mail message is sent to the user who performed the import to inform him/her that the import is complete.
This mail is sent in the event of both success and failure (in which case details of the failure are listed at mail).
As indicated in the mail received at the end of an import, a total re-indexing must be carried out, as well as a reconstruction of the complete live. If the "Sites" tool is open in the application, it will be necessary to refresh it to view any new sites imported.