¹é¾÷ °£´Ü ½ºÅ©¸³Æ® |
±Û ¾´ ÀÌ |
linux |
³¯ Â¥ |
2003³â 01¿ù 02ÀÏ 17½Ã 36ºÐ 26ÃÊ |
º» ¹® |
#!/bin/bash
b=/home/iwav/backup/$1-backup-$(date +%Y%m%d).tar.gz
tar cvfz $b /home/$1/public_html/
ÆÄÀÏÀ» ¸¸µç ´ÙÀ½ (¿¹: back.sh )
./back.sh µð·ºÅ丮¸í(aaaa)
½ÇÇàÇϸé /home/aaaa µð·ºÅ丮°¡ ¾ÐÃàµÇ¾î
aaa-back-20001212.tar.gz ÀÇ ÆÄÀÏÀÌ
/home/public_html/backup µð·ºÅ丮¿¡
¸¸µé¾î Áø´Ù.
|
|
|
|