Posted in
Hosting & IIS7,
Windows Server |
No Comment | 2,662 views | 08/09/2009 21:03
You can backup IIS7 Metadatabase from command prompt:
1
2
| %windir%\system32\inetsrv\appcmd.exe add backup "iis7-%date%"
"C:\Program Files\7za465\7za.exe" a "C:\inetpub\backup\iis7-%date%.zip" u "C:\Windows\System32\inetsrv\backup\iis7-%date%" |
%windir%\system32\inetsrv\appcmd.exe add backup "iis7-%date%"
"C:\Program Files\7za465\7za.exe" a "C:\inetpub\backup\iis7-%date%.zip" u "C:\Windows\System32\inetsrv\backup\iis7-%date%"
7za.exe is 7zip, you can download it free from here:
You can restore from backup with restore switch.