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.
-
@brandon220 said in Nextcloud Questions:
@scottalanmiller said in Nextcloud Questions:
@brandon220 said in Nextcloud Questions:
Normally I would just migrate to a new block device, but it depends on what your needs are.
This was supposed to be a "demo" but they used it for production and filled it quickly once they realized how great it works. Now I need to get them more space. Trying to determine the best path forward.
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.
-
@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 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.
-
@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.
-
@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.
-
@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.
-
@brandon220 said in Nextcloud Questions:
@travisdh1 I am not thinking in a security sense - more of a performance factor.
That's not a factor.
-
@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.
-
@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.
-
@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.
-
@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.
-
@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?
-
-
@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.
-
Looks like a backup and restore are the way to go...
https://docs.nextcloud.com/server/12/admin_manual/maintenance/restore.html
-
@scottalanmiller I will check that out this evening.
-
@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?
-
@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.