I've setup MailCow on my DS718+ by running it in a seperate Ubuntu VM.
MailCow stores all its data, like emails and databases in Docker volumes. So this is apparently saved in /var/lib/docker/volumes . These Docker volumes look like simple folders to me..
For backup purposes I wonder if it would be easy to have al this data saved on a volume of my NAS, as that would automatically have that data be included in my regular HyberBackup schedules.
So, lets say I copy all the data from /var/lib/docker/volumes to \\nas3.mydomain.com\MailStore (this is the DS718+ which is the host of this Ubuntu VM).
Then in this Ubuntu VM stop the entire MailCow stack
Delete /var/lib/docker/volumes
Recreate /var/lib/docker/volumes as directory
in /etc/fstab , mount /var/lib/docker/volumes to \\nas3.mydomain.com\MailStore
Start up all the MailCow Docker containers again
Would this work? Or is this too much of a bold idea?
Some screenshots:
MailCow stores all its data, like emails and databases in Docker volumes. So this is apparently saved in /var/lib/docker/volumes . These Docker volumes look like simple folders to me..
For backup purposes I wonder if it would be easy to have al this data saved on a volume of my NAS, as that would automatically have that data be included in my regular HyberBackup schedules.
So, lets say I copy all the data from /var/lib/docker/volumes to \\nas3.mydomain.com\MailStore (this is the DS718+ which is the host of this Ubuntu VM).
Then in this Ubuntu VM stop the entire MailCow stack
Delete /var/lib/docker/volumes
Recreate /var/lib/docker/volumes as directory
in /etc/fstab , mount /var/lib/docker/volumes to \\nas3.mydomain.com\MailStore
Start up all the MailCow Docker containers again
Would this work? Or is this too much of a bold idea?
Some screenshots: