Hi folks,
having got my Plone installation up and running, I realised that the actual database sits in /opt/Plone/zeoclusters/var.
This is not good practice and doesn't really comply with unix standards in that typically databases should live in /var rather than /opt. Also, my root partition on which /opt site is pretty small and not frequently backed up. Conversely, my /var partition is frequently backed up. This link https://docs.plone.org/manage/deploying/copy.html suggests that I can actually move the database to another folder although this specifically refers to "copying a plone site" which is not what I want to do.
I want to keep the site (so the binaries, config files, log files, etc.) in /opt/plone and move the database to /var in the root unix directory. Having just navigated through the base.cfg file, I'm sensing that this is the place to make the changes but I want to reassure myself that I'm making the right changes and that I do not end up messing up my installation.
Would it be correct to say that in order to move my database to /var/plone from the current /opt/plone/zeoclusters/var/ I would have to modify the base.cfg file from the current:
storage locations
var = ${buildout:var-dir}
blob-storage = ${:var}/blobstorage
to the following lines:
storage locations
var = /var/plone
blob-storage = /var/plone/blobstorage
Is there any other line I need to change/add? Shouldn't there be a line for var/filestorage?
Thanks