Quantcast
Channel: Symantec Connect - Backup and Recovery
Viewing all articles
Browse latest Browse all 1524

Post recoverypoint creation script has strange issue and doesnt work fine

$
0
0
I need a solution

im running the trial version of SSR 2013 R2 on windows 10.

I created a small .bat script that simply puts the computer to sleep. I set SSR to run this script after recvoverypoint is created.

My SSR creates the backup on a NAS drive. The issue is that it seems that once the recoverypoint is completed, SSR needs a few more seconds before it can finalize/close the backup file it was writing. But as it is, SSR calls the script before its done writing the backup file. hence, the NAS ends up having an incomplete backup file with a .tmp extension.

I updated my .bat script to have a timer so that when ran, it gives a timer of 60 sec before the next command is executed to put the computer in standy by. This script runs fine if ran by itself (double clicking on it). However when the SSR calls this script, the computer goes to sleep instantly, the timer part doesnt run for some off reason. I tried increasing the timeout setting for the script in the SSR settings but that didnt help.

Any ideas why this is happening?

here is my batch script:

TIMEOUT /T 60 /NOBREAK
C:\Windows\swoff.exe -e

0

Viewing all articles
Browse latest Browse all 1524

Trending Articles