Direkt zum Inhalt

Scheduled Backup not working

Thread needs solution

Hello,

It seems there are some issues with scheduled backups. Manual backups are OK.

Prior to starting taking backups we execute a "stop sql" .bat file. We also execute a "start sql" .bat file upon backup completion.

We keep getting strange error outputs, however the backup file gets created (when it works).

Can you spot anything strange?

Operating System: Windows XP

Thank you in advance.

Anhang Größe
backup-plan.png 28.02 KB
pre-post.png 31.14 KB
logs.png 194.27 KB
0 Users found this helpful

There could be any number of issues.
0. Were the files ever successful?

1. Does the bat files work when tested outside of TI?
Does these produce any errors when run outside of TrueImage?

2. Often times, renaming the file a .cmd file instead of .bat files will improve the results. Double check to make sure the file does not have a locked security. Right click and check properties.

3. There could be timing issues.
Include some timing lines in the bat file at the end of both files such as
PING 1.1.1.1 -n 1 -w 8000 >NUL

4. The log file shows the start bat file had issues.

5. Try temporarily adding a PAUSE command at the end of each bat file so you can see what errors are displayed. This would require using a different file to run the intended bat file so the pause could be the last command of the new file.

6. When adding the pre/post command to TI, be sure and use the browse option and point TI to the actual file. Do not just type the path name into the windows.

7. I also make it a practice to avoid using spaces within any bat or cmd filename.