SlideShare a Scribd company logo
1 of 8
ReaR
  AleksandarBilanovic

LHS Telekommunikation
What is ReaR
 ReaR is a highly modular backup/recovery framework, used in
  case of disaster to restore GNU/Linux operating system on bare
  metal machine.

 Basically ReaR is tar-gziping/ (slash) + stores metadata
  regarding file systems / LVM / boot loader / HW and SW RAID
  configuration, etc packed in initrd image along with system
  tools – altogether usedso that same FS layout / boot
  configuration can be recreated upon restore

 Mature product - created as a spin-off of two existing projects:
  OpenVPN GW builder (Schapiro) and mkcdrec (D’haese)

 Deutsche Qualität
Why ReaR
 Open source software written in shell using standard UNIX utils -
  can easily be modified to suit environment needs

 Fast – both backup and restore operation

 Online – no service interruption during backup

 Space efficient – only effective data is being backed up

 Can be easily modified for specific needs and extend with
  new features

 Can restore to another (similar) hardware – hence system
  cloning is possible

 Can also be used to manually restore individual files

 Can backup / restore to different backend storage (TSM, NFS)
Why not ReaR
 Does not work for Linux systems older than ~ 10 years (<2.6)

 Can work only if systems are on the same broadcast domain
  (on PXE based bare metal restore)

 Can fail in heavily customized GNU/Linux installation
Our modifications
 Patched sshd.conf/passwd to permit remote root logins

 Disk geometry fix patch

 grub.conf fix patch

 MAC addressed list also included in backup meta data

 DHCP/manual IP address assignment during restore (restore in
  different network)
Managing backups
 There wasn’t free tool for managing backups – so we wrote
  our own:

 rearadm – ruby scrip (easy to understand – clean code)
  ~ 1000 lines (including integrated man pages)
  archiving, versioning and deleting backups
  creating, changing and deleting hosts
  provisioning backups for restore procedure
  cloning systems
Demo
 ReaR installation & configuration

 creating backup

 managing backup
   archiving
   provisioning backup for restore/cloning
Time for you



               Q/A

More Related Content

What's hot

Firewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackFirewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackMahmoud Shiri Varamini
 
Difference between cluster image package show-repository and system image get
Difference between cluster image package show-repository and system image getDifference between cluster image package show-repository and system image get
Difference between cluster image package show-repository and system image getAshwin Pawar
 
A Performance Characterization of Postgres on Different Storage Systems
A Performance Characterization of Postgres on Different Storage SystemsA Performance Characterization of Postgres on Different Storage Systems
A Performance Characterization of Postgres on Different Storage SystemsDong Ye
 
Linux High Availability Overview - openSUSE.Asia Summit 2015
Linux High Availability Overview - openSUSE.Asia Summit 2015 Linux High Availability Overview - openSUSE.Asia Summit 2015
Linux High Availability Overview - openSUSE.Asia Summit 2015 Roger Zhou 周志强
 
Advanced Namespaces and cgroups
Advanced Namespaces and cgroupsAdvanced Namespaces and cgroups
Advanced Namespaces and cgroupsKernel TLV
 
Flash memory as a hard drive replacement
Flash  memory  as a  hard  drive replacementFlash  memory  as a  hard  drive replacement
Flash memory as a hard drive replacementBlossoms
 
M|18 Planning for Disaster Recovery, online and offline
M|18 Planning for Disaster Recovery, online and offlineM|18 Planning for Disaster Recovery, online and offline
M|18 Planning for Disaster Recovery, online and offlineMariaDB plc
 
Lavigne bsdmag apr13
Lavigne bsdmag apr13Lavigne bsdmag apr13
Lavigne bsdmag apr13Dru Lavigne
 
Backup, Restore, and Disaster Recovery
Backup, Restore, and Disaster RecoveryBackup, Restore, and Disaster Recovery
Backup, Restore, and Disaster RecoveryMongoDB
 
High Availability Storage (susecon2016)
High Availability Storage (susecon2016)High Availability Storage (susecon2016)
High Availability Storage (susecon2016)Roger Zhou 周志强
 
Performance comparison of Distributed File Systems on 1Gbit networks
Performance comparison of Distributed File Systems on 1Gbit networksPerformance comparison of Distributed File Systems on 1Gbit networks
Performance comparison of Distributed File Systems on 1Gbit networksMarian Marinov
 
3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirementsAbDul ThaYyal
 
Recent advances in the Linux kernel resource management
Recent advances in the Linux kernel resource managementRecent advances in the Linux kernel resource management
Recent advances in the Linux kernel resource managementOpenVZ
 
Oracle apps dba training dba technologies
Oracle apps dba training   dba technologiesOracle apps dba training   dba technologies
Oracle apps dba training dba technologiessanind88
 
Containers and Namespaces in the Linux Kernel
Containers and Namespaces in the Linux KernelContainers and Namespaces in the Linux Kernel
Containers and Namespaces in the Linux KernelOpenVZ
 

