Sometimes you need to be able to import and export Admin Tools it. Some indicative use cases are:
Backing up your Admin Tools settings before trying massive changes which could break your configuration
Transferring your settings to another site on the same or an identical server
Copying the IP white- and black-lists or email templates
You can do that through the Export Settings and Import Settings pages of the component.
Exporting and importing very large datasets (more than a
thousand rows) IS NOT RECOMMENDED and CAN LEAD TO TIMEOUT ERRORS. This
is a limitation of PHP, namely the memory_limit (maximum memory usage
limit) and max_execution_time (maximum time to execute the page)
imposed by your server's
In this page you can choose which settings you want to export. The available options are:
This includes all settings in the Configure WAF, .htaccess Maker, NginX Configuration Maker and Web.Config Maker pages.
These also include the domain names you have set up in the Allowed Domains (in Web Application Firewall) and the HTTP and HTTPS hosts (in the .htaccess Maker, NginX Configuration Maker and Web.Config Maker pages). When importing to a different site please make sure to go through these settings as well as any other settings which many reference server– or site–specific configuration to prevent getting locked out of your site.
This includes all entries of the WAF Deny List page.
This includes all entries of the WAF Exceptions List page.
The permanently disallowed IP addresses from the IP Disallow List page
The allowed administrator IP addresses from the Exclusive Allow IP List page
This includes all entries of the Bad Words page.
This only includes the Blocked User Agents in the .htaccess Maker, NginX Configuration Maker and Web.Config Maker pages.
After selecting what you want to export click on thebutton in the toolbar. Your browser will download a JSON file with all of the selected configuration settings.
It goes without saying that you should select at least one of these export options. Otherwise you will be downloading an essentially empty file that does nothing upon import.
Choose the exported JSON file and click on thebutton in the toolbar. The imported settings will overwrite your existing settings.