SOP For Creating Image-Rear-Mkbackup
SOP For Creating Image-Rear-Mkbackup
----------------------------------------------------
Login as root
And run below
# mkdir /root/reariso
# vi /etc/rear/local.conf
# Default is to create Relax-and-Recover rescue media as ISO image
# set OUTPUT to change that
# set BACKUP to activate an automated (backup and) restore of your data
# Possible configuration values can be found in /usr/share/rear/conf/default.conf
#
# This file (local.conf) is intended for manual configuration. For configuration
# through packages and other automated means we recommend creating a new
# file named site.conf next to this file and to leave the local.conf as it is.
# Our packages will never ship with a site.conf.
OUTPUT=ISO
OUTPUT_URL=file:///root/reariso
BACKUP=NETFS
BACKUP_URL=iso:///root/reariso
:wq!
#
3. Verify the added contents to local.conf
# cat /etc/rear/local.conf
# Default is to create Relax-and-Recover rescue media as ISO image
# set OUTPUT to change that
# set BACKUP to activate an automated (backup and) restore of your data
# Possible configuration values can be found in /usr/share/rear/conf/default.conf
#
# This file (local.conf) is intended for manual configuration. For configuration
# through packages and other automated means we recommend creating a new
# file named site.conf next to this file and to leave the local.conf as it is.
# Our packages will never ship with a site.conf.
OUTPUT=ISO
OUTPUT_URL=file:///root/reariso
BACKUP=NETFS
BACKUP_URL=iso:///root/reariso
#
4. Change the hostname to localhost and exit and login again to check.
[root@localhost ~]#
a. Change the permission to 777 of iso file and copy it to nfs share
(/home/fpatel01) or to jumphost.
10. We have done with the image creation and ready to restore it.
-------------------------------------------------------------------------