--- title: "MFA Server Key Backup" slug: "mfa-server-key-backup" updated: 2025-11-07T17:01:41Z published: 2025-11-07T17:01:41Z canonical: "mfa.rapididentity.com/mfa-server-key-backup" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://mfa.rapididentity.com/llms.txt > Use this file to discover all available pages before exploring further. # MFA Server Key Backup During the installation process, RapidIdentity Server creates application keys to communicate with the SQL database. Backing up the Server Key preserves the ability to communicate with the RapidIdentity Server database in the event that the server must be uninstalled, reinstalled, moved or distributed across multiple IIS servers. If the RapidIdentity Server keys are not backed up prior to uninstalling the Server application, database information recovery is not possible. For deployments where multiple MFA Servers are going to communicate with a single SQL instance or farm, each MFA Server must utilize the same encryption key in order to access the encrypted data stored in the database. The following steps will walk you through the backup and restoration processes. These steps should be performed for each subsequent MFA Server before any server operation is performed. ## Server Key Backup 1. Navigate to your MFA server’s respective installation folder and go into the “Tools” folder. **4.9.4.6 or lower:** `C:\Program Files\2FA\ONE Server\Tools\KeyBackup` **4.9.5.1 or higher:** `C:\Program Files\Identity Automation\RapidIdentity MFA\Tools\KeyBackup` Upgrading Your MFA Server If your MFA server is not up to version 4.9.5.1 or later, it is strongly recommended to upgrade. Please see our [server upgrade information page](/v1/docs/mfa-server-upgrade-information) for more information. 2. Right-click the application **KeyBackup > Run as administrator**. ![1.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/1%2811%29.png) 3. Select the **Backup** option. ![2.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/2%287%29.png) 4. Choose to save your backup as a **File**. ![3.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/3%288%29.png) 5. Click the ellipsis button (...) to name and save your backup file. You can create a password for this file if you ever need to go through the key restoration process here, but it is not required. ![5.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/5%283%29.png) 6. Once you’ve completed *Step 5*, hit **Finish**. You should receive a "successful" pop-up message. ![6.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/6%282%29.png) --- ## Server Key Restoration In the even that you need to restore the key backup that you created: 1. Click on the **Restore** option in the Key Backup Tool. ![restore.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/restore.png) 2. Select **File**. 3. Click the ellipsis button (...) to navigate and select your key backup file. 4. Click **Finish**. You should receive a "Operation was successful" pop-up message. --- ## Troubleshooting If you receive a failure when you go to save the key, it may be a permissions issue. This should be quickly resolved by adding the right account to the software folder's security. 1. Navigate to `C:\Program Files`. 2. Right-click on the **Identity Automation** folder ("2FA" if you are v4.9.4.6 or lower) and select **Properties**. 3. Under the **Security** tab, click on **Edit...** 4. Click **Add...** 5. Add the **Network Service** account and click **OK**. ![8.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/8%283%29.png) By default, the software's app pool identity is the *NetworkService* account. If you have a different service account for the *oneAppPool40*, it's recommended to add that account instead of *Network Service* like in this example. ![10.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/10.png) 6. Highlight the newly added account and check (✓) the **Full Control** and **Modify** boxes. Click **OK**. ![9.png](https://cdn.document360.io/cf888ab6-47bb-4aaa-984b-26a47cdccf46/Images/Documentation/9%282%29.png) 7. Re-try the key backup steps and you should be greeted with a "success" message.