Nextcloud scenario
-
@brandon220 Until you're comfortable writing your own scripts to get backups done in KVM, stick with what you know.
KVM backups are conceptually very simple, but I've not found a good set of scripts for it yet.
Process:- Create an external snapshot
- Backup the .qcow2 main file using your normal backup tool
- Remove the external snapshot
I'm not super good with sed or awk, so I have issues getting a script that automatically backs up all KVM guests without having to enter each guest by name :frowning_face:
-
I think ultimately you should choose the Type-1 Hypervisor that you have the most experience with @brandon220. Both Hyper-V and KVM are good options.
-
@travisdh1 conceptually though this shouldn't be a difficult thing. It should already exist.
How many places are only wanting to backup a single VM at a time?
-
Now as a part of a separate conversation you may offer backup services for a few dollars a month and then need a script that allows granular control.
But even Xen Orchestra has this control and you don't need to be typing away creating a script from literally nothing to do this. It's "built in" to XAPI and Xen Orchestra simply uses the API calls to do the job.
-
@dustinb3403 said in Nextcloud scenario:
@travisdh1 conceptually though this shouldn't be a difficult thing. It should already exist.
There are scripts available for a propery configured system. My home lab box is not a properly configured system tho, and I had little choice in this particular matter (no LVM on OS install, FFS).
How many places are only wanting to backup a single VM at a time?
Considering that my home lab currently has 11 guests running, nobody.
-
@travisdh1 said in Nextcloud scenario:
@dustinb3403 said in Nextcloud scenario:
@travisdh1 conceptually though this shouldn't be a difficult thing. It should already exist.
There are scripts available for a propery configured system. My home lab box is not a properly configured system tho, and I had little choice in this particular matter (no LVM on OS install, FFS).
How many places are only wanting to backup a single VM at a time?
Considering that my home lab currently has 11 guests running, nobody.
You've got me beat. I only have 8 right now
-
Honestly, I've not used KVM but thought this would be a great learning exercise. Been using Hyper-V for years. I prefer it over VMWare and Xen.
-
@wirestyle22 I could do everything I need on this host with Powershell. I hate Hyper-V Manager on non-domain joined hosts. More trouble than it is worth IMO. I miss 5-Nine being free.
-
On a side note it looks like @olivier appears to have a way of avoiding upgrading and loosing the functionality as mentioned in 7.3
-
Ignore everything @travisdh1 says about backups because he has no idea what he is talking about.
Of course it is easy to make a backup of a qcow2 and dump the VM confit to a XML file, it is 4 lines of code, but that doesn’t have dick to do with a good backup solution.
-
Is NC even something you want to back up in this manner? Why not back up from inside of the file system?
-
-
@black3dynamite said in Nextcloud scenario:
https://docs.nextcloud.com/server/12/admin_manual/maintenance/backup.html
Exactly. Nice and easy without imaging anything.
-
@scottalanmiller said in Nextcloud scenario:
@black3dynamite said in Nextcloud scenario:
https://docs.nextcloud.com/server/12/admin_manual/maintenance/backup.html
Exactly. Nice and easy without imaging anything.
And with the help of salt or ansible to deploy Nextcloud, it’s even better.