How To: Restore a web.config Backup

Follow
    Applies to:
  • SecureAuth Identity Platform
Deployment model:
  • Cloud
  • Hybrid
  • On Premises
  • Version Affected: All

     

    Overview

    By default, SecureAuth IdP saves a backup of a realm's web.config file whenever changes are made to that realm's configuration. If a configuration change produces an undesired result, this article explains how to restore a previous backup.

     

    Restore a web.config Backup

    1. Web.config backups are stored in D:\Secureauth\SecureAuthXX\ConfigBackup (where XX is the realm number). Sort the files by date to find the backup from the point in time you want to restore.The ConfigBackup folder for a realm, listing timestamped web.config backup files.
    2. Copy the backup file you want to restore, then paste it into the realm's own folder (one level up from ConfigBackup) — for example, D:\Secureauth\SecureAuth13.A timestamped web.config backup file copied into the realm's root folder.
    3. In the realm's folder, rename the current web.config file to old.config. This is safer than deleting it outright. Confirm any prompts that appear.The current web.config file being renamed to old.config.
    4. Rename the backup file you copied in step 2 to web.config. This restores the backup as the realm's active configuration.The timestamped backup file being renamed to web.config.The realm folder afterward, showing web.config restored with the backup's original size and date.



     

    SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.

    Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.

    0 out of 0 found this helpful

    Comments

    0 comments

    Please sign in to leave a comment.