Workshop REAR
Workshop REAR
Prevention
Risk Management
Rear
Rehearse, maintain Preparedness
Recovery and review Business Impact
Recovery Plan Analysis
Response
Incident Response
● Risk Analysis
● What is the budget?
● Develop the DRP according
● Required time to normal operations
● Establish priorities
● Inventorying equipment and software
● Make checklists and test procedures
● Test the DRP (at least on yearly basis)
OUTPUT
Rescue boot image
ex
n a
te
ter
rn
in
al
BACKUP BACKUP
Basic OS archive Basic OS archive
(tar, rsync) (external backup sw)
rear dump:
Dumping out configuration and system information
System definition:
ARCH = Linux-i386 /usr/share/rear/conf
OS = GNU/Linux
OS_VENDOR = Fedora
OS_VENDOR_ARCH = Fedora/i386
Fedora GNU
OS_VENDOR_VERSION = Fedora/12
Configuration tree:
Linux-i386.conf : OK
GNU/Linux.conf : OK
Fedora.conf : missing/empty
Fedora/i386.conf : missing/empty
Fedora/12.conf : missing/empty
site.conf : OK
/etc/rear/ local.conf : OK
● Download it from
● The official tar-balls
– https://sourceforge.net/projects/rear/files/rear/1.18/
● The rear-snapshot rpm's build from GitHub
– http://download.opensuse.org/repositories/Archiving:/Backup
:/Rear:/Snapshot/
● The official source
– https://github.com/rear/rear
● The official repo's (Fedora, RHEL, EPEL and SLES)
– yum install rear
– zypper install rear
IT3 Consultants Relax and Recover Workshop 22
Installation of rear
● E.g. on Fedora 17
# yum install rear
Installing:
rear noarch 1.13.0-1.fc17 fedora 327 k
Installing for dependencies:
at i686 3.1.13-7.fc17 fedora 61 k
bc i686 1.06.95-6.fc17 fedora 106 k
binutils i686 2.22.52.0.1-5.fc17 fedora 3.6 M
ed i686 1.5-3.fc17 fedora 72 k
ethtool i686 2:3.2-2.fc17 fedora 93 k
genisoimage i686 1.1.11-10.fc17 fedora 338 k
….
Install 1 Package (+40 Dependent packages)
Total download size: 21 M
Installed size: 65 M
Is this ok [y/N]: y
pxelinux OUTPUT=PXE
network BACKUP=NETFS
isolinux
OUTPUT=ISO
(NFS|CIFS|local) extlinux
disks External USB disks
Tape drive
● BACKUP=NETFS
● BACKUP_URL can be
● File type: BACKUP_URL=file:///directory/
● NFS type: BACKUP_URL=nfs://nfs-server/directory/
● CIFS type: BACKUP_URL=cifs://samba/directory/
● USB type: BACKUP_URL=usb:///dev/disk/by-
label/REAR-000
● ISO type: BACKUP_URL=iso://backup
● Tape type: BACKUP_URL=tape:///dev/nst0
● BACKUP=NETFS
● /usr/share/rear/conf/default.conf
● Default: BACKUP_PROG=tar
● However, BACKUP_PROG=rsync is possible for
local attached storage
● BACKUP_PROG_COMPRESS_OPTIONS="--
gzip"
● BACKUP_PROG_COMPRESS_SUFFIX=".gz"
● BACKUP_PROG_EXCLUDE=( '/tmp/*' '/dev/shm/*' )
● Add:
BACKUP=NETFS
BACKUP_URL=nfs://server/path
● On NFS server backup => /path/$(hostname)/
● Make sure /path is exported and root can write on it
# ls /var/lib/rear/recovery/cfg2html/
localhost.localdomain.err
localhost.localdomain.partitions.save
localhost.localdomain.txt
localhost.localdomain.html
localhost.localdomain.tar
● Stable software
● i386 and x86_64 are well tested
● ia64 and ppc, ppc64, ppc64le less tested
● Released as RPM, TAR, DEB
● Rear ships with
● SUSE Linux Enterprise HA extension 11 SPx
● OpenSUSE and Fedora
● Support available (community and/or commercial)
● Open for patch submissions by rear community
Web-site: http://relax-and-recover.org/
GitHub: https://github.com/rear/rear
Mailing list:[email protected]