When I update NextCloud it creates a backup under data/updater-oc* such as data/updater-ocr0bl5qlxj3/ for example. Can it be customized to be outside of data?
I have already moved data itself elsewhere with command ln -s /media/data/nextcloud/data/ /var/www/nextcloud/ so I can no longer move updater-ocr0bl5qlxj3 because it would be symlink in already symlinked directory. Is there way to redirect it to /tmp or somewhere?
Also will NC try to delete them eventually or will they stay there forever?
instead of symlinking you can tell nextcloud that the datastore is in a different place. And then symlink the updater folder. You can empty it as soon as you are comfortable with you update to keep it clean.
Tnx, will look into this. If that other location is another hard disk, is there a difference for NC between linking it and changing conf directly? That /var/www is my system partition and /media/data is other hard disk with different filesystem.