Disaster Recovery with AutoYaST together with a ReaR NETFS backup
rear-SUSE provides a script which
does the following:
- Run 'rear mkbackuponly' to store
a backup.tar.gz on a NFS server.
- Run AutoYaST clone_system.ycp to
make an autoinst.xml file.
- Make a bootable system recovery ISO image
which is based on an install medium, for
example a SUSE Linux Enterprise install DVD
plus autoinst.xml so that AutoYaST can
recover this particular system. In particular
a so called 'chroot script' is added to
autoinst.xml which is run by AutoYaST to
restore the backup from the NFS server.
A recovery medium which is made from the
ISO image would run AutoYaST with autoinst.xml
to recreate the basic system, in particular
the partitioning and mount points. Then
AutoYaST runs the 'chroot script' to fill in
the backup data into the recreated basic system
when the mount points of the recreated system
are still below '/mnt' and when the bootloader
is not yet installed. After the backup was
restored, AutoYaST does a chroot into '/mnt'
so that it is now in the recreated system and
installs the bootloader. Then the recreated
system boots forits very first time and AutoYaST
does the system configuration, in particular the
network configuration. Finally the configured
system moves forward to its final runlevel
so that all system services should then be
up and running again.
Currently rear-SUSE is a preliminary version
under development. This means there are both
missing features and bugs and it must be
tested in various different environments.
Some current restrictions and shortcomings:
Only a ReaR BACKUP_URI of the form
'nfs://host/path/file.tar.gz' is supported
and the backup file must be a tar.gz file
so that 'tar -xzf file.tar.gz' works.