|
藍森林 http://www.lslnet.com 2006年6月26日 11:18
請教一個tar dvf 的問題
請教一個tar dvf 的問題: (不好意思,在磁帶這個問題上,就是繞不清楚!)
:em23: :em23: :em23: :em23:
前面用tar cvf /dev/nst0 filename > tmp1.txt, 備份數據到磁帶上。
後退一下磁帶讀寫頭,mt -f /dev/nst0 bsf 1
然後用tar dvf /dev/nst0 > tmp2.txt
必須自己寫程序,比較tmp1.txt和tmp2.txt 的不同麼?換句話說,怎麼知道磁盤備分成功了? |
| |