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

    Nextcloud Questions

    IT Discussion
    nextcloud vm ubuntu 16.04 hyper-v disk partitioning
    4
    29
    3.3k
    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

      I thought about making a new VM using Fedora 25 as the one @scottalanmiller provided the group works so well. I'm just afraid I won't be able to successfully migrate the data.

      travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 1
      • travisdh1T
        travisdh1 @brandon220
        last edited by

        @brandon220 said in Nextcloud Questions:

        @travisdh1 said in Nextcloud Questions:

        That's great that they are utilizing it so much. I think you've mentioned that this is a VM? Just add another virtual drive to the machine and migrate like normal. If it's all on an LVM, this is easy.

        Yes, it is a VM in Hyper-V. Problem is that the data is in /var/www/html/nextcloud/data. I think it would be easiest to add another vdisk and move the data but I've had issues with that in the past. Seems like the install breaks every time and cannot seem to recover it.

        I think I remember trying to move it myself on a test install and having issues, even after changing the config file. Might want to roll a new server and migrate.

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

          @brandon220 said in Nextcloud Questions:

          I thought about making a new VM using Fedora 25 as the one @scottalanmiller provided the group works so well. I'm just afraid I won't be able to successfully migrate the data.

          Getting the users ported over will be harder than the data. Literally just copy everything from the old directory to the new one.

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

            @travisdh1 said in Nextcloud Questions:

            @brandon220 said in Nextcloud Questions:

            @travisdh1 said in Nextcloud Questions:

            I think I remember trying to move it myself on a test install and having issues, even after changing the config file. Might want to roll a new server and migrate.

            I had the same issue. It's very frustrating to say the least.

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

              @brandon220 said in Nextcloud Questions:

              @travisdh1 I am not thinking in a security sense - more of a performance factor.

              That's not a factor.

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

                @brandon220 said in Nextcloud Questions:

                @scottalanmiller When the VM was first loaded, 16.04 was current.

                So... you've not been patching and updating? My laptop started on 16.04, but it gets updated every six months. It's been 17.04 for a while now.

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

                  @brandon220 said in Nextcloud Questions:

                  @travisdh1 I always make sure it is secure. I am referring to storing large amounts of data inside a directory that Apache uses as well.

                  That's only a problem for security.

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

                    @brandon220 said in Nextcloud Questions:

                    I thought about making a new VM using Fedora 25 as the one @scottalanmiller provided the group works so well. I'm just afraid I won't be able to successfully migrate the data.

                    It's all just a database and filesystem. I've not done this, but should not be bad.

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

                      @scottalanmiller I have no access to the server to patch and update. It was supposed to be a "test" to find out if they would use it or not. Apparently they love it and filled up the storage and are wanting more. Because it will be production, I want it to be done properly.

                      All my Ubuntu VMs are current with updates and patches.

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

                        @brandon220 said in Nextcloud Questions:

                        @scottalanmiller I have no access to the server to patch and update.

                        Any they used it anyway? How will you migrate them if you don't have access?

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

                          https://www.jasonsblog.place/index.php/2017/02/28/migrating-my-nextcloud-server-to-another-server/

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

                            @scottalanmiller I'll have to physically go there. Not far at all. I will get remote access though if I am going to maintain the install.

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

                              Looks like a backup and restore are the way to go...

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

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

                                @scottalanmiller I will check that out this evening.

                                1 Reply Last reply Reply Quote 0
                                • NashBrydgesN
                                  NashBrydges @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in Nextcloud Questions:

                                  @brandon220 said in Nextcloud Questions:

                                  I thought about making a new VM using Fedora 25 as the one @scottalanmiller provided the group works so well. I'm just afraid I won't be able to successfully migrate the data.

                                  It's all just a database and filesystem. I've not done this, but should not be bad.

                                  Would this still be possible if you've chosen to enable encryption? I would assume that your encryption key would be different in a new install. I don't remember reading anywhere about how to migrate data from one install to another if it was encrypted (although maybe I've never read it because it doesn't matter). Has anyone done this? Moved users and data to a new install with encryption turned on?

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

                                    @NashBrydges said in Nextcloud Questions:

                                    @scottalanmiller said in Nextcloud Questions:

                                    @brandon220 said in Nextcloud Questions:

                                    I thought about making a new VM using Fedora 25 as the one @scottalanmiller provided the group works so well. I'm just afraid I won't be able to successfully migrate the data.

                                    It's all just a database and filesystem. I've not done this, but should not be bad.

                                    Would this still be possible if you've chosen to enable encryption? I would assume that your encryption key would be different in a new install. I don't remember reading anywhere about how to migrate data from one install to another if it was encrypted (although maybe I've never read it because it doesn't matter). Has anyone done this? Moved users and data to a new install with encryption turned on?

                                    Doing the migration would decrypt on the source before doing the move. So it should be the same. The key would change or not depending on if you move the key.

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