You can run below command to backup IIS configuration:
%windir%\system32\inetsrv\appcmd.exe add backup "Backup-Name"
If you want to restore IIS configuration file backup then you can run below command:
%windir%\system32\inetsrv\appcmd.exe restore backup "Backup-Name"
You can check all the...