Relax and Recover (ReaR)

http://relax-and-recover.org/
. Thread sobre ReaR na Symantec
http://www.symantec.com/connect/forums/netbackup-linux-bare-metal-restore-using-open-source-relax-and-recover-rear
. Configurando NFS server
# service rpcbind start
# service nfs start
# service nfslock start
# lvcreate –name LV_media –size 4G VG_ROOT
# mkfs -t ext4 -O extents /dev/VG_ROOT/LV_media
# mount /dev/VG_ROOT/LV_media /media
# vi /etc/fstab

/dev/mapper/VG_ROOT-LV_media /media ext4 defaults 0 0
:wq!
# vi /etc/exports
/media *(rw,all_squash,anonuid=0)
:wq!
# exportfs -r
# for s in rpcbind nfs nfslock ; do chkconfig $s on ; done
. CentOS 6
# yum install
‘http://download.opensuse.org/repositories/Archiving:/Backup:/Rear/CentOS_CentOS-6/noarch/rear-1.17.1-1.el6.noarch.rpm’
. Config for client 6
# service rpcbind start
# service nfslock start
# mount -t nfs -O nfsver=3 10.10.0.5:/media /media
. Instalação Red Hat 5
# yum install mkisofs
# yum –nogpgcheck localinstall rear-1.17.1-1.el5.noarch.rpm
. Config client 5
# service portmap start
# service nfslock start
# rpcinfo -p 10.10.0.5
# mount -t nfs -O nfsver=3 10.10.0.5:/media /media
. Red Hat 6
# yum install mkisofs
# yum install syslinux
# yum –nogpgcheck localinstall rear-1.17.1-1.el6.noarch.rpm
. Red Hat 4 (not supported )
# unzip rear-master.zip
# cd rear-master
# make install
. Config ReaR
# vi /etc/rear/local.conf
OUTPUT=ISO
ISO_DIR=/tmp
ISO_PREFIX=”$HOSTNAME.rear”
BACKUP=NETFS
BACKUP_URL=nfs://10.10.0.5/media
ONLY_INCLUDE_VG=( VG_ROOT )
EXCLUDE_COMPONENTS=( “fs:/oracle” )
USE_DHCLIENT=yes
:wq!
# rear -v mkbackup
. Recover/Restore
# rear recover
. Troubleshooting
Erro : ERROR: Could not find ‘isolinux.bin’.
SoluTION: # yum install syslinux
TIMESYNC=NTP
TIMESYNC_SOURCE=10.10.0.10
BACKUP=NBU

Tags: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *