Home > Database > Mysql Tutorial > SQL SERVER备份

SQL SERVER备份

WBOY
Release: 2016-06-07 14:55:09
Original
1339 people have browsed it

导500MB数据库只需60秒左右 SQL Server ::备份至远程主机"D:\SQL Server\100\Tools\Binn\SQLCMD.EXE" -S server host -U sa -P 123456 -d master -Q"BACKUP DATABASE dbname to disk='\\host\sql\sql.bak'"::从远程主机恢复"D:\SQL Server\100\Tools\Binn\SQ

导500MB数据库只需60秒左右 

SQL Server
::备份至远程主机
"D:\SQL Server\100\Tools\Binn\SQLCMD.EXE" -S <server host> -U sa -P 123456 -d master -Q"BACKUP DATABASE <dbname> to disk='\\<host>\sql\sql.bak'"

::从远程主机恢复
"D:\SQL Server\100\Tools\Binn\SQLCMD.EXE" -S <server host> -U sa -P 123456 -d master -Q"RESTORE DATABASE <dbname> from disk='\\<host>\sql\sql.bak'" 

Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template