SuSE 15 SP3 BMR Restore and Disaster Recovery

by Ramses Soto-Navarro ramses@sotosystems.com, 8/16/2021


Overview
Rescue Boot
Rescue Network
Backup Rsync
Backup Squashfs
Recovery Format


Overview

Brief bulletpoints on BMR backup restore and disaster recovery for SuSE 15 SP3. The procedure is the same for the previous release SuSE 12 SP5. Audience is experienced Linux systems administrators.

Rescue Boot

Very brief steps for cold backup:

Boot to DVD, select More, Rescue.

vgscan
vgchange -ay
lvs
mkdir /mnt/root
mount /dev/vg1/lvroot /mnt/root
mount /dev/sda1 /mnt/root/boot

Rescue Network

dhcpd eth0

[Alternative] configure IP Address manually:

ip addr add 172.24.176.196/16 dev eth0
ip link set eth0 up
ip route add 172.24.1.1 dev eth0
ip route add default via 172.24.1.1
echo -ne "nameserver 172.24.1.1nsearch example.com" > /etc/resolv.conf

Backup Rsync

Brief steps for cold remote backup:

time rsync -auv . -e ssh user1@remotepc:/backup/suse153/

Backup Squashfs

Squashfs the entire system on remotepc then mount:

cd /backup/suse153/
mksquashfs . /backup/suse153.sqfs
mount /backup/suse153.sqfs /backup/rescue/

Recovery Format

Brief BMR format, restore, recovery.

* Create VM
* Boot to DVD in Rescue Mode.
* Format boot partition; fdisk /dev/sda
* Format logical volumes lvswap and lvroot; pvcreate, vgcreate, lvcreate
* mkswap -f /dev/vg1/lvswap; mkfs.ext4 /dev/vg1/lvroot; mkfs.ext4 /dev/sda1
* Mount boot and root; mount /dev/vg1/lvroot /mnt/root; mount /dev/sda1 /mnt/root/boot/
* Rsync restore: cd /mnt/root; rsync -au -e ssh remotepc:/backup/rescue/ .
* [Alternative] Make the pseudo directories:

cd /mnt/root
mkdir dev mnt proc run selinux srv sys tmp
chmod 1777 tmp

* Mount chroot:

cd /mnt/root
for a in dev sys proc; do mount -o bind /$a $a ; done
chroot . /bin/bash

* Mount new /boot UUID (edit the new UUID for boot):

ls -l /dev/disk/by-uuid | grep sda1 >> etc/fstab
vi etc/fstab

* Remove network persistent rules:

rm -f /etc/udev/rules.d/70-persistent-net.rules

* Verify GRUB device:

vi /boot/grub2/device.map

* Modify and initialize grub then rebuild ramdisk:

vi etc/defaults/grub
 #GRUB_CMDLINE_LINUX_DEFAULT="root=/dev/vg1/lvroot"
 GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/vg1/lvswap"
 GRUB_CMDLINE_LINUX"biosdevname=0 net.ifnames=0"

* Initialize GRUB and the ramdisk:

grub2-install /dev/sda
/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
dracut -o "dbus" -f

* Unmount, checkdisk and reboot:

cd
umount -a
fsck /dev/vg1/lvroot
reboot

