paapereira.xyz

Create an usb recovery disk for booting b3 server

I can’t access my B3 Server and I don’t know why… :( I was away for a week and in between I couldn’t access my server.

Now, after locally rebooting it, still no joy…

I will show how to create an usb recovery disk to boot the B3 Server and how to backup your B3 storage to your local computer. After this you can do a full recovery, formating and reinstalling your B3 Server.

Creating the usb recovery disk

1sudo blkid
1sudo cfdisk /dev/sdc
1sudo mkfs.vfat /dev/sdc1
1zip b3-install-2.2.1.zip /media/usb_disk
1gedit /media/usb_disk/install/bubba.cfg

Boot the B3 Server into recovery

1ssh root@100.10.10.10

Mount the B3 root disk and the B3 storage disk

1mount /dev/sda1 /mnt
1ls /mnt
1vgscan
1vgchange -a y
1cd /
2umount /mnt
3mount /dev/bubba/storage /mnt/
1ls /mnt

Backup the content of the B3 Server disks

1ls /mnt
1cd /mnt
2scp -r b3userfolder/ localuser@100.10.10.22:/home/localuser/b3-bck
1scp -r */ localuser@100.10.10.22:/home/localuser/b3-bck

References:

#Linux #B3 Server