How to backup and restore configuration IIS7.5
Your IIS is deploying a lot of websites. When reinstalling the operating system and want to transfer the Website from Server to another server, we only work on older systems backup and restore on the new system.
The steps are:
This is the interface before removing IIS configuration
And then use the backup command
% Windir% \system32\inetsrv\appcmd.exe add backup “backup Name”
Remove yourself and your website
Results Remove website on IIS
Then you will use to restore the configuration
Restore configuration command:
% Windir%\ system32\inetsrv\appcmd.exe restore backup “backup Name”
Delete backup command:
% Windir%\system32\inetsrv\appcmd.exe delete backup “backup Name”
By default IIS7 features save the old configuration before (10 version) every time a configuration change.That feature is called configuration history, IIS7 will be stored by default in the% systemdrive%\inetpub\history
When we use the% windir%\system32\inetsrv\appcmd.exe delete backup “backup Name” list to list backup of course have the list in this History.
Thus we were able to backup and restore IIS configuration successfully.
I wish you success
Lượt xem (1087)
Để lại bình luận: