• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Input [IMPORTANT] Roundcube database is not included in backups

vaelu

Basic Pleskian
Hello Pleskians

I recently noticed that the Roundcube database with all user settings, sessions, address books etc. is not included in the Plesk backup which is created automatically via the Backup Manager. I think this is a problem and should get fixed, since when restoring a backup also the Roundcube data should get restored.

For us, it is more complex to do backups now since we had to write a script which manually backups the database every time a backup gets created.

Please vote for the idea here: add roundcube database to backup
 
The database dump is not included because the Roundcube database format differs significantly from version to version. We can't guarantee that dump of one Roundcube installation will be successfully restored on other Plesk server or the same Plesk server with an installed update.

But I agree that the request is valid, and if it is sufficient demand, we will definitely consider it.
 
You can create a cronjob that backups the current roundcube database into a subscription, e.g. daily a short time before the full server backup is done. Then, when the full server backup is run, that .sql dump is being backed up with the Plesk backup.

# /usr/bin/mysqldump --lock-tables=false --user=admin --password=`cat /etc/psa/.psa.shadow` --add-drop-table roundcubemail >> /var/www/vhosts/<your subscription>/roundcube-backup.sql
 
You can create a cronjob that backups the current roundcube database into a subscription, e.g. daily a short time before the full server backup is done. Then, when the full server backup is run, that .sql dump is being backed up with the Plesk backup.

# /usr/bin/mysqldump --lock-tables=false --user=admin --password=`cat /etc/psa/.psa.shadow` --add-drop-table roundcubemail >> /var/www/vhosts/<your subscription>/roundcube-backup.sql
Really helpful input, thanks. We already have a setup like this, but it would be cool if Plesk would do this by default.
 
Voted... After suffering from a server failure and finding that all users have just lost their settings and address books. :-(

The database dump is not included because the Roundcube database format differs significantly from version to version. We can't guarantee that dump of one Roundcube installation will be successfully restored on other Plesk server or the same Plesk server with an installed update.

The simple thing here is that an incompatible backup would be better than no backup at all.
 
Instead of dumping the whole Roundcube database, which can be quite large, you can skip the session table to make the backup smaller:

# /usr/bin/mysqldump --lock-tables=false --user=admin --password=`cat /etc/psa/.psa.shadow` --add-drop-table --ignore-table=roundcubemail.session roundcubemail >> /var/www/vhosts/<your subscription>/roundcube-backup.sql
 
Last edited:
There's a shadow password file which it is read from. That's the bit which reads:
--password=`cat /etc/psa/.psa.shadow`
 
Back
Top