Install Mondo on CentOS

  • Install Required components
    • yum -y install mkisofs syslinux dosfstools cdrecord dvd+rw-tools

  • Download and install Mondo
    • Download
      • mkdir /usr/src/mondo
      • cd /usr/src/mondo
      • wget ftp://ftp.mondorescue.org/rhel/5/i386/buffer-1.19-4.rhel5.i386.rpm
      • wget ftp://ftp.mondorescue.org/rhel/5/i386/afio-2.5-1.rhel5.i386.rpm
      • wget ftp://ftp.mondorescue.org/rhel/5/i386/mindi-busybox-1.18.3-2.rhel5.i386.rpm
      • wget ftp://ftp.mondorescue.org/rhel/5/i386/mindi-2.0.7.7-1.rhel5.i386.rpm
      • wget ftp://ftp.mondorescue.org/rhel/5/i386/mondo-2.2.9.6-1.rhel5.i386.rpm
    • Install
      • cd /usr/src/mondo
      • rpm -ivh *.rpm
  • Running Mondo
    • Backup
      • Command Line Options
        • -O
          Backup

          -V
          Verify

          -i
          Use ISO files

          -s
          ISO size ‘700m’ CD, ‘4480m’ DVD

          -G
          Use gzip instead of bzip2 (might be faster)

          -d
          Specify the backup directory

          -S
          full pathname of the scratchdir

          -T
          full pathname of the tempdir

          -E
          Exclude path(s) from backup

          -p
          Use prefix to generate the name of ISO images

          -0
          No Compression

          -9
          Max Compression

          -3
          Default Compression

      • Create Backup Directory
        • mkdir -pv /tmp/mondo/backup
        • mkdir -pv /tmp/mondo/tmp
      • Backup
        • mondoarchive -OVi -s 4480m -G -9 -d /tmp/mondo/backup -S /tmp/mondo/tmp -T /tmp/mondo/tmp -E /tmp/mondo -p PBX-Backup-`date +%Y-%m-%d`
      • Clean
        • rm -fR /tmp/mondo/tmp/*
    • Restore

Leave a comment