Relax and Recover (ReaR)

install: rear mkisofs syslinux nfs-utils

Config File:

[root@tsmtool rear]# cat /etc/rear/local.conf
# Create Relax-and-Recover rescue media as ISO image
OUTPUT=ISO
# Store the backup file via NFS:
#BACKUP=NETFS
# Only a NETFS_URL of the form 'nfs://host/path' is supported
# so that 'mount -o nolock -t nfs host:/path' works.
#NETFS_URL=nfs://infra/rear/
# Keep an older copy of the backup in a HOSTNAME.old directory
# provided there is no '.lockfile' in the HOSTNAME directory:
#NETFS_KEEP_OLD_BACKUP_COPY=yes
# Aufgabe verzeichnis für ISO
TSM_RESULT_FILE_PATH=/var/rear
# TSM Client mit ins ISO integrieren:
COPY_AS_IS_TSM=( /opt/tivoli/tsm/etc/passworddir/TSM.PWD /opt/tivoli/tsm/client /usr/local/ibm )
ISO_PREFIX="$HOSTNAME.withTSM.ReaR"
#Folgendes aktivieren, wenn Backup ueber TSM
BACKUP=TSM

erstellen des ISOs

[root@tsmtool rear]# rear -v mkbackup
Relax-and-Recover 1.15 / Git
Using log file: /var/log/rear/rear-tsmtool.log
Creating disk layout
Creating root filesystem layout
TIP: To login as root via ssh you need to set up /root/.ssh/authorized_keys or SSH_ROOT_PASSWORD in your configuration file
Copying files and directories
Copying binaries and libraries
Copying kernel modules
Creating initramfs
Making ISO image
Wrote ISO image: /var/lib/rear/output/tsmtool-ReaR-TSM.iso (159M)
Modifying local GRUB configuration
Saving result files with TSM