I still have "Write a decent Backup-And-Restore-Utility in XYZ" on my ToDo but hadn't had the time for it .
You should definitely read this to get a Basic understanding and maybe think about how you could integrate an Backup which fits your needs.
https://docs.grommunio.com/admin/operations.html#backup-disaster-recovery
A VM-Snapshot can't be considered as an real backup.
It doesn't matter about which Software we are talking.
Just think about when you only want to restore Mailbox A but not B-Z...
Yes there is stuff like Mailstore/Benno/Whateverelse which i also use but this isn't working for e.g. Contacts or the Calendar.
For those i got an Script from another Community-User here which i haven't even came around to publish or integrate in my Systems. Notes and Tasks aren't covered with these either.
Andy I can't do anything with the shown restore sequence at "MYSQL-DB zurückspielen".
Take a look into the File /etc/gromox/mysql_adaptor.cfg
eval `sed 's/ //g' /etc/gromox/mysql_adaptor.cfg`
and after the Command you can do something like echo $mysql_username
in the Shell.
But you can do those just manually like the Link states.
The eval
-Command will basically do the same as if you would have done by cat /etc/gromox/mysql_adaptor.cfg
and copy/pasted this output in the same console. Note that eval
can be considered "BAD" in many cases. But there is enough about that in the Internet.
Because i know which content it has i do that w/o worrying about it in any way.
And that's enough for now.