How to restore from an omv-backup?

    • OMV 3.x
    • Resolved
    • Upgrade 3.x -> 4.x
    • PEW wrote:

      do you have to do the dd to restore grub on the new disk that you are restoring?
      If it is a new disk, it wouldn't have grub on it. So, yes, you would have to restore grub. BUT you are talking about a helios which does not use grub.

      PEW wrote:

      My thought would be

      1. Write helios 4 armbian to sdcard
      2. Restore fsarchiver to new disk partition

      or

      1. Partition new sd card to what you have before
      2. dd grubparts
      3. fsarchiver to new sdcard partition
      The first option would work the best.
      omv 5.1.2 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.1.7
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Hallo OMV,
      wo ist der unterschied zwischen dd und fsarchiver Methode?
      Ich verstehe den unterschied nicht ganz.
      dd - use dd to clone the entire drive to a compressed image file.
      fsarchiver - use fsarchiver to clone all partitions to an archive file

      Wie wird genau die rsync Methode verwendet / eingesetzt?

      Was ist besser, was wird empfohlen?

      Vielen Dank!
      | OMV 4.1.26-1 Arrakis | RockPro64 4GB | Debian GNU/Linux 9 (stretch) | ARMv8 Processor rev 4 (v8l) | Linux 4.4.190-1233-rockchip-ayufan-gd3f1be0ed310 |
    • M0rpheus wrote:

      Hallo OMV,
      wo ist der unterschied zwischen dd und fsarchiver Methode?
      Ich verstehe den unterschied nicht ganz.
      dd - use dd to clone the entire drive to a compressed image file.
      fsarchiver - use fsarchiver to clone all partitions to an archive file

      Wie wird genau die rsync Methode verwendet / eingesetzt?

      Was ist besser, was wird empfohlen?

      Vielen Dank!
      dd does not clone the entire drive. It clones the entire OS partition (and potentially a boot partition) including sectors that don't have information on them. This takes longer. It also can't restore to a smaller partition than it cloned from.
      fsarchiver clones the same thing as dd does but it only clones the files saving a lot of time and allowing (to some extent) to restore to a small partition.
      rsync just rsyncs the OS files to another directory on a data drive.

      Which one is the best? No one can tell you that. What ever works for you. rsync only allows one backup. The other two allow multiple backups. Personally I use fsarchiver.
      omv 5.1.2 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.1.7
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      Which one is the best? No one can tell you that. What ever works for you. rsync only allows one backup. The other two allow multiple backups. Personally I use fsarchiver.
      Sehr Hilfreich, ich habe bisher dd benutzt, ich werde es demnächst mit fsarchiver ausprobieren.

      Gibt es eventuell eine Lösung das man Komplett das ganze img Sichern kann und bei Ausfall des Systems einfach nur das "gesicherte / Backup image" wiederherstellen braucht. (Natürlich außer "Win32DiskImager" etc. wo man z.B. dei sd/emmc Karte ausbauen muss?)

      Vielen Dank für die Erklärung der Funktionen.
      | OMV 4.1.26-1 Arrakis | RockPro64 4GB | Debian GNU/Linux 9 (stretch) | ARMv8 Processor rev 4 (v8l) | Linux 4.4.190-1233-rockchip-ayufan-gd3f1be0ed310 |
    • M0rpheus wrote:

      It is perhaps a solution that you can completely backup the whole and in the case of failure of the system just restore the "backed up / backup image" needs.
      The backup plugin won't backup a data partition if you are using one on the OS drive but it does backup enough to do a restore - forum.openmediavault.org/index…kup-plugin-to-system-SSD/
      omv 5.1.2 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.1.7
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Hi

      I have the problem that I doesnt install OMV Backup properly why I cant boot from grub because I already set up a fresh OMV installation.

      My thinking was to boot rescuebootcd on my Windows machine and restore to the system mSD card. But I cannot mount the backup usb stick ore the system mSD. For info: the rescueboot live system and the backup USB stick are connected via a USB Hub. The system mSD is connecdted directly in a integrated card reader.

      Overview aqbout the drives:
      [======DISK======] [=============NAME==============] [====SIZE====] [MAJ] [MIN]
      [sda ] [SAMSUNG MZMTE128 ] [ 119.24 GB] [ 8] [ 0]
      [sdb ] [USB3.0 CRW -SD ] [ 14.91 GB] [ 8] [ 16]
      [sdc ] [Basic Line ] [ 3.73 GB] [ 8] [ 32]
      [sdd ] [Cruzer Blade ] [ 29.82 GB] [ 8] [ 48]

      sdc - place of backups,
      sdb - place of omv system

      When i try to mount like ryecoaaron say I get follwoing reply:

      [root@sysresccd ~]# mount /dev/sdc /mnt/Backup_OMV/backup
      mount: /mnt/Backup_OMV/backup: mount point does not exist.

      I hope someone can help me. Thanks.
    • KiTu wrote:

      When i try to mount like ryecoaaron say I get follwoing reply:

      [root@sysresccd ~]# mount /dev/sdc /mnt/Backup_OMV/backup
      mount: /mnt/Backup_OMV/backup: mount point does not exist.

      I hope someone can help me. Thanks.
      You need to create the directory - mkdir -p /mnt/Backup_OMV/backup
      omv 5.1.2 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.1.7
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:


      You need to create the directory - mkdir -p /mnt/Backup_OMV/backup
      Ok similar issue. I have a dual boot Linux with Mint. The fsa backups are at /Downloads/omvbackup. The root directory for OMV is sdc7 on a SD card in a USB reader attached.
      I made the directory mnt/Backup_OMV/backup but how do I mount to? I ran through several combos with no luck.

      Secondly is a there process to restore OMV to blank SD card rather than having to reinstall OMV by way of the plug in?
    • Nope and I have run it a lot. I would probably exclude the /var/lib/docker/overlay2 directory from the backup anyway. Did you fill the filesystem that it is backing up to? Did fsarchiver segfault? Look in dmesg.
      omv 5.1.2 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.1.7
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • hi @ryecoaaron , I can not understand the dmesg:

      Source Code

      1. root@openmediavault:~# dmesg -wH
      2. [Nov18 05:38] mei_me 0000:00:16.0: less data available than length=00000000.
      3. [ +1.002328] mei_me 0000:00:16.0: less data available than length=00000000.
      4. [ +4.014109] mei_me 0000:00:16.0: less data available than length=00000001.
      5. [ +10.034079] mei_me 0000:00:16.0: less data available than length=00000001.
      6. [Nov18 05:39] mei_me 0000:00:16.0: less data available than length=00000000.
      7. [ +15.051347] mei_me 0000:00:16.0: less data available than length=00000001.
      8. [ +12.043537] mei_me 0000:00:16.0: less data available than length=00000001.
      9. [ +16.052127] mei_me 0000:00:16.0: less data available than length=00000001.
      10. [Nov18 05:40] mei_me 0000:00:16.0: less data available than length=00000001.
      11. [ +16.054965] mei_me 0000:00:16.0: less data available than length=00000000.
      12. [ +1.003359] mei_me 0000:00:16.0: less data available than length=00000001.
      13. [ +12.043773] mei_me 0000:00:16.0: less data available than length=00000001.
      14. [ +14.047032] mei_me 0000:00:16.0: less data available than length=00000001.
      15. [Nov18 05:41] mei_me 0000:00:16.0: less data available than length=00000000.
      16. [ +16.052694] mei_me 0000:00:16.0: less data available than length=00000000.
      17. [ +3.011356] mei_me 0000:00:16.0: less data available than length=00000000.
      18. [ +9.029815] mei_me 0000:00:16.0: less data available than length=00000001.
      19. [...] (so long)
      Display All
      Where can I find the log file of fsarchiver? maybe the backup is right and it's just a graphic bug

      to complete these are my parameters:


      The shared folder has all the rights in reading and writing, no smb share and nothing else in

      The post was edited 1 time, last by Mara ().