Hi,
I am writing a remote update app, and I'd like to programmaticall y backup
the SQL Server 2000 database before running the SQL files over it.
Can anyone tell me a command that does a hot backup of the DB and puts it
somewhere, which I would shell exec from my program.
eg
ShellExec("hotb ackup mydb c:\tmp\backups\ todaysBackup.ba k")
I'm not concerned with how long it takes to restore. ie preferably a quick
backup and if necessary a long restore.
Cheers,
Dirk
I am writing a remote update app, and I'd like to programmaticall y backup
the SQL Server 2000 database before running the SQL files over it.
Can anyone tell me a command that does a hot backup of the DB and puts it
somewhere, which I would shell exec from my program.
eg
ShellExec("hotb ackup mydb c:\tmp\backups\ todaysBackup.ba k")
I'm not concerned with how long it takes to restore. ie preferably a quick
backup and if necessary a long restore.
Cheers,
Dirk
Comment