[rear-users] How to config REAR with dual-OS boot and LTO-6 tape drive?

Johannes Meixner jsmeix at suse.de
Tue Jul 19 10:10:42 CEST 2016


first some generic basic information:

In general see

Additionally see

In particular how to try out rear, see
"First steps with Relax-and-Recover" at

Some generic information about backup and restore
of the files:

In general the backup and restore of the files
is external for rear.

I.e. neither backup nor restore of the files
is implemented in rear.

rear only calls an external tool that does the backup
and its counterpart to do the restore (by default
this is 'tar').

Currently rear can only call one single backup tool,
cf. https://github.com/rear/rear/issues/769

Therefore you need to use an appropriate backup and
restore tool that does what you need.

Regarding "counterpart to do the restore":

To be able to call the restore tool during "rear recover"
the restore tool and all what it needs to run (libraries,
config files, whatever else) must be included in the rear
recovery system where "rear recover" is run.

For several backup and restore tools/solutions
rear has already built-in functionality to get
the restore tool and all what it needs to run
in the rear recovery system.

Furthermore rear is not a backup management software
and it is not meant to be one.

Accordingly there is basically nothing in rear that deals
in any further way with what happens with the backups.

Below some specific hints inline:

On Jul 18 19:27 George Anchev wrote (excerpt):
> ... NTFS - Windows 7 ...
> ... ext4 - root partition for openSUSE Leap 42.1 ...
> *6. How will REAR restore such a system?*
> Will it recreate the EFI entries, all GPT partitions
> and Windows installation too?

"The limitation is what the special rear recovery system can do"

Currently rear supports those filesystems:
ext2, ext3, ext4, vfat, xfs, reiserfs, btrfs, see

If you know how to create NTFS filesystems and bootloader
with Linux tools so that it also works for Windows 7 and
if you know how to backup and restore the files of Windows 7
with Linux tools so that still works after restore,
then you could adapt and enhance rear to even recreate
a Windows 7 system.

> *7. Is there a safe way to test all this without damaging
> the system or files during restore?*

As son as you run "rear recover" on a machine it will
instantly overwrite anything on that machine.
In particular it runs "parted ... mklabel/mkpart", see

Basicallly "rear recover" is an installation from scratch
(reinstalling from scratch).

You must have replacement hardware available on which your
system can be recreated and you must try out if it works
to recreate your system with your recovery medium on your
replacement hardware.

Kind Regards
Johannes Meixner
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)

More information about the rear-users mailing list