The windows server implements IIS backup restore and view command of through appcmd which is applicable to the previous version of IIS8

  • 2020-05-09 19:40:13
  • OfStack

IIS 7 provides a new command-line tool, Appcmd.exe, that you can use to configure and query objects on the Web server and return output in text or XML format.

The IIS backup restore command is as follows:

start-run-CMD

Enter the IIS directory

cd c:\windows\system32\inetsrv

============================
The backup command

appcmd add backup "backup name"
The backup file directory is at: C:\Windows\System32\inetsrv\backup
===========================================
Restore command
appcmd restore backup "backup name"

===================================================
Check the backup
appcmd list backup

Related articles: