TransactSQL Backup

BACKUP DATABASE [ecom] TO DISK = N'D:\bak\name' WITH NOFORMAT, INIT, NAME = N'name-Full Database Backup', SKIP, NOREWIND, NOUNLOAD, STATS = 10

Note: The drive must be local, not network or any removable device. You can use XCOPY or other command line argument to move the file after the backup is finished.

See also: