Move attachments folder November 18, 2018, 07:04:23 am Hi all, I actually host more than one website on a small VPS and CPU and RAM usage are enough for my needs, they are both under 50% of the resources available. I am starting getting low disk space and the quickest solution is to upgrade to a bigger plan, but I don't need more RAM and CPU. Many vps providers like Linode, DO, Hetzner, etc are offering "block storage" or "volume storage" which is much cheaper than an upgrade to a superior plan. My provider is offering 10GB for only 0,5€/month, I can choose the amount up to 10 TB.How block storage are working? It's a simple volume mounted at /mnt/name_volumeI am wondering if I can move the attachments folder to that volume? The first thing that came in my mind is: - move the attachments folder to /mnt/name_volume/attachments- remove the attachments folder from my forum- create a symlink from attachments folder to /mnt/volume/attachmentsI'm not sure this will work, probably not, I need to test it. Are there any other alternatives to store the attachments to a volume? Thank you in advance
Re: Move attachments folder Reply #1 – November 18, 2018, 09:49:05 am I'd go for symlink too though I never tested this as well.
Re: Move attachments folder Reply #2 – November 24, 2018, 03:19:53 pm My first idea was a symlink as well, it should work.Otherwise, you can change the directory in Elk admin panel and you should be good. (Do backup first and maybe also a test on a dummy forum first, I wouldn't, better safe than sorry.)