Cleve :
Dec 18, 2020
Alex,
I have being trying to fix an issue we have.
I would like to use a script to start certain backup's one after each other but only want the next backup within my script to continue after the previous one is finished.
I try the way Bamit say's on 23-03-2019 but i can't get it to work.
I change a few things but the below is the statement i run now:
:BEGIN
"C:\Program Files\Bvckup 2\bvckup2.exe" --command start "CopyJob1"
ping -n 2 localhost 1>NUL 2>&1
TimeOut 2 /nobreak >nul
::
:AGAIN
TimeOut /t 2 /nobreak >nul
"C:\Program Files\Bvckup 2\bvckup2.exe" --command status "CopyJob1"
if %errorlevel% neq 102 goto again
::
"C:\Program Files\Bvckup 2\bvckup2.exe" --command start "CopyJob2"
ping -n 2 localhost 1>NUL 2>&1
TimeOut 2 /nobreak >nul
1
Alex Pankratov :
Dec 21, 2020
Sorry, I'm not clear on this part -
but only want the next backup within my script to continue after the previous one is finished.
Can you give an example?
PS. But if I am guessing correctly, you should be able to do what you want by organizing your backups in a custom queue and starting them all at once using the queue name.
https://bvckup2.com/support/forum/topic/9342
Cleve :
Dec 22, 2020
I have changed our enviroment to suite the queues.
Its working like you said it would, thank you.
robbert