You need to ensure that the IIS configuration of Server1 backed up daily

Your network contains a server named Server1 that has the Web Server (IIS) server role installed.

You need to ensure that the IIS configuration of Server1 backed up daily. The solution must minimize the size of the backup.

What should you do ?

Your network contains a server named Server1 that has the Web Server (IIS) server role installed.

You need to ensure that the IIS configuration of Server1 backed up daily. The solution must minimize the size of the backup.

What should you do ?

A.
From Windows Server Backup, create a custom bsckup configuration that backs up the system state.

B.
Create a scheduled task that runs Get-WebConfiguration.

C.
Create a scheduled task that runs iisconfig.vbs.

D.
Create a scheduled task that runs appcmd.exe.

Explanation:
Appcmd
The backup feature of Appcmd only backups the configuration of the IIS server, not the websites:
After you install IIS 7.0, you can backup your configuration by using the built-in command-line tool, AppCmd.exe. You can run AppCmd.exe to create a backup of your Web server before you have changed any configuration.
Files configuration IIS server:
Administration.config
ApplicationHost.config
Redirection.config
MBSchema.xml
MetaBase.xml

To create a backup using AppCmd.exe
1. Open a command prompt as administrator and change to the %windir%\system32\inetsrv\ directory.
2. At the command prompt, type appcmd add backup “FirstBackup” and then press Enter.
3. This creates a backup with the name “FirstBackup”. At a later date, if you need to restore the backup, use appcmd restore backup “FirstBackup”



Leave a Reply 0

Your email address will not be published. Required fields are marked *