Hi all, sorry if this has been asked/discussed before (I couldn’t find any directly overlapping posts):
I have been running the Nextcloud snap now for quite some time, and although things have run quite smoothly, I never really managed to properly back things up.
I make weekly backups of the database, config and data, but it’s very hard and time consuming to glue these elements back together. And as they say: when you can’t check whether a backup works, it’s not really a backup.
I have been experimenting with KVM/qemu lately and things look pretty great. The idea of simply backing up the entire OS that runs Nextcloud (a backup that you can easily deploy/run somewhere else to test if it’s working) sounds very attractive.
Reading around, however, tells me that some of you recommend running the Nextcloud docker (instead of a VM).
My questions:
- What would be the advantage of running Nextcloud as a docker, instead of within a VM?
- What would be a sensible way to have an incremental/differential backup of the VM/Docker?
- The storage usage of my Nextcloud instance exceeds 1TB. If I run it within a VM, I will have to connect it to a 2TB SSD. Does it make sense to add the external storage space to the VM? How does that affect the ease of backing the full VM up? Or (as I have read here and there) should I simply put the entire VM on the external SSD?
Follow the official documentation https://docs.nextcloud.com/server/latest/admin_manual/installation/
Plain old webserver + php-fpm + database engine (I use postgres), no docker. People not following the recommended setup seem to have all kinds of woes (https://lemmy.world/comment/1981161)
Don’t they offer an official all in one docker image?
https://github.com/nextcloud/all-in-one
I have been trying to get this working for over a week now and have run into LITERALLY EVERY POSSIBLE PROBLEM. It’s driving me nuts and I’m on the verge of giving up. Do you happen to be any good with the AIO image setup?
Nope! personally I went with the LinuxServer version before the all in one was released. I do recommend that one but doesn’t have the docs built in.
I did try standing up AIO for a few hours but ran into issues also lol but gave up as my existing environment is more than I need really.
It’s more of a pain to get running than you might think for an official image. I got it running but definitely had issues getting started.