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
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
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.
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?
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
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
Is there a step by step guide to
Backup the OMV drive (mines sata), like a usb to clone to another driveIts 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:
------------
Succeeded: 8 (changed=1)
Failed: 1
------------
Total states run: 9
Total run time: 91.774 s
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-r59ae4325070549f79b6232d449173a57.scope
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.
[ERROR ] retcode: 1
[ERROR ] A dependency job for nfs-server.service failed. See 'journalctl -xe' for details. in /usr/share/php/openmediavault/system/process.inc:247
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(186): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges()
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod()
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(622): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}()
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(146): OMV\Rpc\ServiceAbstract->execBgProc()
#7 /usr/share/openmediavault/engined/rpc/config.inc(207): OMV\Rpc\ServiceAbstract->callMethodBg()
#8 [internal function]: Engined\Rpc\Config->applyChangesBg()
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#11 /usr/sbin/omv-engined(535): OMV\Rpc\Rpc::call()
#12 {main}
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:
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,
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:
Code
------------
Succeeded: 8 (changed=1)
Failed: 1
------------
Total states run: 9
Total run time: 91.774 s
[ERROR ] Command '/bin/systemd-run' failed with return code: 1
[ERROR ] stderr: Running scope as unit: run-r59ae4325070549f79b6232d449173a57.scope
A dependency job for nfs-server.service failed. See 'journalctl -xe' for details.
[ERROR ] retcode: 1
[ERROR ] A dependency job for nfs-server.service failed. See 'journalctl -xe' for details. in /usr/share/php/openmediavault/system/process.inc:247
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(186): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges()
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod()
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(622): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}()
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(146): OMV\Rpc\ServiceAbstract->execBgProc()
#7 /usr/share/openmediavault/engined/rpc/config.inc(207): OMV\Rpc\ServiceAbstract->callMethodBg()
#8 [internal function]: Engined\Rpc\Config->applyChangesBg()
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#11 /usr/sbin/omv-engined(535): OMV\Rpc\Rpc::call()
#12 {main}
Display More
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
Cheers, least i know it should ll go smoothly, although I go on holiday tomorrow, so will run it all when I return
Before I update, was just looking at this, should it have all these duplicates
sudo apt update && sudo apt dist-upgrade
Get:1 file:/var/cache/openmediavault/archives InRelease
Ign:1 file:/var/cache/openmediavault/archives InRelease
Get:2 file:/var/cache/openmediavault/archives Release
Ign:2 file:/var/cache/openmediavault/archives Release
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:5 file:/var/cache/openmediavault/archives Translation-en_GB
Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:5 file:/var/cache/openmediavault/archives Translation-en_GB
Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:5 file:/var/cache/openmediavault/archives Translation-en_GB
Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:5 file:/var/cache/openmediavault/archives Translation-en_GB
Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:5 file:/var/cache/openmediavault/archives Translation-en_GB
Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB
Get:3 file:/var/cache/openmediavault/archives Packages
Ign:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:5 file:/var/cache/openmediavault/archives Translation-en_GB
Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB
Get:3 file:/var/cache/openmediavault/archives Packages
Get:4 file:/var/cache/openmediavault/archives Translation-en
Ign:4 file:/var/cache/openmediavault/archives Translation-en
Get:5 file:/var/cache/openmediavault/archives Translation-en_GB
Ign:5 file:/var/cache/openmediavault/archives Translation-en_GB
Hit:6 http://deb.debian.org/debian bullseye InRelease
Hit:7 http://deb.debian.org/debian bullseye-updates InRelease
Hit:8 http://httpredir.debian.org/debian bullseye-backports InRelease
Hit:9 http://security.debian.org/debian-security bullseye-security InRelease
Hit:10 http://packages.openmediavault.org/public shaitan InRelease
Get:11 https://openmediavault-plugin-developers.github.io/packages/debian shaitan InRelease [3,934 B]
Hit:12 https://nvidia.github.io/libnvidia-container/stable/deb/amd64 InRelease
Get:13 https://openmediavault.github.io/packages shaitan InRelease [12.8 kB]
Get:14 https://download.docker.com/linux/debian bullseye InRelease [43.3 kB]
Display More
should it have all these duplicates
Yes, but if you want to upgrade from CLI use omv-upgrade
cheers, update went through no issues
Don’t have an account yet? Register yourself now and be a part of our community!