How can I back up the Microsoft IIS metabase from the command line in Windows 2000 and later?
John Savill
November 25, 2003
1 Min Read
A. Win2K includes a Visual Basic (VB) script called metaback.vbs for performing a command-line backup of the IIS metabase. The script resides in the inetpubiissamplessdkadmin folder. To run the script, open a command prompt and type
cscript metaback.vbs
where is the name of the backup file you want to create.
Windows Server 2003 includes a VB script called iisback.vbs that resides in the system32 folder for performing a command-line backup of the IIS metabase. To run the script, open a command prompt and type
cscript iisback.vbs /backup /b
The /b switch specifies the backup name. Type
cscript /iisback.vbs /backup /?
to see other available options (e.g., automatic versioning) for the iisback.vbs script.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like