Backup IIS10 using Powershell Command

Backup IIS10 using Powershell Command

Backup IIS10 using Powershell Command

In this blog, we will show you how to backup IIS10 using PowerShell command.

REQUIREMENTS

  • Virtual Machine
  • IIS

BACKUP IIS CONFIGURATION

  • To backup IIS metabase and its related configuration files, Login into the VM and make sure IIS is installed. Type inetmgr in the Run window.

Backup IIS6 using Powershell Command

 

Backup IIS6 using Powershell Command

Note : We are using the Default Web Site as only site for this demo.

 

  • Open PowerShell window and type the below command to backup IIS configuration settings.

Syntax: Backup-WebConfiguration <backup filename>

Example: Backup-WebConfiguration IISBackup

Backup IIS6 using Powershell Command

  • This command will backup only the IIS configuration files, not the website files. By default, the backup will save in c:\Windows\System32\inetsrv\backup folder.

Backup IIS6 using Powershell Command

  • Inside IISBackup folder we will see the IIS configuration files.

Backup IIS6 using Powershell Command

 

  • We can also schedule this command in windows scheduled tasks to run at regular intervals.

 

WINDOWS BACKUP FOR WEBSITE FILES

  • Once the IIS configuration backup is complete, we can use the inbuilt Windows Backup feature to backup the IIS website files. First, make sure that windows backup feature was installed on the server.

Backup IIS6 using Powershell Command

 

  • Open the windows backup feature through server manager snap-in.

Backup IIS6 using Powershell Command

 

  • From the Windows Server Backup snap-in, Click on Backup Once option.

Backup IIS6 using Powershell Command

 

  • Once the Backup Once wizard opens, Select the Different Options button and click next.

Backup IIS6 using Powershell Command

 

  • Select the Custom option and click Next.

Backup IIS6 using Powershell Command

 

  • In this screen, Click on Add items button to add the IIS website(s) and IIS configuration(s) files in the list.

Backup IIS6 using Powershell Command

 

  • Add the IIS websites files folder (By default it will c:\inetpub\wwwroot) and IIS configuration backup folder c:\windows\system32\inetsrv\IISBackup.

Backup IIS6 using Powershell Command

 

  • Select the type of storage and click Next. In this Demo, we select e:\ drive.

Backup IIS6 using Powershell Command

 

Backup IIS6 using Powershell Command

 

  • Click on the Backup button to start the backup for the selected files.

Backup IIS6 using Powershell Command

 

  • It will take several minutes to complete the backup.

Backup IIS6 using Powershell Command

 

VIDEO

 

Thanks for reading this blog. We hope it was useful for you to learn to take IIS10 backup through PowerShell command.

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn
More Interested Related Posts
zfs pool usage

ZFS Pool and Dataset Usage

ZFS Pool and Dataset Usage   I am back with another blog to provide the useful script to the Freebsd users to determine the zpool

Assistanz Networks

Installing Zabbix Agent in FreeBSD 12.0

Zabbix Agent Installation and Configuration Guide on FreeBSD 12.0   Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual

DirectAdmin Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk
$ 99 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • NDA & SLA
  • SLA Review Meetings
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation
  •  

Platinum Support

24/7 Proactive Support
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Support

$ 30 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response Time
  • 4 Hours Resolution time for the Possible Issues
  • Security and Performance Optimization
  • React to Customers queries
  • Simple SignUp Process
  • Instant Account Activation
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support