Relax-and-Recover (ReaR) is used to recreate a destroyed system on compatible replacement hardware, see https://en.opensuse.org/SDB:Disaster_Recovery

Currently ReaR requires basically 100% compatible replacement hardware. In particular 100% same storage i.e. same number of disks with same size.

In practice exactly same disk size is only possible with virtual disks. Real hardware replacement disks vary in size: A bit smaller or much bigger. E.g. 1 TiB versus 1 TB or 1 TB original disk replaced by new 2 TB disk.

  • Currently ReaR supports only to adjust the size of the last partition.
  • Currently resizing other partitions is not properly supported.
  • Currently resizing nested strorage objects like LVM volumes is not supported.
  • Currently resizing nested storage objects must be done manually by editing exact byte values in disklayout.conf.

The same number of disks but with different size should be supported:

  • It should work to recreate on same number of disks but with different disk sizes.
  • In case of smaller size precondition is that the data that gets restored from the backup still fits inside same storage objects.

Moving data to different storage objects will not be supported. Changing storage objects (except the size) will not be supported.

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 20

Activity

  • 9 months ago: jsmeix started this project.
  • 9 months ago: jsmeix liked this project.
  • 9 months ago: jsmeix originated this project.

  • Comments

    • jsmeix
      9 months ago by jsmeix | Reply

      Implemented automated shrinking of LVs (if needed) during "rear recover" via https://github.com/rear/rear/pull/2591

    Similar Projects

    This project is one of its kind!