Skip to content

DesasterRecovery

Donald Buczek edited this page Feb 11, 2025 · 7 revisions

All steps as required:

  • Locate bootable Mariux64 USB-Sticks "wtf" and "bka" from 2.3.74, roll cabinet Buczek, top drawer
  • Locate EmergencyPasswords from safe in the administrative office
  • Prepare mariux64 system bka (router) connected to GNZ uplink.
    • Boot from USB stick "bka"
    • cd /root/mariuxinstaller
    • ./install_mariux64.sh sda bka
    • reboot
  • Prepare mariux64 system wtf (nameserver)
    • Boot from USB stick "wtf"
    • cd /root/mariuxinstaller
    • ./install_mariux64.sh sda wtf
    • reboot
    • mount /dev/sdc2 /mnt
    • mkdir -p /amd/wtf/1/package
    • cp -a /mnt/pkg_dns /amd/wtf/1/package/dns
    • cp -a /mnt/pkg_nis /amd/wtf/1/package/nis
    • cp -a /mnt/pkg_twiki /amd/wtf/1/package/twiki
  • Install other mariux64 systems with either usb stick + Backup recovery
    • See Restore with Proxmox below

Restore with Proxmox

  • Notes:
    • Due to the high number of snapshots, commands like mxproxmox client snapshot list may run into timeout. They may succeed if retried because of host block cache. Otherwise use more specific commands like mxproxmox client snapshot list host/prj_admin
    • The groups are named like out pbackup jobs, e.g. host/home_lehrach, host/pkg_nis, host/cfdl_imapsoool2

might run into timeouts

  • Use mxproxmox client snapshot list to find snapshot, e.g. mxproxmox client snapshot list host/prj_admin)
  • Use mxproxmox client restore to completely restore a snapshot to a given destiantion, e.g. mxproxmox client restore host/prj_admin/2025-02-03T20:37:30Z prj_admin.pxar /amd/afk/1/project/admin`
  • Use mxproxmox client catalog shell to browse a snapshot and restore files selectively, e.g. mxproxmox client catalog shell host/prj_admin/2025-02-03T20:37:30Z prj_admin.pxar