Closed RJ-Make closed 2 years ago
Just to update, working on this.
Your VM maybe be with snapshot?
Your VM maybe be with snapshot?
Yes, I do have snapshots turned on.
Latest version 22.01.19 has a "wait for VM to be in certain state and status" check added.
Fantastic, that is a work of beauty. Tested it just now and the added 'wait for state' worked perfectly. Took 3 min to complete the merge.
Thank You!
Because it's taking 3+ hours to export and backup my VM, I thought I would try the -NoPerms method.
I'm getting the error below. It almost seems like the script is not waiting until the Merge is complete when shutting down, but I'm not sure about that.
Here is the bat command. (which works fine when not using -NoPerms)
PowerShell.exe -ep bypass %PowerShellScriptLoc% -BackupTo %BackupLocation% -List %BackUpTheseVMs% -Wd %WorkingDir% -NoPerms -Keep 7 -Compress -Sz -SzOptions '-t7z' -L %BackupLogLocation%