Group: Forum Members
I have an issue that is similar to the problem others are having with scheduled backups not having network access due to the scheduled backup running under the context of SYSTEM.
I have a daily backup scheduled that after completion, runs a program that synchronizes files on NAS1 to NAS2. To run my program task post-backup, I have configured it to run using the Run a program or script at the end option found at Reflect Defaults | Scripts | PowerShell Run Programs. With v6, the scheduled backup ran under my account and everything was working correctly. Now, since upgrading to v7, the scheduled backup runs under SYSTEM, my program task also runs under SYSTEM. Since SYSTEM has no network access, the post-backup task does not work.
Keep in mind that the only way to run my post-backup program is to select my Backup Definition File and either generate a VBScript or PowerShell file. Support told me that I need to manually edit the PowerShell script and configure it to RunAs my desired account. Support won't, however, help me edit the script to put in the necessary parameters because I'm told Macrium does not support "custom" scripts. Not sure I agree that this is a "custom" script as there is no other way to accomplish this in the program.
Macrium support provided some links but after reading those articles and doing some searching on my own, I'm not sure exactly how to best accomplish this. I'm hopeful that someone would be able to help me get this "custom" script edited so the post-backup program runs under the proper account (that has the necessary network access). BTW, I'm running Macrium Reflect Workstation.
A suggestion for Macrium...I think there should be a provision under the Reflect Defaults | Scripts to specify what account to use when running the specified scripts. This would be the same as has been done in Reflect Defaults | Network | Network Logon.