it:ad:appcmd:howto:backup_and_restore_iis_server_metadata

IT:AppCmd:HowTo:Backup and Restore IIS Server Metadata

Summary

Before doing changes to IIS, it's a good idea to take a backup of the IIS server's metadata.

Note: Backing up the metadata is not the same as backing up the website's files -- it's the backing up of IIS's schema of websites, their bindings, their certificates, etc.

Create a Backup

appcmd add backup "MyBackup"

Restore a Backup

You can always restore a backup later by using:

appcmd restore backup "MyBackup"

Listing Backups

You can list available backups using:

appcmd list backup

Delete a Backup

appcmd delete backup "MyBackup"

Help

appcmd backup /?

or

appcmd add backup /?
appcmd restore backup /?
appcmd list backup /?
...
appcmd delete backup /?

  • /home/skysigal/public_html/data/pages/it/ad/appcmd/howto/backup_and_restore_iis_server_metadata.txt
  • Last modified: 2023/11/04 03:37
  • by 127.0.0.1