Best backup solution for OMV 4?

    • OMV 4.x
    • Best backup solution for OMV 4?

      What is the best backup (docker or plugin) I can use to achieve a full image backup/snapshot of my OMV install? Which one do you feel is easiest to use? My plan is to get OMV4 installed and in a stable state with plex, hanbrake, SMB share, shellinabox, etc..plus whatever backup solution I end up going with....and then immediately back it all up so that I can recover perfectly to that state if/WHEN things go sideways with docker/plugins. Ideally, I would like the program to just create a backup in the form of an .iso file that I can access over a SMB share, then burn that to a USB drive using Rufus or whatever. That way I can just throw that USB on my OMV server and have it flash/revert my OS drive to the backup, without having to go through the process of reinstalling OMV, then omvextras, then docker, etc etc. Or if there is a different, but still easy, stable, reliable way of accomplishing this, I'm all ears. What are your preferences for backing up OMV?

      TL;DR:
      • Need full image backup solution (.ISO, etc) so I can completely recover my OMV without having to go THROUGH OMV itself to backup (in case it breaks and I can no longer access OMV or it's backup plugin)... but open to all suggestions
      • Turn key, quick, and easy to use/reliable are huge pluses! I'm NOT an avid Linux user at all, CLI is still very new to me


      My Setup:
      • OMV 4
      • AMD 8350 8 Core Processor
      • 32GB DDR3 Ram
      HDD's:
      • 128GB SSD - OS Drive
      • 3x 10TB Ironwolf Raid 5 (Or ZFS pool? Whatever OMV 4 does...)
    • I run an automated daily backup script that uses dd to write an image file of the OMV system drive.

      My 16GB OMV system drive takes only eight minutes to backup. As you have a 128GB OS drive, this will take much longer, and if you keep multiple copies of the backup (I keep seven), they will consume a fair amount of space.
      OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380
    • lama wrote:

      8 min for 16 GB sounds super slow. About 30 mb/s. Omv install on flash drive?
      Using dd on a live install might produce invalid filesystem, one would suspect.

      I think there is a plug in to make snapshot of all the omv files for restore on new install.
      OMV is installed on a 16GB 2.5 in SSD housed in an USB enclosure. The speed doesn't matter as it is automated and runs daily unattended.

      This has been tested repeatedly and continuously, verified to work for me without any problems for years, and isn't based on speculation. I wouldn't have suggested it if it was otherwise. But YMMV.
      OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380
    • Hi everyone.
      I've just set up my custom OMV on x64 Intel with SSD as a system drive and 2* 3TB HDDs.
      Before proceeding to further "tweaks" and adjustments, I want to have a backup clone/copy/backup of my system.

      I've search through documentation and several forum threads.
      I've already read these topics:
      Configuration Backup
      Headless Backup of the System Drive with Clonezilla



      BUT

      There's also a plugin "openmediavault-backup 4.0.2".

      So, my question is like follows: in backup tab, I have chosen "dd" method (see 1st screenshot), which gave me result like below.
      After that, I have 6 files in backup directory (2nd screenshot).

      With these, am I good to go with system backup?
      Is this plugin working correctly and how to restore this backup in case of sh...emergency?
      And why most of you advise using clonezilla instead?

      Shell-Script

      1. Method: dd
      2. Device file: /dev/sda1
      3. Root drive: /dev/sda
      4. 1+0 records in
      5. 1+0 records out
      6. 446 bytes copied, 5.6268e-05 s, 7.9 MB/s
      7. 1+0 records in
      8. 1+0 records out
      9. 512 bytes copied, 5.1639e-05 s, 9.9 MB/s
      10. Using dd...
      11. 150994944 bytes (151 MB, 144 MiB) copied, 1.04085 s, 145 MB/s [..] 49796874240 bytes (50 GB, 46 GiB) copied, 324.002 s, 154 MB/s
      12. 47557+0 records in
      13. 47557+0 records out
      14. 49867128832 bytes (50 GB, 46 GiB) copied, 324.321 s, 154 MB/s
      15. Purging old files...
      16. Purging done.
      Display All
      Images
      • Screenshot_2018-08-16 openmediavault control panel - OpenMediaVault workxit.png

        15.54 kB, 613×418, viewed 109 times
      • dd_backup.png

        8.93 kB, 664×174, viewed 89 times
    • raven66 wrote:

      With these, am I good to go with system backup?
      Yes.

      raven66 wrote:

      Is this plugin working correctly and how to restore this backup in case of sh...emergency?
      Yes it is working correctly. How to restore from an omv-backup?

      raven66 wrote:

      And why most of you advise using clonezilla instead?
      Because it is easier.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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:


      raven66 wrote:

      And why most of you advise using clonezilla instead?
      Because it is easier.
      Thank you for clarification.
      So, basically, if I boot my machine with Clonezilla Live USB and make an image of disk, then everything I have to do, is restore img to sda, right?
      This is what you mean by "easier"?

      Second question: in Linux Mint, which I use on my laptop, there's a Timeshift software, which is apparently GUI for rsync.
      With Timeshift, AFAIU my laptop create "restore points" in some intervals, which I can restore to earlier "snapshot" in case something goes awry.
      So, correct me if I'm wrong, but I believe I can do the same in OMV by creating cronjobs with proper rsync command(s), si?
    • raven66 wrote:

      So, basically, if I boot my machine with Clonezilla Live USB and make an image of disk, then everything I have to do, is restore img to sda, right?
      This is what you mean by "easier"?
      Yes

      raven66 wrote:

      So, correct me if I'm wrong, but I believe I can do the same in OMV by creating cronjobs with proper rsync command(s), si?
      Somewhat. Timeshift is taking snapshots of data files and those can easily be written over. Restoring OS files is not the same since you don't always want to write over files you are using - specifically binary files and log files. So, to restore the os, you should not be running the system on the OS you are trying to restore.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      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!
    • Users Online 2

      2 Guests