To take a backup of the IIS configuration file ("applicationHost.config"), you need to copy the file to a safe location. The configuration file is typically located in the "C:\Windows\System32\inetsrv\config" directory on Windows servers.
How to take Backup of IIS Configuration file using APPcmd command?
- Navigate to this path in Command prompt using CD Commands C:\Windows\System32\Inetsrv\
- Run this command: appcmd.exe ADD Backup “Backup_name”
- The backup will be saved in this path: C:\Windows\System32\inetsrv\backup
Tags:
IIS