Restor of OMV backup results in non bootable disk

  • Dear all,

    Dear auanasgheps ,


    I bought two identical SanDisk 128 GB SSD for my OVM system now. I wanted to use the OMV backup plugin to create a backup of SSD1 and to restore it on SSD2. I used the option fsarchiver because it was recommended in the following link. I wanted to see, if I can restore an existing backup to a blank new drive but the drive, I got was not able to boot-up the system. The BIOS did not recognize the device as bootable. (Hint: My Intel N100 system supports UEFI.)


    Link: [How-To] Restore OMV system backup made with openmediavault-backup plugin


    Some steps described in the descriptions are not valid in the current version of OMV 7 anymore. So, I slightly adapted my procedure as follows:


    Code

    Weniger anzeigen


    These are the steps I have done. No step caused any error message. I just wonder why I don't need to restore any data on partition sdX3.


    When I now reboot the system it does not start. Does anybody have any idea what went wrong?


    Thank you and regards,

    Mic.

  • If you are cloning drives, best to use clonezilla or dd. They will duplicate all partitions and data correctly.


    fsarchiver is more of a data backup than a drive clone process, requiring correct re-creation of the partitions with all the correct metadata flags on them, before data can be restored to them, which for simplicity and ease, would normally mean a clean install of at least debian server in the proper legacy or uefi mode that the initial install was done in.


    What is sdX3 listed as in lsblk or blkid? If it is swap, then no need to restore any files to it.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

  • I don't want to clone a disk. I want to restore a backup. I just used a 2nd SSD to not to damage my "original" system disk,

    I don't unterstand your question "What is sdX3 listed as in lsblk or blkid? If it is swap, then no need to restore any files to it." What do you mean. I cannot boot from the new disk so I cannot chaeck it.

  • You asked why you didn’t have to restore files to sdx3. I said if it is a swap partition you don’t. Thats all. You did not tell what it is, where it is, etc.


    Also your comment of wanting to make a backup form one to the other, you did not say you are trying to test resoreability. It read like you are trying to make a clone for the use of emergency replacement.


    Regarding the inability to boot from the 2nd drive I told you that fsarchiver is a file backup utility. It can backup and restore files, but it does not re-create the properties of the partition or the filesystem. For booting that is created during the os install process when grub is installed. If you want to restore a backup made with fsarchiver, you would, as I already said, need to at least have the partitions created and flagged correctly. The easiest way would be to do just a basic Debian server install on the 2nd drive. Then restore on top of that.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

    Edited 3 times, last by BernH ().

  • Also your comment of wanting to make a backup f form one to the other, you did not say you are trying to test resoreability. It read like you are trying to make a clone for the use of emergency replacement.

    Ah yes, yu are right. It is SWAP.


    Code
    NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
    sda           8:0    0 119,2G  0 disk
    ├─sda1        8:1    0   512M  0 part /boot/efi
    ├─sda2        8:2    0 117,8G  0 part /
    └─sda3        8:3    0   977M  0 part [SWAP]
  • Regarding the inability to boot from the 2nd drive I told you that fsarchiver is a file backup utility. It can backup and restore files, but it does not re-create the properties of the partition or the filesystem. For booting that is created during the os install process when grub is installed. If you want to restore a backup made with fsarchiver, you would, as I already said, need to at least have the partitions and created and flagged correctly. The easiest way would be to do just a basic Debian server install on the 2nd drive. Then restore on top of that.

    I used the OMV plugin for system backup. There is a fdisk file and a sfdisk file. How to use the files to restore a system?

    What is the aim of this OMV plugin if it is not made for restoring a system disk?

  • I used the OMV plugin for system backup. There is a fdisk file and a sfdisk file. How to use the files to restore a system?

    What is the aim of this OMV plugin if it is not made for restoring a system disk?

    I don’t use it so I can’t tell you. There are probably instruction in the omv or omv-extras wiki documentation.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

  • Hi Mic,


    Another user has reported that the steps needed changes for OMV7, and I made this changes a couple of weeks ago. Which steps are still not applicable?

    I will upgrade to OMV7 soon, that's why I don't have a direct feedback.

    OMV BUILD - MY NAS KILLER - OMV 7.x + omvextrasorg (updated automatically every week)

    NAS Specs: Core i3-8300 - ASRock H370M-ITX/ac - 16GB RAM - Sandisk Ultra Flair 32GB (OMV), 1TB NVME SSD (Docker Apps), 2x16TB HDDs w/ SnapRAID - Fractal Design Node 304 - Be quiet! Pure Power 11 350W


    My all-in-one SnapRAID script!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!