|If the database is open, it can't be accessed for backup.|
You could set the batch file to run at a time when the database isn't being used...like in the middle of the night.
"So won’t you give this man his wings
What a shame
To have to beg you to see
We’re not all the same
What a shame" - Shinedown