---
title: Manage Templates
slug: litmusedge-v1/product-features/system/backup-restore/manage-templates
description: Learn how to download and upload templates.
docTags: 
createdAt: 2022-10-07T14:45:28.000Z
---

You can upload and download device configuration templates by navigating to **System&#x20;***>***&#x20;Backup/Restore** from the *Templates&#x20;*&#x74;ab.

# Template Configurations

The following component categories are available for selection. You can select a whole category, or individual components within a category, for download. Each category will show the list of component that you have configured or installed on the device. For example, the connectors category will show the list of connectors that are on the device.&#x20;

- **Auth**: Configurations of LDAP/AD Authentication Providers. This doesn't include roles, groups, and users created in Litmus Edge. See [LDAP/AD Auth](docId\:BNd3rPslZ0_d_0dx9OFbz).&#x20;
- **Connectors**: Installed connectors and configurations. Connectors with the same name that exist in both the template and the Litmus Edge device will be duplicated with a unique name after uploading the template. The default connector that connects Litmus Edge and Litmus Edge Manager is not included. See [Integration](docId\:Wpqo1fE02tmx3AsKewQU6).
- **Country&#x20;**&#x63;onfigured for the instance. See [Change Country](docId\:R1Lz44wFFv3H9Jg33NWlP).&#x20;
- **Devices**: Connected devices, tags, and configurations. See [DeviceHub](docId\:yKtKJaFuLQr7ExkDvisel).&#x20;
- **DNS**: Saved Fallback DNS Resolvers. See [Configure DNS/NTP Servers](docId\:pz9D0WPBQbUGyh0MH6wyx).&#x20;
- **Docker**: Contains the IP address and netmask to use for Docker’s default bridge using standard CIDR notation. See [Applications](docId\:j4jhjBWbwQY1BS9A3G6Zk).

:::hint{type="info"}
**Example**: `"bip":"10.30.50.1/24"`
:::

- **Firewall**: Saved firewall rules. See [Manage Firewall Rules](docId:7EPAu9hxQoVl546Scor1Q).&#x20;
- **Digital Twins**: Saved models and instances. See [Digital Twins](docId\:i-2A7b3AB6vuvkqfhLjgX).
- **Flows**: Saved Flows. See [Flows Manager](docId\:qCWlxV4BmMR13WWIsoI89).

:::hint{type="info"}
**Note**: When you upload a template, the existing flows in the instance are replaced with the flows in the template configuration. If you would like to ensure existing flows are maintained after uploading a template, confirm that any flows you want to keep are part of the template configuration.&#x20;
:::

- **Analytics Groups**: Saved Analytics Flows and Processors within each group. See [Analytics](docId\:FGJKbOQwGVGgd2nuQgRo5).&#x20;
- **Marketplace**: Installed catalogs and registries. Only applications deployed using a catalog can be part of a template. For example, If you deployed an application from the catalog, it is part of a template file. If you use the docker run command to deploy an application, it is not part of a template file. See [Marketplace](docId:-vxhwowPd4S7O4a3cXffr).&#x20;
- **NTP**: Saved Network Time Protocol (NTP) servers. See [Configure DNS/NTP Servers](docId\:pz9D0WPBQbUGyh0MH6wyx) and [Troubleshooting - Time Synchronization](docId\:XhCAFvMd0MhSaDjCSx_6a).&#x20;
- **OPC UA**: Saved configurations. See [OPC UA](docId\:R8MlB0gvFHqRMC0lrUxmd).
- **Static Routes**: Saved static routes. See [Manage Static Routes](docId\:Co_QNOa4j7R84FfBXEZqL).&#x20;
- **Timezone&#x20;**&#x63;onfigured for the instance. See [Set Timezone](docId\:R1Lz44wFFv3H9Jg33NWlP).&#x20;

# Download a Template

You can download multiple device configuration templates, selecting different configurations from a single Litmus Edge device.

These device configuration files are then available on your hard drive for upload to other Litmus Edge devices. The template files can also be uploaded to a Litmus Edge Manager to be applied to groups of Litmus Edge devices. See [Edge Software Update](docId:3IevluZfOdrXAqOOpVT1n) to learn more.&#x20;

You can customize the template prior to downloading by selecting components individually or by category.

## Before You Begin

To access the features on the *Backup/Restore* page, you need a valid license.&#x20;

## How to Download a Template

**To download a template:**

1. In Litmus Edge, navigate to *System > Backup/Restore*.
   The *Backup/Restore* pane appears.&#x20;
2. Select the **Template&#x20;**&#x74;ab.&#x20;
   The *Template&#x20;*&#x70;ane appears.&#x20;
   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/pNTRwcboIMqOVgP2Y-OQZ_templatepane.png" size="80" width="779" height="832" position="center" showCaption="false"}
3. From the *Templates&#x20;*&#x73;ection, select the checkboxes for the configurations you want to include in the device configuration template or select the **Select All&#xA0;**&#x63;heck box.
4. Click **Download Template**.&#x20;
   A \<date>-template.json file downloads to your hard drive.&#x20;
   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/YToJn3uIOaQ10o1mOMfiQ_downloadtemplatebutton.png" size="80" width="1617" height="869" caption="The Download Template button" position="center" showCaption="true"}

# Upload a Template

:::hint{type="info"}
**Notes**:&#x20;

- If you upload a template with the same connectors that are already existing in the Litmus Edge device, then duplicate connectors will be created with unique names. For example, if the template and the Litmus Edge device both have a MySQL connector with the name **MySQL\_integration**, a duplicate connector will be created with the name **MySQL\_integration (1)**.&#x20;
- For Litmus Edge version 3.11.0 and later, if one component fails during a template upload, an error message will display and the upload process will continue with the remaining components.&#x20;
:::

You can upload a device configuration template by navigating to **System&#x20;**>**&#x20;Backup** from the *Templates&#x20;*&#x74;ab.

When you upload a device configuration template, it applies the configuration in the file to the Litmus Edge device.

You can also apply templates to Litmus Edge devices using Litmus Edge Manager, potentially changing the configurations for hundreds of Litmus Edge devices.

## Before You Begin

- To access the features on the *Backup/Restore* page, you need a valid license.&#x20;
- Download a device configuration template. See the *Download a Template* section.&#x20;

## How to Upload a Template

**To upload a template:**

1. In Litmus Edge, navigate to *System > Backup/Restore*.
   The *Backup/Restore* pane appears.&#x20;
2. Select the **Template&#x20;**&#x74;ab.&#x20;
   The *Template&#x20;*&#x70;ane appears.
   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/Ar1nuwEjdVMe0VcBH5cvm_templatepane.png" size="80" width="779" height="832" caption="Template pane" position="center" showCaption="true"}
3. Click **Upload Template**.&#x20;
   ::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/dpVe1FzYlv5qKkCTD6kSR_uploadtemplatebutton.png" size="80" width="1617" height="869" caption="Upload Template button" position="center" showCaption="true"}
4. Navigate to a **\<date>-template.json** file saved on your hard drive, and then click **Open**.&#x20;
   The selected template successfully updates in the *Templates&#x20;*&#x73;ection and applies the configurations to the Litmus Edge device.

