---
title: "Create a FortiGate firewall backup"
sidebar_label: "Create a backup"
sidebar_position: 12
description: "How to create a backup"
---

import Formbricks from '@theme/MDXComponents/Formbricks'

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'

# Create a FortiGate firewall backup

The settings in this guide are relevant for FortiOS versions 6.x and 7.x. If you have a different version of FortiOS, you can find the documentation for it in the FortiGate control panel in the top-right corner or on the [official FortiGate website](https://docs.fortinet.com).

<Tabs queryString="create-backup">
  <TabItem value="graphic" default>
    <TabItemLabel>
      Graphical interface
    </TabItemLabel>

    1. [Connect to the firewall](/firewalls/fortigate/connect-to-firewall.mdx).

    2. Click the username in the top-right corner.

    3. Select **Configuration** → **Backup**.

    4. If you want to copy the backup to a USB drive, insert the USB drive into the USB port of your device.

    5. Specify a location to save the backup: on the local computer or on a USB drive.

    6. If VDOMs (virtual domains) are enabled, specify whether the backup area is the global FortiGate configuration or only a specific VDOM configuration.

    7. If you selected a VDOM configuration, select the VDOM name from the list.

    8. Optional: to save an encrypted file, enable **Encryption**.

    9. Enter a password and repeat it once more.

    10. Save the password — you will need it to restore the configuration.

    11. Click **OK**.

    12. Select a location on your local computer or USB drive to save the configuration file. The configuration file will have the `.conf` extension.
  </TabItem>
</Tabs>

<Formbricks />
