¹é¾÷ ¹× º¹±¸ 2
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2004-02-07 09:23:23
 

#!/bin/csh
set verbose
set day = 'date +%y%m%d'
mt -f /dev/rmt/0 rew
ufsdump 0uf /dev/rmt/0bn /
ufsdump 0uf /dev/rmt/0bn /home
ufsdump 0uf /dev/rmt/0bn /home2
echo "now test the backups."
mt -f /dev/rmt/0n rew;ufsrestore tfs /dev/rmt/0n 1> /home2/backup/dumpfile1.${day}
mt -f /dev/rmt/0n rew;ufsrestore tfs /dev/rmt/0n 2> /home2/backup/dumpfile2.${day}
mt -f /dev/rmt/0n rew;ufsrestore tfs /dev/rmt/0n 3> /home2/backup/dumpfile3.${day}


¸ñ·Ï | ÀÔ·Â | ¼öÁ¤ | ´äº¯ | »èÁ¦