Linux ih01.iridiumhosting.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.216.226
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
doc /
user-guide /
Delete
Unzip
Name
Size
Permission
Date
Action
pictures
[ DIR ]
drwxr-xr-x
2026-04-01 09:39
00-relax-and-recover-user-guide.md
354
B
-rw-r--r--
2026-04-01 09:39
01-introduction.md
4.23
KB
-rw-r--r--
2026-04-01 09:39
02-getting-started.md
4.87
KB
-rw-r--r--
2026-04-01 09:39
03-configuration.md
8.09
KB
-rw-r--r--
2026-04-01 09:39
04-scenarios.md
55.4
KB
-rw-r--r--
2026-04-01 09:39
05-integration.md
4.08
KB
-rw-r--r--
2026-04-01 09:39
06-layout-configuration.md
33.13
KB
-rw-r--r--
2026-04-01 09:39
07-tips-and-tricks.md
1.8
KB
-rw-r--r--
2026-04-01 09:39
08-troubleshooting.md
5.3
KB
-rw-r--r--
2026-04-01 09:39
09-design-concepts.md
9.34
KB
-rw-r--r--
2026-04-01 09:39
10-integrating-external-backup.md
5
KB
-rw-r--r--
2026-04-01 09:39
11-multiple-backups.md
13.3
KB
-rw-r--r--
2026-04-01 09:39
12-BLOCKCLONE.md
30.25
KB
-rw-r--r--
2026-04-01 09:39
13-tcg-opal-support.md
15.12
KB
-rw-r--r--
2026-04-01 09:39
14-ZYPPER-and-YUM.md
12.32
KB
-rw-r--r--
2026-04-01 09:39
15-EFISTUB.md
12.43
KB
-rw-r--r--
2026-04-01 09:39
16-Rubrik-CDM.md
5.41
KB
-rw-r--r--
2026-04-01 09:39
17-Portable-Mode.md
2.4
KB
-rw-r--r--
2026-04-01 09:39
Makefile
438
B
-rw-r--r--
2026-04-01 09:39
Save
Rename
# Design concepts Schlomo Schapiro, Gratien D'haese, Dag Wieers ## The Workflow System Relax-and-Recover is built as a modular framework. A call of `rear <command>` will invoke the following general workflow: 1. *Configuration:* Collect system information to assemble a correct configuration (default, arch, OS, OS_ARCH, OS_VER, site, local). See the output of `rear dump` for an example. Read config files for the combination of system attributes. Always read 'default.conf' first and 'site.conf', 'local.conf' last. 2. Create work area in '/tmp/rear.$$/' and start logging to '/var/log/rear/rear-hostname.log' 3. Run the workflow script for the specified command: '/usr/share/rear/lib/<command>-workflow.sh' 4. Cleanup work area ## Workflow - Make Rescue Media The application will have the following general workflow which is represented by appropriately named scripts in various subdirectories: 1. *Prep:* Prepare the build area by copying a skeleton filesystem layout. This can also come from various sources (FS layout for arch, OS, OS_VER, Backup-SW, Output, ...) 2. *Analyse disklayout*: Analyse the system disklayout to create the '/var/lib/rear/layout/' data 3. *Analyse (Rescue):* Analyse the system to create the rescue system (network, binary dependencies, ...) 4. *Build:* Build the rescue image by copying together everything required 5. *Pack:* Package the kernel and initrd image together 6. *Backup:* (Optionally) run the backup software to create a current backup 7. *Output:* Copy / Install the rescue system (kernel`initrd`(optionally) backups) into the target environment (e.g. PXE boot, write on tape, write on CD/DVD) 8. *Cleanup:* Cleanup the build area from temporary files The configuration must define the `BACKUP` and `OUTPUT` methods. Valid choices are: |NAME | TYPE | Description | Implement in Phase |AVA | BACKUP | Dell EMC Avamar / EMC Avamar | done |BACULA | BACKUP | Bacula | done |BAREOS | BACKUP | Bareos | done |BLOCKCLONE | BACKUP | Block device cloning via dd | done |BORG | BACKUP | Borg Backup | done |CDM | BACKUP | Rubrik Cloud Data Management | done |DP | BACKUP | OpenText Data Protector | done |DUPLICITY | BACKUP | Duplicity / Duply | done |EXTERNAL | BACKUP | External custom restore method | done |FDRUPSTREAM | BACKUP | FDR/Upstream | done |GALAXY11 | BACKUP | Commvault Galaxy 11 / Commvault Simpana | done |NBKDC | BACKUP | NovaStor DataCenter | done |NBU | BACKUP | Veritas NetBackup / Symantec NetBackup | done |NETFS | BACKUP | ReaR built-in backup and restore via rsync or tar to a network file system or to a locally attached backup disk (USB, eSATA, ...)| done |NFS4SERVER | BACKUP | NFS4 server to push data to the rescue system| done |NSR | BACKUP | Dell EMC NetWorker / EMC NetWorker / Legato NetWorker| done |OBDR | BACKUP | One Button Disaster Recovery via tape | done |PPDM | BACKUP | Dell PowerProtect Data Manager | done |RBME | BACKUP | Rsync Backup Made Easy | done |REQUESTRESTORE| BACKUP| Request restore from a human operator | done |RSYNC | BACKUP | ReaR built-in backup using rsync via rsync or ssh protocol| done |SESAM | BACKUP | SEP Sesam | done |TSM | BACKUP | IBM Storage Protect / Tivoli Storage Manager / IBM Spectrum Protect| done |VEEAM | BACKUP | Veeam Backup | done | | | | |ISO | OUTPUT | Write result to ISO9660 image | done |OBDR | OUTPUT | Create OBDR Tape | done |PXE | OUTPUT | Create PXE bootable files on TFTP server | done |USB | OUTPUT | Create bootable USB device | done ## Workflow - Recovery The result of the analysis is written into configuration files under '/etc/rear/recovery/'. This directory is copied together with the other Relax-and-Recover directories onto the rescue system where the same framework runs a different workflow - the recovery workflow. The recovery workflow consists of these parts (identically named modules are indeed the same): 1. *Config:* By utilizing the same configuration module, the same configuration variable are available for the recovery, too. This makes writing pairs of backup/restore modules much easier. 2. *Verify:* Verify the integrity and sanity of the recovery data and check the hardware found to determine, whether a recovery will be likely to succeed. If not, then we abort the workflow so as not to touch the hard disks if we don't believe that we would manage to successfully recover the system on this hardware. 3. *Recreate:* Recreate the FS layout (partitioning, LVM, raid, filesystems, ...) and mount it under /mnt/local 4. *Restore:* Restore files and directories from the backup to '/mnt/local/'. This module is the analog to the Backup module 5. *Finalize:* Install boot loader, finalize system, dump recovery log onto '/var/log/rear/' in the recovered system. ## FS layout Relax-and-Recover tries to be as much LSB compliant as possible. Therefore ReaR will be installed into the usual locations: * /etc/rear/: Configurations * /usr/sbin/rear: Main program * /usr/share/rear/: Internal scripts * /tmp/rear.$$/: Build area ### Layout of /etc/rear * default.conf: Default configuration - will define EVERY variable with a sane default setting. Serves also as a reference for the available variables 'site.conf' site wide configuration (optional) * local.conf: local machine configuration (optional) * $(uname -s)-$(uname -i).conf: architecture specific configuration (optional) * $(uname -o).conf: OS system (e.g. GNU/Linux.conf) (optional) * $OS/$OS_VER.conf: OS and OS Version specific configuration (optional) * templates/: Directory to keep user-changeable templates for various files used or generated * templates/PXE_per_node_config: template for pxelinux.cfg per-node configurations * templates/CDROM_isolinux.cfg: isolinux.cfg template * templates/...: other templates as the need arises * recovery/...: Recovery information ### Layout of /usr/share/rear * skel/default/: default rescue FS skeleton * skel/$(uname -i)/: arch specific rescue FS skeleton (optional) * skel/$OS_$OS_VER/: OS-specific rescue FS skeleton (optional) * skel/$BACKUP/: Backup-SW specific rescue FS skeleton (optional) * skel/$OUTPUT/: Output-Method specific rescue FS skeleton (optional) * lib/*.sh: function definitions, split into files by their topic * prep/default/*.sh: * prep/$(uname -i)/*.sh: * prep/$OS_$OS_VER/*.sh: * prep/$BACKUP/*.sh: * prep/$OUTPUT/*.sh: Prep scripts. The scripts get merged from the applicable directories and executed in their alphabetical order. Naming conventions are: ###_name.sh where 000 < ### < 999 * layout/compare/default/: * layout/compare/$OS_$OS_VER/: Scripts to compare the saved layout (under /var/lib/rear/layout/) with the actual situation. This is used by workflow *rear checklayout* and may trigger a new run of *rear mkrescue* or *rear mkbackup* * layout/precompare/default/: * layout/precompare/$OS_$OS_VER/: * layout/prepare/default/: * layout/prepare/$OS_$OS_VER/: * layout/recreate/default/: * layout/recreate/$OS_$OS_VER/: * layout/save/default/: * layout/save/$OS_$OS_VER/: Scripts to capture the disk layout and write it into /var/lib/rear/layout/ directory * rescue/...: Analyse-Rescue scripts: ... * build/...: Build scripts: ... * pack/...: Pack scripts: ... * backup/$BACKUP/*.sh: Backup scripts: ... * output/$OUTPUT/*.sh: Output scripts: ... * verify/...: Verify the recovery data against the hardware found, whether we can successfully recover the system * recreate/...: Recreate file systems and their dependencies * restore/$BACKUP/...: Restore data from backup media * finalize/...: Finalization scripts ## Inter-module communication The various stages and modules communicate via standardized environment variables: |NAME |TYPE |Descriptions |Example |CONFIG_DIR |STRING (RO) |Configuration dir |'/etc/rear/' |SHARE_DIR |STRING (RO) |Shared data dir |'/usr/share/rear/' |BUILD_DIR |STRING (RO) |Build directory |'/tmp/rear.$$/' |ROOTFS_DIR |STRING (RO) |Root FS directory for rescue system |'/tmp/rear.$$/initrd/' |TARGET_FS_ROOT |STRING (RO) |Directory for restore |'/mnt/local' |PROGS |LIST |Program files to copy |`bash ip route grep ls` ... |MODULES |LIST |Modules to copy |`af_unix e1000 ide-cd` ... |COPY_AS_IS |LIST |Files (with path) to copy as-is |'/etc/localtime' ... |.... RO means that the framework manages this variable and modules and methods shouldn't change it.