ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Nextcloud scenario

    Scheduled Pinned Locked Moved IT Discussion
    15 Posts 7 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • brandon220B
      brandon220
      last edited by brandon220

      A friend has a small datacenter with the normal bells and whistles. We had a discussion where he would provide the rack space and a public IP etc. I provide a server and each of us a Nextcloud instance. No cost to us and I have physical access to the hardware. My go-to is Hyper-V 2016 and a NC VM. I thought about trying KVM (Fedora) and Fedora for the NC instances but there has been so much fuss on here lately about lack of backup options for KVM. My NC is on Vultr now as well as a few local installs. What do you guys and gals think of this scenario?

      travisdh1T 1 Reply Last reply Reply Quote 0
      • travisdh1T
        travisdh1 @brandon220
        last edited by

        @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:

        DustinB3403D 1 Reply Last reply Reply Quote 1
        • wirestyle22W
          wirestyle22
          last edited by

          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.

          brandon220B 1 Reply Last reply Reply Quote 1
          • DustinB3403D
            DustinB3403 @travisdh1
            last edited by

            @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?

            travisdh1T 1 Reply Last reply Reply Quote 1
            • DustinB3403D
              DustinB3403
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • travisdh1T
                travisdh1 @DustinB3403
                last edited by

                @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.

                wirestyle22W 1 Reply Last reply Reply Quote 1
                • wirestyle22W
                  wirestyle22 @travisdh1
                  last edited by

                  @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

                  1 Reply Last reply Reply Quote 0
                  • brandon220B
                    brandon220
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 1
                    • brandon220B
                      brandon220 @wirestyle22
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403
                        last edited by

                        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

                        https://github.com/vatesfr/xo-web/issues/2564

                        1 Reply Last reply Reply Quote 1
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            Is NC even something you want to back up in this manner? Why not back up from inside of the file system?

                            1 Reply Last reply Reply Quote 1
                            • black3dynamiteB
                              black3dynamite
                              last edited by

                              https://docs.nextcloud.com/server/12/admin_manual/maintenance/backup.html

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @black3dynamite
                                last edited by

                                @black3dynamite said in Nextcloud scenario:

                                https://docs.nextcloud.com/server/12/admin_manual/maintenance/backup.html

                                Exactly. Nice and easy without imaging anything.

                                black3dynamiteB 1 Reply Last reply Reply Quote 0
                                • black3dynamiteB
                                  black3dynamite @scottalanmiller
                                  last edited by black3dynamite

                                  @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.

                                  1 Reply Last reply Reply Quote 2
                                  • 1 / 1
                                  • First post
                                    Last post