Batch file not completing
Posted: 27 Aug 2010 04:24
Hello,
Im running the follow batch file to backup a database for our AV console, then moving it to a server.
E:
cd E:\Sophos\Enterprise Console\DB
BackupDB E:\SECBackups\SOPHO.bak
MOVE /Y E:\SECBackups\SOPHO.bak \\server1\IT\Riston_backup
Now the backup completes yet it doesnt do the moving part.
If i run each command manually it all works ok. So why is the batch file stoping after the backupdb?
Im running the follow batch file to backup a database for our AV console, then moving it to a server.
E:
cd E:\Sophos\Enterprise Console\DB
BackupDB E:\SECBackups\SOPHO.bak
MOVE /Y E:\SECBackups\SOPHO.bak \\server1\IT\Riston_backup
Now the backup completes yet it doesnt do the moving part.
If i run each command manually it all works ok. So why is the batch file stoping after the backupdb?