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:
file: /Techref/language/sql/tsqlbak.htm,
1KB, , updated: 2016年12月9日 16:01, local time: 2025年10月3日 19:02,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://massmind.org/Techref/language/sql/tsqlbak.htm"> TransactSQL Backup</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.