【しばらく編集不可モードで運営します】 編集(管理者用) | 差分 | 新規作成 | 一覧 | RSS | FrontPage | 検索 | 更新履歴

Cake - *[[Cake]]とは何か

目次

Cakeとは何か

現在のハンドルはSHIMADA


/home のバックアップは tar より afioの方がいいっすよ.

 こんなスクリプト書いて使ってます.

 #!/bin/sh
 cd /mnt/itizi/DATASAVE/

 find / | \
 egrep -v '^/home' | \
 egrep -v '^/proc' | \
 egrep -v '^/mnt' | \
 egrep -v '^/tmp' | \
 egrep -v '^/usr/share' | \
 egrep -v '^/usr/lib' | \
 afio -ovZ -L /mnt/itizi/DATASAVE/linux1.log  /mnt/itizi/DATASAVE/linux1.afz

 find /usr/share/ | \
 afio -ovZ -L /mnt/itizi/DATASAVE/linux2.log /mnt/itizi/DATASAVE/linux2.afz

 find /usr/lib/ | \
 afio -ovZ -L /mnt/itizi/DATASAVE/linux3.log /mnt/itizi/DATASAVE/linux3.afz

 find /home/ | \
 egrep -v '^/home/????/Document' | \
 afio -ovZ -L /mnt/itizi/DATASAVE/home1.log /mnt/itizi/DATASAVE/home1.afz

 find /home/????/Document/ | \
 afio -ovZ -L /mnt/itizi/DATASAVE/home2.log /mnt/itizi/DATASAVE/home2.afz

 mv linux1.log /mnt/itizi/DATASAVE/Linux1/
 mv linux1.afz /mnt/itizi/DATASAVE/Linux1/
 mv linux2.log /mnt/itizi/DATASAVE/Linux2/
 mv linux2.afz /mnt/itizi/DATASAVE/Linux2/
 mv linux3.log /mnt/itizi/DATASAVE/Linux2/
 mv linux3.afz /mnt/itizi/DATASAVE/Linux2/
 mv home1.log  /mnt/itizi/DATASAVE/Home1/
 mv home1.afz  /mnt/itizi/DATASAVE/Home1/
 mv home2.log  /mnt/itizi/DATASAVE/Home2/
 mv home2.afz  /mnt/itizi/DATASAVE/Home2/

 cd /mnt/itizi/DATASAVE/ 
 mkisofs -r -J -o linux1.img Linux1/
 mkisofs -r -J -o linux2.img Linux2/
 mkisofs -r -J -o home1.img Home1/
 mkisofs -r -J -o home2.img Home2/

 あとCD-ROMに焼いて終り. どう??? --(そ)


ひさびさにきてみたらいたずらされてるし… おかえしだ:-)!

ほそのひでとも