Back up shared hosting MySQL to Dropbox (or similar)?
I'm on cPanel shared hosting, and just looking for an easy way to do a nightly backup of a MySQL database to Dropbox (or OneDrive for Business, OneDrive, or Google Drive). Anyone have any good suggestions, scripts, etc.? Thanks!
-
Hey there! Since you only have access to cPanel and not the root of the server, your options are going to be limited, and you'll need to find a third-party tool that will handle this.
Knowing if your account has command line access would also be helpful to others that may offer suggestions.
0 -
Yes, I have jailed shell access if that is what you are asking. Thanks.
0 -
That would at least give you the option to run commands if that ends up being the best option.
0 -
I've not tried these tools myself, but these look like they may do the job or point you in the right direction:
* PHP-DBCloud ( found from https://medium.com/@iamdavidoti/automatically-backup-mysql-database-to-dropbox-using-php-4041c9f08a7d )
* Inbound Horizon's script
* Yecoder's script (designed to run as "root" but won't take too many modifications to run as a "normal user" script)
0
Please sign in to leave a comment.
Comments
4 comments