Backup for OS OVM6

  • Last couple of times that I have run either the "dd" or "dd full disk" command on my server it has proceded to backup the entire capacity of my System Disk. (I'm not sure, but it may have something to do with how the disk is partitioned. If the entire disk is one partition then it makes sense to me that both "dd" and "dd full disk" will backup the entire capacity of the disk. OMV Gurus here will know more on this.) Here are the screenshots from my use of "dd" command just now: (It took my system 9 Minutes to backup 32Gb boot Pen drive)


    And here is the screen shot of "dd full disk" method: ( It took my system 10 Minutes, and this time it wrote 31Gb as opposed to 29Gb of "dd' Method)

    Thanks. If I understand you correct "DD" or "DD full disk" does the same,... so now I wonder why the options (DD and DD full disk).
    Some maths:
    if 30gb takes 9 mins. then 90gb will take 27 mins. then in my case of a 500gb disk capacity it will take about 5.5 times 27 mins = 148.5 mins = 2 hrs 25.5 min. in theory.
    My conclusion will then be... better off getting a smaller OMV OS boot disk capacity

    There are, sometimes, many ways to do things/tasks, and experience with them will lead you to take the one you feel comfortable with.
    My test drives are on 2 machines both OMV with ZFS and with a 500gb laptop SYS BOOT HDD
    1. i7 920 with 12gb ram; 4x2tb sata WD purple
    2. ibm x3100 m4; 32gb ram; 4x6tb sas Seagate

    • Official Post

    My conclusion will then be... better off getting a smaller OMV OS boot disk capacity

    While I'm not sure your times are as relative as you think.. I think your conclusion is proper. Theres really no reason (that I can come up with) to have a ginormous OS drive... 16-32gig flash drives are absurdly cheap and will more than handle the OS if the OS is properly configured.


    This then frees up a SATA port for a data drive (be it the 500gig you have now as an OS drive or a larger drive). When I did my rebuild, I used the onboard USB 3.2 for my OS. I honestly can't tell any difference between it and the SSD I used for years.

  • f I understand you correct "DD" or "DD full disk" does the same,... so now I wonder why the options (DD and DD full disk).

    I am not sure if both the methods do the same, but to me it looks like there isn't much difference. However, clearly there is some difference as each one is writing different amount of data and "dd full disk" taking slightly longer than the other to write that increased amount of data. And yes smaller boot drive is the way to go. I stopped using 128gb m.2 drive to boot on my system and instead now I am using 32gb pen drive as it is easier for me to clone the pen drive on my windows system using BalenaEtcher and it will be faster to deploy the clone in case of boot drive failure.

    OMV 7.4.9-2 (Sandworm) on ASROCK B560M-ITX/ac Motherboard, 16GB DDR4 RAM, Intel Pentium Gold 6405 CPU, Silverstone ECS06 6 Ports SATA Gen3x2 (6Gbps) Non-RAID PCI-e card, 7(2Parity+5Data) Toshiba 2.5 inch Laptop SATA HDD's 1TB each for Data, SnapRaid with MergerFS plugin, Kingston USB-3 Data Traveler Exodia DTX/32 GB Pen Drive for Root/OS, 128GB SATA SSD for use by DOCKER and spare 128 GB PCIE M.2 SSD. Motherboard has 4 native SATA ports and 1 M.2 PCIE port. SilverStone Sugo SG13 Case.

    • Official Post

    Once again...


    dd will backup the OS partition (this is what you are referring to os sys space) using dd.

    ddfull will backup the entire OS disk using dd.


    If your OS partition is 8GB on a 512 GB hard drive, dd should backup 8GB and ddfull should backup 512GB.


    Since the OMV iso will use all of the disk, that means you did something custom. Please post the output of sudo fdisk -l because I think you might have some weird layout that is confusing the plugin. The plugin will NOT support every partition layout.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    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!

  • I am not sure if both the methods do the same, but to me it looks like there isn't much difference. However, clearly there is some difference as each one is writing different amount of data and "dd full disk" taking slightly longer than the other to write that increased amount of data. And yes smaller boot drive is the way to go. I stopped using 128gb m.2 drive to boot on my system and instead now I am using 32gb pen drive as it is easier for me to clone the pen drive on my windows system using BalenaEtcher and it will be faster to deploy the clone in case of boot drive failure.

    Understandable... I plan to do the same also but I needed to do the following test:
    I did a reinstall test on a different HDD-cage (set of HDDs) and used a 250gb laptop hdd after setting it up and installing all of the plugins i need to work with I did a backup and with DD option it took 1 hr 40 mins. to complete

    Images

    There are, sometimes, many ways to do things/tasks, and experience with them will lead you to take the one you feel comfortable with.
    My test drives are on 2 machines both OMV with ZFS and with a 500gb laptop SYS BOOT HDD
    1. i7 920 with 12gb ram; 4x2tb sata WD purple
    2. ibm x3100 m4; 32gb ram; 4x6tb sas Seagate

    • Official Post

    DD option it took 1 hr 40 mins. to complete

    And no output again. I'm not psychic and need output to help.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    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!

  • And no output again. I'm not psychic and need output to help.

    sudo fdisk -l
    shows me all of my attached disks and scrolls down very fast...

    • Official Post

    shows me all of my attached disks and scrolls down very fast...

    You don't have putty and can login via ssh to cut & paste?

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    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!

  • You don't have putty and can login via ssh to cut & paste?

    No I don't and don't know anything about it either... will have to learn that too in time... Sorry I can't be of any further help and I fully understand u can't either without what you are asking for.
    Thanks

    There are, sometimes, many ways to do things/tasks, and experience with them will lead you to take the one you feel comfortable with.
    My test drives are on 2 machines both OMV with ZFS and with a 500gb laptop SYS BOOT HDD
    1. i7 920 with 12gb ram; 4x2tb sata WD purple
    2. ibm x3100 m4; 32gb ram; 4x6tb sas Seagate

    • Official Post

    You have to try. It is easy.


    Download putty - https://www.chiark.greenend.org.uk/~sgtatham/putty/

    run putty

    enter root@YOUR_OMV_HOSTNAME

    type root password that you setup when you installed.

    Now, it is just like you are sitting at a keyboard and monitor plugged into the host.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    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!

  • Thanks - I will definitely give that a shot... opening up my horizon - learning slowly but surely

    There are, sometimes, many ways to do things/tasks, and experience with them will lead you to take the one you feel comfortable with.
    My test drives are on 2 machines both OMV with ZFS and with a 500gb laptop SYS BOOT HDD
    1. i7 920 with 12gb ram; 4x2tb sata WD purple
    2. ibm x3100 m4; 32gb ram; 4x6tb sas Seagate

  • Thanks - I will definitely give that a shot... opening up my horizon - learning slowly but surely

  • Thanks - I will definitely give that a shot... opening up my horizon - learning slowly but surely

    You may also, want to try the "WeTTY" plugin on OMV, it will allow you to SSH through your browser.


    OMV 7.4.9-2 (Sandworm) on ASROCK B560M-ITX/ac Motherboard, 16GB DDR4 RAM, Intel Pentium Gold 6405 CPU, Silverstone ECS06 6 Ports SATA Gen3x2 (6Gbps) Non-RAID PCI-e card, 7(2Parity+5Data) Toshiba 2.5 inch Laptop SATA HDD's 1TB each for Data, SnapRaid with MergerFS plugin, Kingston USB-3 Data Traveler Exodia DTX/32 GB Pen Drive for Root/OS, 128GB SATA SSD for use by DOCKER and spare 128 GB PCIE M.2 SSD. Motherboard has 4 native SATA ports and 1 M.2 PCIE port. SilverStone Sugo SG13 Case.

    Edited once, last by NsinghP ().

    • Official Post

    With putty and wetty, you can cut & paste the output instead of screen shots.


    From your screenshots, it sure seems like /dev/sda is your boot drive and /dev/sda1 is 232 GB. Where are you getting 8GB from?

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.6 | compose 7.6.6 | cterm 7.8.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    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!

  • With putty and wetty, you can cut & paste the output instead of screen shots.


    From your screenshots, it sure seems like /dev/sda is your boot drive and /dev/sda1 is 232 GB. Where are you getting 8GB from?

    OMV documentation - OS boot SYS disk requirement capacity.
    "Minimum Hardware requirements

    Openmediavault/Debian will run on I386, AMD64, and select ARM platforms with 1GB of ram or less, but performance expectations should be adjusted accordingly. The system boot drive should have a minimum of 8GB capacity."

    I take for granted that that can go as high as 8GB. And that's the ONLY part I want to backup

    There are, sometimes, many ways to do things/tasks, and experience with them will lead you to take the one you feel comfortable with.
    My test drives are on 2 machines both OMV with ZFS and with a 500gb laptop SYS BOOT HDD
    1. i7 920 with 12gb ram; 4x2tb sata WD purple
    2. ibm x3100 m4; 32gb ram; 4x6tb sas Seagate

  • You may also, want to try the "WeTTY" plugin on OMV, it will allow you to SSH through your browser.


    Wetty is my first plugin installed and enables.
    Thanks

    There are, sometimes, many ways to do things/tasks, and experience with them will lead you to take the one you feel comfortable with.
    My test drives are on 2 machines both OMV with ZFS and with a 500gb laptop SYS BOOT HDD
    1. i7 920 with 12gb ram; 4x2tb sata WD purple
    2. ibm x3100 m4; 32gb ram; 4x6tb sas Seagate

  • I take for granted that that can go as high as 8GB. And that's the ONLY part I want to backup

    Your root partition is NOT 8Gb.

    According to what you posted above:


    It's 231.9G. Every DD that you do, will be always that size.

  • Your root partition is NOT 8Gb.

    According to what you posted above:


    It's 231.9G. Every DD that you do, will be always that size.

    My boot disk used is a 500gb laptop HDD and I want to backup ONLY the OMV OS config section of that boot disk and not the entire 500gb boot disk.
    I take for granted that OS can get to be as high as 8gb even if it goes up to 16 gb then that's the ONLY part of the boot disk I want to backup...
    DD option is not doing that and have no clue why not

    There are, sometimes, many ways to do things/tasks, and experience with them will lead you to take the one you feel comfortable with.
    My test drives are on 2 machines both OMV with ZFS and with a 500gb laptop SYS BOOT HDD
    1. i7 920 with 12gb ram; 4x2tb sata WD purple
    2. ibm x3100 m4; 32gb ram; 4x6tb sas Seagate

  • My boot disk used is a 500gb laptop HDD and I want to backup ONLY the OMV OS config section of that boot disk and not the entire 500gb boot disk.
    I take for granted that OS can get to be as high as 8gb even if it goes up to 16 gb then that's the ONLY part of the boot disk I want to backup...
    DD option is not doing that and have no clue why not

    I think what Soma is trying to tell you is that since your boot partition size is 231.9GB you will always get a backup of that size with 'dd" method. And I assume with "dd full disk" your backup will be 500gb.

    OMV 7.4.9-2 (Sandworm) on ASROCK B560M-ITX/ac Motherboard, 16GB DDR4 RAM, Intel Pentium Gold 6405 CPU, Silverstone ECS06 6 Ports SATA Gen3x2 (6Gbps) Non-RAID PCI-e card, 7(2Parity+5Data) Toshiba 2.5 inch Laptop SATA HDD's 1TB each for Data, SnapRaid with MergerFS plugin, Kingston USB-3 Data Traveler Exodia DTX/32 GB Pen Drive for Root/OS, 128GB SATA SSD for use by DOCKER and spare 128 GB PCIE M.2 SSD. Motherboard has 4 native SATA ports and 1 M.2 PCIE port. SilverStone Sugo SG13 Case.

  • I think what Soma is trying to tell you is that since your boot partition size is 231.9GB you will always get a backup of that size with 'dd" method. And I assume with "dd full disk" your backup will be 500gb.

    We have gone thru that already earlier on in this thread... We are trying to figure out why the DD option is not doing what it is meant to do, as I understand, to back up ONLY the OS sys and not the entire boot disk (as I understand). BUT I will to settle to my conclusion to get a smaller size boot disk which will make backup time relatively shorter. Thanks

    There are, sometimes, many ways to do things/tasks, and experience with them will lead you to take the one you feel comfortable with.
    My test drives are on 2 machines both OMV with ZFS and with a 500gb laptop SYS BOOT HDD
    1. i7 920 with 12gb ram; 4x2tb sata WD purple
    2. ibm x3100 m4; 32gb ram; 4x6tb sas Seagate

Participate now!

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