contents
PersBackup

Personal Backup

© 2001 − 2021, Dr. J. Rathlev

Automatic backups using Windows Task Scheduler

In addition to the possibilities built into the program for starting automatic backups, you can also achieve this by using Windows Task Scheduler. This method can have certain advantages:

Overview

Show time schedules My backup tasks Close programm Keep running in background Run utilitiy programs Open menu Create new scheduled backup Edit scheduled backup Backups using Windows Task Scheduler Delete scheduled backup Time schedules Show previous schedule Add new schedule Delete selected schedule Show next schedule

Scheduled backups: The list shows all Windows scheduled tasks using Personal Backup together with their last and next run times. A colored ball indicates if the last backup was performed duly (green) or not (red). To get more information in case of failure, open Windows Task Scheduler from the system start menu.
A right click on the list will open a context menu to edit, delete or start a scheduled task.

Time schedules: Beneath the listing, the time schedules (also called triggers in Windows) are displayed. If there are more than one schedule, a click on the arrow buttons at the right lets you select one of them.

Add schedule: Click the button to add a new schedule (e.g. on other days of the week) to the selected backup (see).

Delete schedule: Click the button to delete the selected schedule.

Important note:

Personal Backup 6 supports the extended features of Windows Task Scheduler available since Windows Vista. Therefore, if using the program under Windows XP, the Windows Task Scheduler wizard will not work.


Creating a new backup schedule

 
New scheduled task   Click this button to start the wizard to create a new scheduled task.

Settings
The current backup task will automatically be inserted as to be performed by Personal Backup. You can add further backup tasks by clicking the folder button to the right of the Tasks (Backup) field. In addition to the program defined command line parameters, the user can add his own selection of options. A special start directory (normally not required) and a separate ini file for this backup can be specified if so desired.
The backup log will be written to the file specified in the task options (default: Persbackup.log). If no path is specified here, the ini file path will be used.
The following additional options can be selected to determine the behavior of the program. For your information, they will automatically be displayed in the field Command line parameters as entered in the Windows Task Scheduler.

Status window
You can select how the status window will be displayed during backup.
Close after
If either Close automatically or Wait only on errors is selected for the status window, you can set the time period after which the window will automatically close.
No splash screen
The splash screen will be suppressed at program start.
Subsequent action
Selecting one of these options will cause the associated action to occur on completion of the scheduled backup, for example to shut down the system.
Error handling
If an action has been selected to be executed after a backup, this can be modified by clicking the Error handling button, such that this action will not be carried out if a backup error occurred. The dialog makes it possible to choose on which errors this shall happen.
Log mode
Logging can either be carried out as defined in the backup task to be performed or independently of this as selected here.
Process priority
Here, you can specify the priority of the file copying processes relative to other running applications.

Click the Next button to configure the schedule.
 

Daily schedule

Schedule Advanced settings
The main options are similar to those in the Windows scheduled task wizard. To initiate a daily backup, first select the time of day this is to start and on which date (default being the current date). By default, the backup starts every day but optionally a preset number of days can be skipped. In addition, optionally you can specify the date from which no further backups will be performed, a repeat interval with duration, a maximum runtime and a restart if a scheduled start was missed (Advanced settings).
To enter the user account data click on Next.
 

Weekly schedule

Schedule
The start time and start date can be selected as described above for a daily schedule. The backup can be started every week (default) or can skip a preset number of weeks. In addition you can determine on which days of the week the backup is to be performed. Clicking the upper right button will open the Extended settings (see above).
To enter the user account data click on Next.
 

Monthly schedule

Schedule Schedule
The start time and start date can be selected as described above for a daily schedule. The backup can be started on particular days of the selected months or on particular days of selected a week of the selected months. Clicking the upper right button will open the Extended settings (see above).
To enter the user account data click on Next.
 

Other times

Schedule
Other options for starting a backup are:

One time only
The backup is to be started once at a selectable time on a selectable date.
On log on
The backup is to be started whenever the specified user logs on.
On waking up the computer
The backup is to be started every time the computer is waked up from stand by or hibernation.

Complete and save

Account Account
At this point you can edit the description of the task (Default: This task was created by Personal Backup).
Finally, you must define how the task is to be started:

Clicking the Done button inserts this new or changed task into the list of Windows scheduled tasks and closes the wizard. You can inspect the task settings directly from Personal Backup (see below) or by using the Windows functions All Programs ⇒ Accessories ⇒ System Tools ⇒ Task Scheduler or via Control Panel ⇒ Administrative Tools ⇒ Task Scheduler.


Automatic Verify using Windows Task Scheduler

You can configure a Windows scheduled task to carry out an automatic Verify. The settings for verification must be saved as a file beforehand. Configuring the time schedule is the same as described above for backups.

Automatic Restore using Windows Task Scheduler

You can configure a Windows scheduled task to carry out an automatic Restore. The settings for restore must be saved as a file beforehand. Configuring the time schedule is the same as described above for backups.

Automatic Cleanup using Windows Task Scheduler

You can configure a Windows scheduled task to carry out an automatic Cleanup. The settings for cleanup must be saved as a file beforehand. Configuring the time schedule is the same as described above for backups.


Editing a scheduled task

Edit   Click this button to open the scheduled task selected in the list and to reconfigure its settings. If no task is selected, the dialog shown below will open to show a summary of all scheduled tasks.

Deleting a scheduled task

Delete width=   Click this button to delete the scheduled task selected in the list. If no task is selected, the dialog shown below will open to show a summary of all scheduled tasks.

Summary of all scheduled tasks

Scheduled tasks

Only tasks registered in Windows Task Scheduler involving Personal Backup are displayed in the Select Scheduled Task dialog box (see screenshot above). The properties of the selected task are displayed in the lower part of the window. Clicking the toggle switch on the right will enable or disable the selected task. Click one of the buttons on the lower right to initiate one of the following functions:

Edit the settings for the selected scheduled task, e.g. the time schedule (see above).


The selected scheduled task will be deleted.


Run the selected scheduled task immediately or stop it: If the selected scheduled task is ready to run (left icon), clicking this button will start the task immediately. If it is already running (right icon), the task will be stopped.


J. Rathlev, 24222 Schwentinental, Germany, November 2020