FYI... this issue has been worked with HBS developers and the result is as follows...
An HBS task is considered the full scope of the task... event triggers, pre & Post Commands, etc. Since it's a queued operation, the non-queued running of the Command Line Interface (BackupCmdUI.exe) referencing a currently queued running Task will produce inconsistent results and occasional errors.
Basically, what this means is you cannot run BackupCmdUI.exe during the pre or post Command function of an active task (what I was trying to do with Powershell)... the results will be inconsistent, possibly with errors.
My current workaround has me defining a task within the main app but not running it there using the app-based scheduler. I then use a home made GFS (Grandfather, Father, Son) Powershell script, using BackupCmdUI.exe to do the following...
-On the 2nd of every month, delete the secondary imaging chain then move the primary imaging chain to the secondary folder.
-On any weekday except MONDAY, produce an INCREMENTAL image, unless primary folder is empty, then produce a FULL image (automatic operation by HBS).
-On Mondays, produce a DIFFERENTIAL image, unless primary folder is empty, then produce a FULL image (automatic operation by HBS).
This script gives me 1-2 months worth of backups at any given time with a DIFFERENTIAL on Mondays and an INCREMENTAL on all other weekdays, except the 2nd of each month when a FULL is produced to start a new primary image chain. It's rudimentary, but works well...
An HBS task is considered the full scope of the task... event triggers, pre & Post Commands, etc. Since it's a queued operation, the non-queued running of the Command Line Interface (BackupCmdUI.exe) referencing a currently queued running Task will produce inconsistent results and occasional errors.
Basically, what this means is you cannot run BackupCmdUI.exe during the pre or post Command function of an active task (what I was trying to do with Powershell)... the results will be inconsistent, possibly with errors.
My current workaround has me defining a task within the main app but not running it there using the app-based scheduler. I then use a home made GFS (Grandfather, Father, Son) Powershell script, using BackupCmdUI.exe to do the following...
-On the 2nd of every month, delete the secondary imaging chain then move the primary imaging chain to the secondary folder.
-On any weekday except MONDAY, produce an INCREMENTAL image, unless primary folder is empty, then produce a FULL image (automatic operation by HBS).
-On Mondays, produce a DIFFERENTIAL image, unless primary folder is empty, then produce a FULL image (automatic operation by HBS).
This script gives me 1-2 months worth of backups at any given time with a DIFFERENTIAL on Mondays and an INCREMENTAL on all other weekdays, except the 2nd of each month when a FULL is produced to start a new primary image chain. It's rudimentary, but works well...