Disaster Recovery  «Prev  Next»

Lesson 4 Schedule a backup
Objective Schedule a backup using the Task Scheduler.

Schedule backup using Task Scheduler

Question: Does Windows 2019 integrate the Backup utility with the Task Scheduler? Yes, Windows Server 2019 integrates the Backup utility with the Task Scheduler. This integration allows administrators to schedule backup jobs using the Task Scheduler, making it easier to automate backup processes and ensure that backups are performed regularly. To schedule a backup using the Task Scheduler in Windows Server 2019, follow these steps:
  1. Open the Task Scheduler by going to Start > Windows Administrative Tools > Task Scheduler.
  2. In the Task Scheduler, click on "Create Task" in the right-hand panel.
  3. In the "General" tab, give the task a name and description.
  4. In the "Triggers" tab, click "New" to create a new trigger. Choose the schedule you want to use for the backup, such as daily or weekly, and set the start time.
  5. In the "Actions" tab, click "New" to create a new action. Choose "Start a program" and enter the path to the Windows Server Backup utility, which is located at "C:\Windows\System32\wbadmin.exe".
  6. In the "Add arguments" field, enter the command line parameters for the backup job. For example, you might use the following command to back up the system state and the C: drive to a backup drive located at E:\Backup:
    start backup -backupTarget:E:\Backup -include:C: -allCritical -systemState -quiet
    
  7. In the "Settings" tab, configure any additional options for the backup job, such as security settings, priority, and power management.
  8. Click "OK" to save the task and schedule the backup job.

Once the backup job is scheduled, it will run automatically according to the schedule you have defined. You can view and modify the backup job by opening the Task Scheduler and selecting the task from the list of scheduled tasks.
Windows has integrated the Backup utility with the Task Scheduler since Windows 2000. As a result, you can use the Backup utility to schedule a backup. You can schedule a backup to occur at regular intervals or during periods of relative inactivity on a network.
You schedule a backup during the process of creating a backup job. When the Completing the Backup Wizard dialog box appears, click Advanced.
Proceed through the wizard pages until you reach When to Back Up.


Windows Server 2019

Question: Which version of Windows Server existed prior to Windows Server 2022?
The version of Windows Server that existed prior to Windows Server 2022 is Windows Server 2019. It was released in October 2018 and was the successor to Windows Server 2016. Windows Server 2019 introduced several new features and improvements, including enhanced security, hybrid cloud capabilities, and support for Linux containers. It also introduced the option of a Long-Term Servicing Channel (LTSC) or Semi-Annual Channel (SAC) release model, providing more flexibility in how organizations choose to update and maintain their Windows Server deployments.

Schedule Backup to occur at Regular Intervals

Question: How can I schedule a backup to occur at regular intervals or during periods of relative inactivity on a network using Windows Server 2019?
To schedule a backup to occur at regular intervals or during periods of relative inactivity on a network using Windows Server 2019, you can use the built-in Windows Server Backup feature. Here are the steps to schedule a backup:
  1. Open Windows Server Backup by going to Start menu > Windows Administrative Tools > Windows Server Backup.
  2. In the Windows Server Backup console, click on "Backup Schedule" in the right-hand panel.
  3. In the Backup Schedule Wizard, select "Custom" and click Next.
  4. Select the items you want to include in the backup, such as system state, volumes, or specific files and folders. Click Next.
  5. Choose the backup destination and click Next.
  6. Choose the backup type, such as full or incremental, and set the backup schedule by selecting "Custom" under "Specify backup time". Choose the backup start time and frequency, such as daily or weekly. Click Next.
  7. In the "Advanced Settings" screen, choose the backup options, such as VSS settings and storage space management. Click Next.
  8. Review the backup settings and click "Finish" to create the backup schedule.

The backup will now be scheduled to occur at the specified intervals or during periods of relative inactivity on the network. You can also view and modify the backup schedule by opening Windows Server Backup and clicking on "Backup Schedule" in the right-hand panel.
The next lesson looks at how to restore files and folders.