I’ve been working on a productive install of Nextcloud on my RaspberryPi 3 for a while, testing the NextcloudPi image and using the docker image on a Raspbian image. I want to use an external USB-HDD for the data dir (ideally also database) and use Btrfs as the “file system” for it (reason: Snapshots as backup with minimal disk space usage). The backup files should then be copied onto a second USB-HDD (if this is Btrfs formatted or not isn’t important to me, but I don’t know enough about Btrfs yet to decide if it’s actually necessary or not).
Which system is better to use for this? With the full NCP image everything is easier (if it’s possible to do with the limited NCP toolset), but using Raspbian with the NCP docker container means less NCP-tools that I can use due to the sandbox modell of docker.
What should I do for the easiest setup that gives me a great backup system and easy upgradeabilty?
Thank you for any tipps!