Jump to content

database backup never works

Recommended Posts

When I update WHMCS I really want to just do the backup from the update page, afterall that is why it is there, for convenience.

But I have never been able to get the backup to work, it always times out, and I have to resort to using phpmyadmin, which is the only solution I ever got from whmcs support too.

My database is not big, it is a tiny install, not a lot of data.

Is there any way to get it working, or if it just that useless?


Share this post

Link to post
Share on other sites

Hello @snake,

Thanks for your post!

As detailed within the documentation below, typically once your database grows beyond a certain size (around 20MB) it becomes too big for a PHP script to handle.


If your database is close to 20MB in size, or larger, this may be why you are experiencing issues.

If you are by chance using cPanel, I would fully recommend using the cPanel backup option in WHMCS: https://docs.whmcs.com/Backups#cPanel_Backup

The reason I recommend this is you can have backups automated via the WHMCS cron, but using WHM/cPanel's backup wizard: https://documentation.cpanel.net/display/80Docs/Backup+Wizard#BackupWizard-FullBackup

If your database is much less than 20MB in size, I would recommend opening up a ticket with us so we can advise further.

Share this post

Link to post
Share on other sites

And yet it works fine from PHPMyAdmin, which is also a php script.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated