Using the SME-Server backup option would backup eGroupware (and it's database).
You can also make a separate backup of the database after login into the configuration section in setup-screen (https://<yourserver>/egroupware/setup), but the backup will be placed on your server! Together with a copy of header.inc.php file (resides in: /opt/egroupware/html/) and the original installation package would be sufficient as well.
regards.
jester.