What's hot (18)

SFScon19 - Davide Montesin - Why you should consider using btrfs
SFScon19 - Davide Montesin - Why you should consider using btrfsSFScon19 - Davide Montesin - Why you should consider using btrfs
SFScon19 - Davide Montesin - Why you should consider using btrfs
 
Firewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter StackFirewalld : A New Interface to Your Netfilter Stack
Firewalld : A New Interface to Your Netfilter Stack
 
Technical Skills.pdf
Technical Skills.pdfTechnical Skills.pdf
Technical Skills.pdf
 
Difference between cluster image package show-repository and system image get
Difference between cluster image package show-repository and system image getDifference between cluster image package show-repository and system image get
Difference between cluster image package show-repository and system image get
 
A Performance Characterization of Postgres on Different Storage Systems
A Performance Characterization of Postgres on Different Storage SystemsA Performance Characterization of Postgres on Different Storage Systems
A Performance Characterization of Postgres on Different Storage Systems
 
Linux High Availability Overview - openSUSE.Asia Summit 2015
Linux High Availability Overview - openSUSE.Asia Summit 2015 Linux High Availability Overview - openSUSE.Asia Summit 2015
Linux High Availability Overview - openSUSE.Asia Summit 2015
 
Advanced Namespaces and cgroups
Advanced Namespaces and cgroupsAdvanced Namespaces and cgroups
Advanced Namespaces and cgroups
 
Flash memory as a hard drive replacement
Flash  memory  as a  hard  drive replacementFlash  memory  as a  hard  drive replacement
Flash memory as a hard drive replacement
 
M|18 Planning for Disaster Recovery, online and offline
M|18 Planning for Disaster Recovery, online and offlineM|18 Planning for Disaster Recovery, online and offline
M|18 Planning for Disaster Recovery, online and offline
 
Lavigne bsdmag apr13
Lavigne bsdmag apr13Lavigne bsdmag apr13
Lavigne bsdmag apr13
 
Backup, Restore, and Disaster Recovery
Backup, Restore, and Disaster RecoveryBackup, Restore, and Disaster Recovery
Backup, Restore, and Disaster Recovery
 
High Availability Storage (susecon2016)
High Availability Storage (susecon2016)High Availability Storage (susecon2016)
High Availability Storage (susecon2016)
 
Mongodb backup
Mongodb backupMongodb backup
Mongodb backup
 
Performance comparison of Distributed File Systems on 1Gbit networks
Performance comparison of Distributed File Systems on 1Gbit networksPerformance comparison of Distributed File Systems on 1Gbit networks
Performance comparison of Distributed File Systems on 1Gbit networks
 
3. distributed file system requirements
3. distributed file system requirements3. distributed file system requirements
3. distributed file system requirements
 
Recent advances in the Linux kernel resource management
Recent advances in the Linux kernel resource managementRecent advances in the Linux kernel resource management
Recent advances in the Linux kernel resource management
 
Oracle apps dba training dba technologies
Oracle apps dba training   dba technologiesOracle apps dba training   dba technologies
Oracle apps dba training dba technologies
 
Containers and Namespaces in the Linux Kernel
Containers and Namespaces in the Linux KernelContainers and Namespaces in the Linux Kernel
Containers and Namespaces in the Linux Kernel
 

Similar to Rear

Barcamp Gent 2: rsnapshot
Barcamp Gent 2: rsnapshotBarcamp Gent 2: rsnapshot
Barcamp Gent 2: rsnapshotPeter Dedecker
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File SystemNtu
 
SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience aniadkar
 
Introduction to hadoop and hdfs
Introduction to hadoop and hdfsIntroduction to hadoop and hdfs
Introduction to hadoop and hdfsshrey mehrotra
 
Hadoop training in bangalore-kellytechnologies
Hadoop training in bangalore-kellytechnologiesHadoop training in bangalore-kellytechnologies
Hadoop training in bangalore-kellytechnologiesappaji intelhunt
 
Clusters (Distributed computing)
Clusters (Distributed computing)Clusters (Distributed computing)
Clusters (Distributed computing)Sri Prasanna
 
Resume_AlicePancamo2016
Resume_AlicePancamo2016Resume_AlicePancamo2016
Resume_AlicePancamo2016Alice Pancamo
 
Linux26 New Features
Linux26 New FeaturesLinux26 New Features
Linux26 New Featuresguest491c69
 
quickguide-einnovator-10-redis-admin
quickguide-einnovator-10-redis-adminquickguide-einnovator-10-redis-admin
quickguide-einnovator-10-redis-adminjorgesimao71
 
Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1sprdd
 
Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1sprdd
 
07_DP_300T00A_HA_Disaster_Recovery.pptx
07_DP_300T00A_HA_Disaster_Recovery.pptx07_DP_300T00A_HA_Disaster_Recovery.pptx
07_DP_300T00A_HA_Disaster_Recovery.pptxKareemBullard1
 
