|
Tape°¡ ÀÖ´Â ½Ã½ºÅÛ tserver, Tape°¡ ¾ø´Â ½Ã½ºÅÛ client¶ó°í °¡Á¤ÇÑ´Ù.
1. Trusted Host °ü°è¸¦ ¸Î´Â´Ù.
a) client¿¡ /.rhosts ÈÀÏÀ» ¸¸µé°í tserver¸¦ ³Ö´Â´Ù.
b) tserver¿¡ /.rhosts ÈÀÏÀ» ¸¸µé°í client¸¦ ³Ö´Â´Ù.
c) tserver¿¡¼ ´ÙÀ½°ú °°Àº ¸í·É¾î°¡ ½ÇÇàµÇ´ÂÁö È®ÀÎ
# rsh client ls
d) client¿¡¼ ´ÙÀ½°ú °°Àº ¸í·É¾î°¡ ½ÇÇàµÇ´ÂÁö È®ÀÎ
# rsh tserver ls
2. tar backup
1.1 tserver¿¡¼ backup(ÀϹÝÀûÀÎ ¹æ¹ý)
1.1.1 Disk ---> Tape
tar cvf /dev/rmt/0 directory
1.1.2 Tape --> Disk
tar xvf /dev/rmt/0
1.2. client¿¡¼ tserverÀÇ tape·Î backup
1.2.2 Disk ---> Tape
tserver¿¡¼ clientÀÇ /usr/lib µð·ºÅ丮¸¦ backupÇÏ·Á¸é
# rsh client "cd /usr; tar cvf - lib" > /dev/rmt/0
1.2.3 Tape --> Disk
client¿¡¼ ¹é¾÷À» Ç® µð·ºÅ丮¿¡ °¡¼ ´ÙÀ½°ú °°ÀÌ ½ÇÇà
# rsh tserver "cat /dev/rmt/0" | tar xvf -
3. ufsdump/ufsrestore backup
1.1 tserver¿¡¼ backup(ÀϹÝÀûÀÎ ¹æ¹ý)
1.1.1 Disk ---> Tape
ufsdump 0uf /dev/rmt/0 /dev/rdsk/c0t0d0s0
1.1.2 Tape --> Disk
ufsrestore rf /dev/rmt/0
1.2. client¿¡¼ tserverÀÇ tape·Î backup
1.2.2 Disk ---> Tape
client¿¡¼ ´ÙÀ½°ú °°ÀÌ ½ÇÇà
# ufsdump 0uf tserver:/dev/rmt/0 /dev/rdsk/c0t0d0s0
1.2.3 Tape --> Disk
client¿¡¼ ´ÙÀ½°ú °°ÀÌ ½ÇÇà
# ufsrestore rf tserver:/dev/rmt/0
|