The End.

  1. Lisa

    Wednesday, November 9, 2022 - 03:30:29

    https://www.air-jordansneakers.us/
    https://www.vanscom.us.com/
    https://www.jordans-4.us/
    https://www.nikeshoes-cheap.us.com/
    https://www.pandorajewelryofficialsite.us.com/
    https://www.pandorasjewelry.us.com/
    https://www.air-jordan4.us.com/
    https://www.nikeshoesforwomens.us.com/
    https://www.nike–shoes.us.com/
    https://www.airjordan1s.us.org/
    https://www.lebron-shoes.us.com/
    https://www.airmax-95.us.com/
    https://www.air-jordan1s.us.com/
    https://www.jordansshoesforsale.us.com/
    https://

  2. Joseph

    Wednesday, November 9, 2022 - 08:42:01

    https://www.shoesyeezy.us.com/
    https://www.pandorascharm.us.com/
    https://www.cheapnikesshoes.us.com/
    https://www.nikeair-max270.us/
    https://www.jordan3.us.com/
    https://www.nikeairmax720.us.com/
    https://www.adidas-nmds.us.org/
    https://www.airjordan14.us.com/
    https://www.lebron-jamesshoes.us.org/
    https://www.christianslouboutin.us.com/
    https://www.air-jordansretro.us.com/
    https://www.yeezysboosts.us.com/
    https://www.christianlouboutins.uk.com/
    https://www.nike-runningshoes.us/
    https:/

  3. Santos

    Thursday, November 10, 2022 - 22:30:53

    https://www.adidasyeezys.us.com/
    https://pandorabracelets-charms.us.com/
    https://www.outletadidasshoes.us.com/
    https://www.nike-onlinecanada.ca/
    https://www.ultraboost.uk.com/
    https://www.nikesoutlets.us.com/
    https://www.nikesrunningshoes.us.com/
    https://www.adidasyeezyofficialwebsite.us.com/
    https://www.nikeclearancestores.us.com/
    https://www.nikepresto.us.org/
    https://www.newadidasshoes.us.com/
    https://www.trainersstore.uk.com/
    https://www.yeezyshoesadidas.us.com/
    https://www.nikec

  4. Katina

    Sunday, November 13, 2022 - 13:30:47

    https://www.fjallraven-kanken.us.com/
    https://www.air-jordans11.us.com/
    https://www.jordan-retro1.us.com/
    https://www.retro-jordans.us/
    https://www.airjordan3s.us/
    https://www.asics-running-shoes.us.com/
    https://www.air-jordansneakers.us/
    https://www.jordans11.us.com/
    https://www.jordan13s.us/
    https://www.jordans1.us.com/
    https://www.jordan5.us.com/
    https://www.nikeairmax-shoes.us.com/
    https://www.retrosairjordan.us/
    https://www.nike–shoes.us.com/
    https://www.pandoraringssite.us/

  5. Joseph

    Tuesday, November 15, 2022 - 13:39:25

    https://www.louboutinshoess.us/
    https://www.nikeshoesclearance.us.com/
    https://www.lebron16shoes.us/
    https://www.nikes-sneakers.us.com/
    https://www.uncjordan1.us.com/
    https://www.shoes-yeezy.us.com/
    https://www.nikestores.us.org/
    https://www.nikeair-jordan.us.com/
    https://www.cheapnikesshoes.us.com/
    https://www.nikefreerun.us.org/
    https://www.nikefactorystoreonline.us.com/
    https://www.airforce-1.us.org/
    https://www.nikeoutlet-factory.us.com/
    https://www.jordanaj1.us.com/
    https://www

  6. Katherine

    Wednesday, November 16, 2022 - 01:39:28

    https://www.asicsrunningshoess.us.com/
    https://www.airmax270.us.com/
    https://www.nikeshoeswomen.us.com/
    https://www.wholesalejordanshoes.us.org/
    https://www.nikeairjordan1.us.com/
    https://www.jordan1low.us.com/
    https://www.pandora-jewelryoutlets.us.com/
    https://www.pandorasjewelrys.us.com/
    https://www.trainersshop.uk.com/
    https://www.pandoraoutletjewelry.us.com/
    https://www.jordanretro1.us.com/
    https://www.adidasshoeswomen.us.com/
    https://www.pandorajewelrybracelets.us.com/
    https://w

  7. Katherine

    Wednesday, November 16, 2022 - 14:23:23

    https://www.basketballjerseyswholesale.us.com/
    https://www.cheaphockeyjerseys.us.com/
    https://www.jerseyswholesaleforcheap.us.com/
    https://www.nhljerseyscheapwholesale.us.com/
    https://www.cheapwholesalejerseys.com.co/
    https://www.nhlhockeyjerseyswholesale.us.com/
    https://www.footballstoreonlineshopping.us.com/
    https://www.nflfanshop.us.com/
    https://www.nbastores.com.co/
    https://www.officialmlbstore.us.com/
    https://www.nbajerseysnew.us.com/
    https://www.cheap-nfljerseys.com.co/
    https://

  8. Webb

    Wednesday, November 16, 2022 - 16:54:40

    https://www.adidassuperstars.us.com/
    https://www.adidascom.us.com/
    https://www.adidasultraboost.shop/
    https://www.pandoras.uk.com/
    https://www.newtrainers.uk.com/
    https://www.yeezyshoesstore.ca/
    https://www.outletadidasshoes.us.com/
    https://www.adidasshoesonline.us.com/
    https://www.nikeoutletstores.us.com/
    https://www.nikeoutletstore.ca/
    https://www.pandorasjewelry.uk.com/
    https://www.adidas-superstars.us.com/
    https://www.nmd.uk.com/
    https://www.nmdsadidas.us.com/
    https://www.yeezys

  9. Sarah

    Saturday, November 19, 2022 - 02:39:15

    https://www.huarachesnike.us.com/
    https://www.nikesfactory.us.com/
    https://www.jordan1lows.us.com/
    https://www.jordan12retro.us.com/
    https://www.jordan11red.us.com/
    https://www.yeezys-shoes.us.org/
    https://www.jordans4retro.us/
    https://www.nikeshoesoutletfactory.us.com/
    https://www.jordan-shoesformen.us.com/
    https://www.jordan11ssneakers.us/
    https://www.air-jordan6.us.com/
    https://www.redbottomslouboutin.us.org/
    https://www.valentinosshoes.us.org/
    https://www.adidasyeezysneakers.us.c

  10. Janes

    Tuesday, November 22, 2022 - 12:37:42

    https://www.nike-onlinecanada.ca/
    https://www.adidasshoesonline.us.com/
    https://www.nikeair-force1.us.com/
    https://www.adidass.us.com/
    https://www.nikeoutletstores.us.com/
    https://pandorabracelets-charms.us.com/
    https://www.nike-rosherun.us.com/
    https://www.nmdsadidas.us.com/
    https://www.nikesrunningshoes.us.com/
    https://www.pandoracharmsbracelet.us.com/
    https://www.adidascom.us.com/
    https://www.yeezyshoesadidas.us.com/
    https://www.adidasyeezyofficialwebsite.us.com/
    https://www.airfo

  11. Maria

    Wednesday, November 23, 2022 - 03:54:06

    https://www.cheapjerseysfromchinawholesale.com.co/
    https://www.footballstore.us.com/
    https://www.officialfootballjerseys.us.com/
    https://www.officialbaseballjerseys.us.com/
    https://www.mlbshops.com.co/
    https://www.nhlhockeyjerseyswholesale.us.com/
    https://www.footballstores.us.com/
    https://www.footballproshop.us.com/
    https://www.nflfanshop.us.com/
    https://www.nflstoreonlineshopping.us/
    https://www.nflfootballjerseysnew.us.com/
    https://www.nflgearuniforms.us/
    https://www.wholesalefootb

  12. Phyllis

    Wednesday, November 23, 2022 - 14:48:02

    https://www.pandoraringsjewelry.us.com/
    https://www.adidasshoescheap.us.com/
    https://www.pandorajewelry-officialsites.us/
    https://www.nikecom.ca/
    https://www.pandoras-charms.us.com/
    https://www.pandorashops.us.com/
    https://www.officialpandorajewelry.ca/
    https://www.nikecanadaonlines.ca/
    https://www.nmd.us.com/
    https://www.newshoes2021.us/
    https://www.jordan1retro.us.com/
    https://www.nikeshoesnew.us.com/
    https://www.pandorabraceletscharms.us.com/
    https://www.shoesferragamo.us.com/
    ht

  13. Sarah

    Wednesday, November 23, 2022 - 17:08:41

    https://www.nflshoponline.ca/
    https://www.toddlerbabyinfantjordans.us/
    https://www.pandoraoutletsjewelry.us.com/
    https://www.pandorajewelryofficialsites.us/
    https://www.pandorajewelryblackfriday.us.com/
    https://www.jordan11lowretro.us/
    https://www.nikeshoesstores.us.com/
    https://www.adidasyeezywebsite.us.org/
    https://www.airmax720.us.org/
    https://www.cheapjordanswholesalefreeshipping.us/
    https://www.nikewholesalesuppliers.us.com/
    https://www.airforce1s.us.org/
    https://www.jordan35.us/

  14. Nicholas

    Sunday, November 27, 2022 - 13:03:24

    https://www.jordansshoesformen.us.com/
    https://www.pandora-jewelryrings.us/
    https://www.nikereactuptempo.us.com/
    https://www.jordan3.us.com/
    https://www.kevin-durantsshoes.us.com/
    https://www.nikebasketball-shoes.us.com/
    https://www.nikeoutletonline-store.us.com/
    https://www.nikefactorystoreonline.us.com/
    https://www.nikeoutletstoreclearance.us.com/
    https://www.airjordan1mid.us.com/
    https://www.cheapnikesshoes.us.com/
    https://www.nikeshoesfactorystore.us.com/
    https://www.christianloub

  15. Tim

    Monday, November 28, 2022 - 23:18:28

    https://www.adidassuperstars.us.com/
    https://www.nikeair-force1.us.com/
    https://www.adidasyeezys.us.com/
    https://www.yeezycanadastore.ca/
    https://www.nikeshoesoutlets.us.com/
    https://www.adidasoutletstores.us.com/
    https://www.trainersoutlet.uk.com/
    https://www.trainersstore.uk.com/
    https://www.officialyeezywebsite.us.com/
    https://www.nikeoutletsonline.us.com/
    https://www.adidasshoesonline.us.com/
    https://www.ultraboost.uk.com/
    https://www.nikeshoesshop.ca/
    https://www.pandorajewelryu

  16. Darleen

    Wednesday, November 30, 2022 - 03:57:31

    https://www.nfl-shop.com.co/
    https://www.jerseyswholesaleforcheap.us.com/
    https://www.nfljerseysofficialshop.us/
    https://www.nflgear.com.co/
    https://www.nflfanshop.us.com/
    https://www.nflstores.com.co/
    https://www.nflgearuniforms.us/
    https://www.footballstoreonlineshopping.us.com/
    https://www.wholesalefootballjerseyscheap.us.com/
    https://www.nbastores.com.co/
    https://www.basketballapparel.us/
    https://www.cheapnfljerseysfromchina.com.co/
    https://www.footballstores.us.com/
    https://www.

  17. Katina

    Wednesday, November 30, 2022 - 13:44:07

    https://www.yeezys-shoes.us.com/
    https://www.goldensgoose.us.com/
    https://www.yeezys.com.co/
    https://www.airjordansnew.us.com/
    https://www.nikeairmax-shoes.us.com/
    https://www.air-jordansneakers.us/
    https://www.jordanscheapshoes.us/
    https://www.yeezyonline.us.com/
    https://www.airjordanshoess.us.com/
    https://www.airmax-95.us.com/
    https://www.air-jordan6.us.com/
    https://www.monclervest.us.com/
    https://www.adidasyeezysneakers.us.com/
    https://www.louboutinshoesheels.us.com/
    https://www.

  18. Holder

    Thursday, December 1, 2022 - 09:05:13

    https://www.nikesairjordans.us.com/
    https://www.jewelryspandora.us/
    https://www.pandorajewelrywebsite.us.com/
    https://www.jordanones.us/
    https://www.pandorastores.us.com/
    https://www.pandorasjewelrycharms.us.com/
    https://www.cheapjordanshoeswholesale.us/
    https://www.nike–shoes.ca/
    https://www.pandorasjewelrysite.us.com/
    https://www.cheapmoncler.us.com/
    https://www.pandoraoutlet-charms.us.com/
    https://www.pandoras-outlet.us.com/
    https://www.shoesasicsoutlet.us.com/
    https://www.nikeai

Add comment

Fill out the form below to add your own comments

User data





Add your comment