Edge Acceleration
  • Site Acceleration
    • Overview
    • Quickly Import and Export Site Configuration
    • Access Control
      • Token Authentication
    • Smart Acceleration
    • File Optimization
      • Smart Compression
    • Network Optimization
      • HTTP/2
      • HTTP/3(QUIC)
        • Overview
        • Enable HTTP/3
        • QUIC SDK
          • SDK Overview
          • SDK Download and Integration
          • Sample Code
            • Android
            • iOS
          • API Documentation
            • Android
            • iOS
      • IPv6 Access
      • Maximum Upload Size
      • WebSocket
      • Client IP Geolocation Header
      • Client IP Geographical Location
      • gRPC
    • URL Rewrite
      • Access URL Redirection
      • Origin-Pull URL Rewrite
    • Modifying Header
      • Modifying HTTP Response Headers
      • Modifying HTTP Request Headers
    • Custom Error Page
    • Request and Response Actions
      • Processing order
      • Default HTTP Headers of Origin-Pull Requests
      • Default HTTP Response Headers
    • Media Services
      • Audio and Video Pre-pulling
      • Just-in-Time Image Processing
      • Just-in-Time Media Processing
      • VOD Media Origin
  • L4 Proxy
    • Overview
    • Creating an L4 Proxy Instance
    • Modifying an L4 Proxy Instance
    • Disabling or Deleting an L4 Proxy Instance
    • Batch Configuring Forwarding Rules
    • Obtaining Real Client IPs
      • Obtaining Real TCP Client IPs via TOA
      • Obtaining Real Client IPs Through Protocol V1/V2
        • Overview
        • Method 1: Obtaining Real Client IPs Through Nginx
        • Method 2: Parsing Real Client IPs on Application Server
        • Format of Real Client IPs Obtained Through Proxy Protocol V1/V2
      • Transmitting Client Real IP via SPP Protocol
  • Edge DNS
    • Hosting DNS Records
      • Modifying DNS Servers
      • Configuring DNS Records
      • Advanced DNS Configuration
    • Domain Connection
      • Adding A Domain Name for Acceleration
      • Ownership Verification
      • Modifying CNAME Records
    • Domain alias
      • Overview
      • Configuration Guide
      • Batch Connecting SaaS Domain Names
      • Configuring Alias Domain Names for Disaster Recovery
    • Traffic Scheduling
      • Traffic Scheduling Management
    • Origin Configuration
      • Origin-pull configuration
        • Configuring Origin-Pull HTTPS
        • Host Header Rewrite
        • Controlling Origin-pull Requests
        • Redirect Following During Origin-Pull
        • HTTP/2 Origin-Pull
        • Range GETs
      • Load Balancing
        • Overview
        • Quickly Create Load Balancers
        • Health Check Policies
        • Viewing the Health Status of Origin Server
        • Related References
          • Load Balancing-Related Concepts
          • Introduction to Request Retry Strategy
      • Origin Group Configuration
      • Related References
        • ld Version Origin Group Compatible Related Issues
      • Collect EdgeOne origin-pull node IP
  • Edge Cache
    • Overview
    • EdgeOne Cache Rules
      • Content Cache Rules
      • Cache Key Introduction
      • Vary Feature
    • Cache Configuration
      • Custom Cache Key
      • Node Cache TTL
      • Status Code Cache TTL
      • Browser Cache TTL
      • Offline Caching
      • Cache Prefresh
    • Clear and Preheat Cach
      • Cache Purge
      • URL Pre-Warming
    • How to improve the Cache Hit Rate of EdgeOne
  • Rules Engine
    • Overview
    • Supported Matching Types and Actions
    • Rule Management
    • variables

Quickly Import and Export Site Configuration

This document describes how to quickly export site configuration from one site and import it to another within EdgeOne.
Notes:
This feature only supports sites linked to Standard and Enterprise plans.
This feature currently only supports exporting and importing the configuration of the Site Acceleration > Global Settings/Rule Engine module in the console.

Use Cases

When you have completed the configuration of one site and need to configure a large number of sites with settings in Site Acceleration > Global Settings/Rule Engine similar to those of the already configured site, you can quickly synchronize the configuration via site configuration import/export.
If your business requires changing the Tencent Cloud account due to special reasons, you can migrate the configuration of Site Acceleration > Global Settings/Rule Engine from the old account to the new one through configuration import/export.

Directions

Step 1: Exporting Site Configuration

1. Log in to the EdgeOne console, click Site List in the left menu bar, and click the site to be configured on the site list.
2. In the top site navigation on the site details page, click Site settings and then Export configuration.

3. Select the module to be exported. You can export Site Acceleration > Global Settings/Rule Engine configuration separately, and click Confirm export. The exported file is in the JSON format. It is not recommended to modify the contents of the exported file directly. If you need any adjustment, you can contact us.

Note:
When Site Acceleration > Rule Engine is exported, only the rules that are enabled and actually effective will be exported, excluding the rules that have not been enabled.

Step 2: Importing Site Configuration

1. Log in to the EdgeOne console, click Site List in the left menu bar, and click the site to be configured on the site list.
2. In the top site navigation on the site details page, click Site settings and then Import configuration.

3. Select the import source. You can choose Copy from other zones of the current account or File import.
If you choose Copy from other zones of the current account, you can directly select the origin server under the current account and click Next.

If you choose File import, please select the JSON file exported from Step 1, and drag and drop it into this area to implement cross-account configuration import. The file must be in the JSON format, with its size within 1 MB. Then click Next.

4. Select the import module. Copy from other zones of the current account allows you to choose Global Settings or Rule Engine to import configuration separately. If you need to fine-tune the imported configuration, you can modify it directly in this interface without affecting the original site configuration. When File import is used, EdgeOne will parse the modules contained in your imported file. You can select the module whose configuration needs to be imported for import and modification. After confirmation, click Next.

Note:
1. EdgeOne offers two configuration display/modification methods: GUI Mode and JSON Mode. It is recommended to perform operation directly in GUI Mode. For configuration modifications via code in JSON Mode, please contact us.
2. The contents of the exported configuration file may change as features are iterated and added or decommissioned. When using file import, it is recommended to re-export a copy of site configuration, rather than using a historically saved configuration file.
5. The configuration comparison will display differences between the imported configuration and the current effective configuration in the JSON format. You can check the imported configuration for any issue in this step. After confirming there is no issue, click Import.
Note:
The imported configuration will overwrite the existing configuration of the corresponding module of the site. Before proceeding with import, please confirm that overwriting the existing configuration will not impact your business.

6. In the secondary popup, click Confirm No Impact, Continue Import.
7. The backend will start importing the configuration. After the import is complete, you can go to the Site Acceleration Module to view the imported configuration.