To
back up and restore IIS 10:
1. Open cmd.exe.
2. Navigate to cd c:\Windows\system32\inetsrv
3. Execute following
command to back up configuration:
Create the IIS configuration backup with name d365
c:\Windows\system32\inetsrv>
appcmd add backup d365
Press [Enter]
4. After the command has
been executed, a folder with your backup name appears in
c:\Windows\system32\inetsrv\backup. Here are the contents of the website:
·
administration.config
·
applicationHost.config
·
MBSchema.xml
·
MetaBase.xml
·
redirection.config
5. Copy the backup
folder to the same directory c:\windows\system32\backup on another server.
6. To display the list of all available backups, run the
following command:
c:\Windows\system32\inetsrv>
appcmd list backup
7. The backup we have
copied has appeared in the list of available backups.
8. Recover IIS configuration from this backup:
C:\windows\systems32\inetsrv>appcmd restore backup d365
Note: The string Restored configuration
from backup “d365″ means that IIS configuration has been
successfully recovered.
The list
of restrictions and important issues.
§ The same IIS version has to be
used on both servers
§ If any application pool is not run
through the integrated accounts, then they have to be available on another
server as well
§ Before recovery, you should
export and migrate all current certificates to the new server Once, the backup has been restored
No comments:
Post a Comment