Posted in Linux

Backup + Mondo 備份Linux 系統

Backup + Mondo 備份Linux 系統 Posted on 2006 年 11 月 11 日Leave a comment

Quote: http://www.mondorescue.org/

Mondo Rescue is a GPL disaster recovery solution. It supports Linux (i386, x86_64, ia64) and FreeBSD (i386). It's packaged for multiple distributions (RedHat, RHEL, SuSE, SLES, Mandriva, Debian, Gentoo).

It supports tapes, disks, network and CD/DVD as backup media, multiple filesystems, LVM, software and hardware Raid.

[1.] fedora core 4 最小安裝

         

[2.] 到 ftp://ftp.mondorescue.org/fedora/4 下載檔案

  • mondo-2.0.7-460.fc4.i386.rpm
  • mindi-1.0.7-460.fc4.i386.rpm
  • buffer-1.19-0.fc4.i386.rpm
  • afio-2.5-0.fc4.i386.rpm

說明

mindi               – a tool for creating boot/root disks.
mondoarchive – a backup / disaster-recovery tool.

mondorestore – a restore / disaster-recovery tool.

      安裝燒錄工具
         yum install mkisofs cdrecord

      安裝套件

         rpm -ivh mondo-2.0.7-460.fc4.i386.rpm mindi-1.0.7-460.fc4.i386.rpm buffer-1.19-0.fc4.i386.rpm afio-2.5-0.fc4.i386.rpm

 

[3.] 執行 mondoarchive

等待中…..

 

指令

  • 把/home及/etc/目錄,備份(-O)成ISO(-i)檔到/root/images目錄裡,壓縮等級5,一ISO檔案大小650Mb

         mondoarchive -O -i -d /root/images -5 -s 650m -p mondorescue -I "/"  -E "/tmp /proc"

 

  • DVD

         mondoarchive -O -r 2 -d /dev/scd0 -gF -s 4200m

 

  • CD-RW

         mondoarchive -Ow 4

 

  • CD-R

         mondoarchive -Oc 16 -s 700m -g

 

[4.] 於 /root/image/中有兩檔

mondorescue.iso

mondorescue-1.iso

 

燒錄

  • cdrecord -scanbus
  • CD-R

         cdrecord -dev=0,0,0 speed=4 -eject -v mondorescue.iso

 

  • CD-RW

         cdrecord -dev=0,0,0 speed=4 blank=fast -eject -v mondorescue.iso

 

如何 restore
用mondorescue.iso 開機

再倒回mondorescue-1.iso

ref:

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *