-
Notifications
You must be signed in to change notification settings - Fork 0
DesasterRecovery
Donald Buczek edited this page Feb 12, 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"
- umount data0 from the internal disk is mounted by mxstartup
umount /amd/wtf/0
cd /root/mariuxinstaller
./install_mariux64.sh sda bka
reboot
- If new hardware:
- Fix netXX interface assignments.
- bka host interface should be net00
- mxrouter interface to vlans should be net03
vi /etc/local/mxnet
- mxrouter expects
net02
for the link to wtf for openvpn vlan client traffic. If not available, remove from/etc/local/mxrrouter/MXR.cf.pl
- Fix netXX interface assignments.
- Prepare mariux64 system wtf (nameserver)
- Boot from USB stick "wtf"
- umount data0 from the internal disk is mounted by mxstartup
umount /amd/wtf/0
cd /root/mariuxinstaller
./install_mariux64.sh sda wtf
reboot
- If new hardware:
- Fix netXX interface assignments
- wtf host interface should be net03
vi /etc/local/mxnet
- Fix netXX interface assignments
- If needed:
- Create data1 partition :
mkfs.xfs -L data1 /dev/sdb && mxmount
- copy basic packages from usb stickt:
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
- Create data1 partition :
- Install other mariux64 systems with either usb stick + Backup recovery
- See Restore with Proxmox below
- 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 likemxproxmox 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
- Due to the high number of snapshots, commands like
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