Distributed Filesystems Review
Distributed Filesystems ReviewDistributed Filesystems Review
Distributed Filesystems ReviewSchubert Zhang
 
Red Hat Storage 2014 - Product(s) Overview
Red Hat Storage 2014 - Product(s) OverviewRed Hat Storage 2014 - Product(s) Overview
Red Hat Storage 2014 - Product(s) OverviewMarcel Hergaarden
 

Similar to Rear (20)

Hadoop
HadoopHadoop
Hadoop
 
Barcamp Gent 2: rsnapshot
Barcamp Gent 2: rsnapshotBarcamp Gent 2: rsnapshot
Barcamp Gent 2: rsnapshot
 
linux
linuxlinux
linux
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
 
SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience SUN Network File system - Design, Implementation and Experience
SUN Network File system - Design, Implementation and Experience
 
Introduction to hadoop and hdfs
Introduction to hadoop and hdfsIntroduction to hadoop and hdfs
Introduction to hadoop and hdfs
 
Hadoop training in bangalore-kellytechnologies
Hadoop training in bangalore-kellytechnologiesHadoop training in bangalore-kellytechnologies
Hadoop training in bangalore-kellytechnologies
 
Clusters (Distributed computing)
Clusters (Distributed computing)Clusters (Distributed computing)
Clusters (Distributed computing)
 
Resume_AlicePancamo2016
Resume_AlicePancamo2016Resume_AlicePancamo2016
Resume_AlicePancamo2016
 
Linux26 New Features
Linux26 New FeaturesLinux26 New Features
Linux26 New Features
 
Technical track 1: arcserve UDP deep dvie
Technical track 1: arcserve UDP deep dvieTechnical track 1: arcserve UDP deep dvie
Technical track 1: arcserve UDP deep dvie
 
Unit 1
Unit 1Unit 1
Unit 1
 
quickguide-einnovator-10-redis-admin
quickguide-einnovator-10-redis-adminquickguide-einnovator-10-redis-admin
quickguide-einnovator-10-redis-admin
 
Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1
 
Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1Wheeler w 0450_linux_file_systems1
Wheeler w 0450_linux_file_systems1
 
Nas101
Nas101Nas101
Nas101
 
07_DP_300T00A_HA_Disaster_Recovery.pptx
07_DP_300T00A_HA_Disaster_Recovery.pptx07_DP_300T00A_HA_Disaster_Recovery.pptx
07_DP_300T00A_HA_Disaster_Recovery.pptx
 
Hadoop -HDFS.ppt
Hadoop -HDFS.pptHadoop -HDFS.ppt
Hadoop -HDFS.ppt
 
Distributed Filesystems Review
Distributed Filesystems ReviewDistributed Filesystems Review
Distributed Filesystems Review
 
Red Hat Storage 2014 - Product(s) Overview
Red Hat Storage 2014 - Product(s) OverviewRed Hat Storage 2014 - Product(s) Overview
Red Hat Storage 2014 - Product(s) Overview
 

Rear

  • 1. ReaR AleksandarBilanovic LHS Telekommunikation
  • 2. What is ReaR  ReaR is a highly modular backup/recovery framework, used in case of disaster to restore GNU/Linux operating system on bare metal machine.  Basically ReaR is tar-gziping/ (slash) + stores metadata regarding file systems / LVM / boot loader / HW and SW RAID configuration, etc packed in initrd image along with system tools – altogether usedso that same FS layout / boot configuration can be recreated upon restore  Mature product - created as a spin-off of two existing projects: OpenVPN GW builder (Schapiro) and mkcdrec (D’haese)  Deutsche Qualität
  • 3. Why ReaR  Open source software written in shell using standard UNIX utils - can easily be modified to suit environment needs  Fast – both backup and restore operation  Online – no service interruption during backup  Space efficient – only effective data is being backed up  Can be easily modified for specific needs and extend with new features  Can restore to another (similar) hardware – hence system cloning is possible  Can also be used to manually restore individual files  Can backup / restore to different backend storage (TSM, NFS)
  • 4. Why not ReaR  Does not work for Linux systems older than ~ 10 years (<2.6)  Can work only if systems are on the same broadcast domain (on PXE based bare metal restore)  Can fail in heavily customized GNU/Linux installation
  • 5. Our modifications  Patched sshd.conf/passwd to permit remote root logins  Disk geometry fix patch  grub.conf fix patch  MAC addressed list also included in backup meta data  DHCP/manual IP address assignment during restore (restore in different network)
  • 6. Managing backups  There wasn’t free tool for managing backups – so we wrote our own:  rearadm – ruby scrip (easy to understand – clean code)  ~ 1000 lines (including integrated man pages)  archiving, versioning and deleting backups  creating, changing and deleting hosts  provisioning backups for restore procedure  cloning systems
  • 7. Demo  ReaR installation & configuration  creating backup  managing backup  archiving  provisioning backup for restore/cloning