??SQL Server???????????????????
???????????? ???????[ 2012/7/20 11:28:01 ] ????????
??????SQL Server?校?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????1??????????????
?????????????????????????????????????????????????????????????????
???????????????????????????????
?????????backup database ??????? to ?????璞�?? with [name='?????????'][init /noinit]
<SPAN style="FONT-SIZE: 18px">backup database MagDB to MagDb_1 with init</SPAN>
?????????restore database ??????? from ?????璞�?? with [norecovery/recovery]
<SPAN style="FONT-SIZE: 18px">restore database MagDb
from MagDb_1
with norecovery</SPAN>
??????2????????????????????
??????????????????????????????????????????
????????????????????????????????????尾?????
?????????backup database ??????? to ?????璞�?? with differential [name='?????????']
<SPAN style="FONT-SIZE: 18px">backup database MagDb to MagDb_1 defferential</SPAN>
?????????restore database ??????? from ?????璞�?? with [norecovery/recovery]
<SPAN style="FONT-SIZE: 18px">restore database MagDb
from MagDb_1
with file =2??
recovery</SPAN>
??????3?????????????????
????????????????????????械????????????????????????????????
??????????????????????????????????????????????????????????????????????????????????????????????????????????谢??????????????????????械???????????????????械????????????????????????????????????????????????尾?????????????????尾??????????械????????????????
?????????backup log ??????? to ?????璞�?? with init/noinit
<SPAN style="FONT-SIZE: 18px">backup log DocDb to disk='c:databakDocDb_1.bat'</SPAN>
?????????restore log ??????? from ?????璞�?? with [norecovery/recovery]
<SPAN style="FONT-SIZE: 18px">restore log DocDb
from disk='c:databakDocDb1.bat'</SPAN>
??????4???????????楸�??????
??????????????????????????????椋�???????????????????????
??????????????????????????械?????????????????????
?????????backup database ??????? file='????????????'??filegroup) to ?????璞�?? with init/noinit
<SPAN style="FONT-SIZE: 18px">backup database DocDb
file='DocDb_Data'
to disk='c:databakDocfile1.dat'</SPAN>
?????????restore database ??????? file='????????????'??filegroup) from ?????璞�??
<SPAN style="FONT-SIZE: 18px">restore database DocDb
file="DocDb_Data"
from disk="c:databakDocfile1.dat"</SPAN>
????????????????????????????????????????绶�???
??????

???路???
??????????????????
2023/3/23 14:23:39???写?貌??????????
2023/3/22 16:17:39????????????????????些??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???路???????路
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11