Backup the OS

  • Is there a step by step guide to


    Backup the OMV drive (mines sata), like a usb to clone to another drive

    Its seems the addons should all work from 6-7?


    Just want it so if anything doesnt work, its a case of revert back quickly

    • Official Post

    I moved this to a new thread since it wasn't relevant to kvm backup.


    Is there a step by step guide to


    Backup the OMV drive (mines sata), like a usb to clone to another drive

    There are many different ways to do this. The best is to use clonezilla. You could also use the backup plugin or omv-regen.


    Reverting quickly is not as easy. I would recommend testing in a VM with snapshots if you want to test.

    omv 7.4.8-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.5 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • So clonzilla seems easy option to create a image to a external hdd, surely then if the upgrade goes wrong its quick to just restore image to hdd, by quick I mean its a few clicks

    If I create the backup with clonezilla etc, how do I import the drive into KVM?

  • So I tried clonezilla to create image of disk, which completed ok, but then when it verify`s the image i get this




    anyways I extracted the gzip to get the images then converted the imagaes to qcow2, then mounted them in a VM but this wouldnt boot

  • Hi,


    I would go this way:

    - make a image of the *complete* hdd, not partition!

    - create a VM with the same disksize as the one where you created a backup

    - start the VM with a clonezilla iso

    - do a restore from the image to the VM disk


    From my perspective the VM should boot the OMV

  • Yeah I did the image of the complete disk, which gave me 1 image folder, with loads of files, 5 are the names of the partitions like sde1.gzip


    Cheers never thought of restoring the clone on a VM


    I just didnt get why clonezilla on verifying the images it always fails

    • Official Post

    So i got it to restore the image to all partitions but get this error after reboot

    It's not an error, it's just the bios shell.

    Run

    exit

    to enter the bios menu and configure it.

  • So I have the VM that can boot but when I try to upgrade it shows this

    Upgrading system to 7.0 (Sandworm) ...

    This system is running a desktop environment! This setup is not supported.

    How can I remove the desktop environment that was installed

    • Official Post

    Is there a step by step guide to


    Backup the OMV drive (mines sata), like a usb to clone to another drive

    Its seems the addons should all work from 6-7?


    Just want it so if anything doesnt work, its a case of revert back quickly

    If you're willing to boot from a thumbdrive, OS backup can be dirt simple. A thumbdrive is easy to clone and the clone is easy to test, before you'll need it. Restoration is a matter of minutes.


    -> OS Backup

  • apt remove gdm3 sddm lxdm xdm lightdm slim wdm

    dpkg -l | grep -Ew "gdm3|sddm|lxdm|xdm|lightdm|slim|wdm"

    purged what was left

    and OMV7 is installing

    Please note that the Software RAID management has x

    x been removed from the core system. Please install x

    x the openmediavault-md plugin if necessary.


    Once the MD is added will the drives continue to work with all data and shares on them?



    OMV7 boots then says apply changes, but get this error, I know theres no drives on the VM so is that why?

    The following modules will be updated:

    • apt
    • compose
    • nfs
    • nginx
    • phpfpm
    • samba
    • smartmontools
    • ssh



    ID: start_nfs_server_service

    Function: service.running

    Name: nfs-server

    Result: False

    Comment: A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.

    Started: 21:43:38.716739

    Duration: 90251.566 ms

    Changes:



    So thats the only 2 errors


    If you're willing to boot from a thumbdrive, OS backup can be dirt simple. A thumbdrive is easy to clone and the clone is easy to test, before you'll need it. Restoration is a matter of minutes.


    -> OS Backup

    Want to avoid usb sticks for booting, dont mind them for installing but just feel a sata ssd, is better,

    • Official Post

    Want to avoid usb sticks for booting, dont mind them for installing but just feel a sata ssd, is better,

    I'll take two Thumbdrives (a working drive and a backup) over one high end SSD any day of the week. With the flashmemory plugin, thumbdrives last a good while. I've had a good quality thumbdrive last approximately 5 years, in an OMV server, through two versions of OMV. (I will qualify that and say that I don't have a lot of server add-on's, running from the boot drive, which reduces solid state media wear.)

    Note that backup is only useful if it's easy to create AND easy to restore. When a server is down, that's not the best time to deal with a complicated restoration process. This is especially true when an upgrade takes out your server. Shutdown, pop in the backup, reboot and you're up again.

    You might be surprised at how many boot from a thumbdrive.

    Your call.

  • I know loads do, but I do run the omv backup scheduled to SSDs, Ive never tested restoring one, but now i know this can be run on VMs it should be easy to test


    I still use the flash plugin on the SSD, there is docker installed on same drive but thats fully backed up in compose plugin

  • Can anyone advise on the below 2 errors,


    Please note that the Software RAID management has x

    x been removed from the core system. Please install x

    x the openmediavault-md plugin if necessary.


    Once the MD is added will the drives continue to work with all data and shares on them?

    OMV7 boots then says apply changes, but get this error, I know theres no drives on the VM so is that why?



    The following modules will be updated:

    • apt
    • compose
    • nfs
    • nginx
    • phpfpm
    • samba
    • smartmontools
    • ssh


    Code

    Display More


    ID: start_nfs_server_service

    Function: service.running

    Name: nfs-server

    Result: False

    Comment: A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.

    Started: 21:43:38.716739

    Duration: 90251.566 ms

    Changes:

  • OMV7 boots then says apply changes, but get this error, I know theres no drives on the VM so is that why?

    Yes

  • Before I update, was just looking at this, should it have all these duplicates


  • macom

    Added the Label resolved
  • macom

    Added the Label OMV 7.x

Participate now!

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