This article will show how to succesfully backup and restore an IIS 6.0 configuration without any issues to a new server installation. Although it is an easy process to do there are some issues that we have to be aware of.
If we plan to backup and restore IIS 6.0 to the same server installation or repair an IIS we can create a backup without a passsword. This way we are creating a non-portable backup for IIS 6 metabase. Because the machine key is used in case we dont provide a backup we will have to restore it to the same original machine.
The trick here is that to succesfully create a backup for a new server and for us to be able to restore it without errors we MUST create a password. This approach is called a portable backup for IIS 6 metabase.
Portable Backup of IIS 6.0 Metabase
1) Open IIS Manager
2) Second Mouse Click on Local Computer -> All Tasks -> Backup/Restore Configuration
3) Under Configuration backup name type a name for your backup
4) Select Encrypt backup using password and type your password twice
5) Start -> Run -> %systemroot%\system32\inetsrv\MetaBack
6) Copy to the new server the two ackup files created under the name you give with extensions .SC0 and MD0
7) Copy all your web folders to the new server
Restoring IIS 6.0 Metabase on new server
1) Restore all your web folders back to the new server
2) Open IIS Manager
3) Second Mouse Click on Local Computer -> All Tasks -> Backup/Restore Configuration
4) Select the file you want to restore and enter the password when prompt
After restoration is complete be sure that you have installed latest Framework 3.5 SP1 and in case you have the sites connected to an external sql database you double check your configuration changes.



















































Stephen









October 5, 2009
7) Copy all your web folders to the new server
Means, you want us to copy and then paste the “Inettup” folder from old server to the new server?
Please make us more clearer
Thank you
[Reply]
Glafkos Charalambous Reply:
October 5th, 2009 at 9:30 am
Hello,
You should move all your websites to the Inetpub folder of the new server if this is the case
[Reply]
October 5, 2009
Or it is the Virtual Directory of our Website that is needed to copy?
I got confused with it…
[Reply]
October 5, 2009
I ‘ve two servers with different configurations:
Server1: just for Web server (wwwroot) and Server2 has Web Server as well as FTP Server and other SMTP or some other Virtual Servers.
I want server2 exactly like the server1. Will the backup & restore from S1 to S2 do my job? or is there any other ways to do it.
I want to do it safe since my web-based applications are on live.
Thank You
[Reply]
October 5, 2009
The workaround is simple. Just follow the steps and do your practice in a test environment first before production
Good Luck,
Glafkos
[Reply]
January 5, 2010
BACK OF IIS IN 2003
[Reply]