I made a DD backup of my system running on a usb stick using the Openmediavault-Backup plugin.
Unfortunately I fail to restore the created backup to a second usb stick.
Similar to this this thread I successfully created and restored backups of the entire block device using the following method.
dd if=/dev/sdb of=/mnt/backupcopy.iso bs=4MB
dd if=/mnt/backupcopy.iso of=/dev/sdc bs=4MB
From what I understand the mbr and partition table are stored in the .grubparts backup file and can be restored with
dd if=backup-omv-09-Aug-2019_15-46-32.grubparts of=/dev/sdg bs=512 count=1
creating the mbr and partition table.
After running the above command, sudo fdisk -l /dev/sdg displays the following output:
Which is different from my original system drive:
I tried to restore the system backup using
gunzip -c backup-omv-09-Aug-2019_15-46-32.dd.gz | sudo dd of=dev/sdg1 bs=1M
which crashes with the error
dd: failed to open 'dev/sdg1': No such file or directory
I would be grateful for any advice on how to restore the backup properly
I am using OMV4.
Editing the thread label and tags results in the following error:
The server encountered an unresolvable problem, please try again later.
Exception ID: 93d04f09014b98263e88391a166c94ddd535d4c7