๐ Combine folders
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
Hello Everyone
Im planning to rent a VPS and install mailcow on it to host my own emails. I planned to install Ubuntu Server 20.04(if the solution requires another os, just tell me :) ). The VPS has a storage space of 20GB. I have a selfhosted nas and would like to mount the nas on the VPS, so i can have more than the 20GB. The issue is, when i have the mounted storage as main storage, when my nas gets disconnected from the VPS i cant get any Emails.
Now to my question: Im searching for a way that allows me to combine a local folder (A) and my share (B) to one folder (C) C is the default storage of all mails, when something is written to C, it writes to B, and as a daily task, all content from A gets moved to B and is still visible in C.
I searched the internet and only found solutions for linking the files, but im not sure how good this works, when new files get created and need to be moved to another storage.
Im thanking for the help in advance :)
[link] [comments] ...