EX Admin
2008-11-07 17:43:01 UTC
Hello,
I am try to backup MSDE database with the following command:
OSQL -E -Q "BACKUP DATABASE MYDB TO DISK = 'C:\MYDB.bak'"
It works, however, once I use windows scheduler to schedule to run the
script daily,
it appends to the file instead to overwrite it. Is there any way to
overwrite the existing file automatically?
Thanks,
I am try to backup MSDE database with the following command:
OSQL -E -Q "BACKUP DATABASE MYDB TO DISK = 'C:\MYDB.bak'"
It works, however, once I use windows scheduler to schedule to run the
script daily,
it appends to the file instead to overwrite it. Is there any way to
overwrite the existing file automatically?
Thanks,