MyBB Community Forums
[Tutorial] Free auto database backup to dropbox script [fully automated] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: Tutorials (https://community.mybb.com/forum-38.html)
+--- Thread: [Tutorial] Free auto database backup to dropbox script [fully automated] (/thread-189647.html)

Pages: 1 2


[Tutorial] Free auto database backup to dropbox script [fully automated] - boson - 2016-03-07

Step 1 Register here for free webdev cloud dropbox account https://dropbox.com/webdev/register
Step 2 download script backmeup.sh


   The script dumps all of your MySQL databases as separate files.

   The script backs up all of your Web files (e.g: root of all of your virtual hosts).

   The script compresses your web-root and databases to a single archive.

   The script uploads the compressed archive into a folder in Dropbox.

   After the upload, the script cleans the temporary files (dumps, the archive itself)

   The script makes sure that you always have the newest Dropbox-uploader script.

You may easily add this script to your crontab, and just forget about it


RE: [Tutorial] Free auto database backup to dropbox script [fully automated] - Cameron:D - 2016-03-07

DBUSER="root" #MySQL user that can dump all databases
DBPASSWORD="" #MySQL password

And make sure the scripts are only readable by the owner, not group!! (chmod 700)


RE: [Tutorial] Free auto database backup to dropbox script [fully automated] - Donald_Duck - 2016-03-07

Works great, thanks Smile


RE: [Tutorial] Free auto database backup to dropbox script [fully automated] - niere8 - 2016-03-07

Hi, I really need a script for Dropbox (or other free services) to backup database and file.

This script is safe?

Thanks


RE: [Tutorial] Free auto database backup to dropbox script [fully automated] - tiger1 - 2016-03-08

Thanks work's perfect .

Previously i had been using similar ones but they never had error handling, this one is professional with dropboxwebadmin account .

Thanks


RE: [Tutorial] Free auto database backup to dropbox script [fully automated] - Mathew_ - 2016-04-01

thanking you saved my life and this working perfect Smile


RE: [Tutorial] Free auto database backup to dropbox script [fully automated] - boson - 2016-11-08

Thank you all for kind words.


RE: [Tutorial] Free auto database backup to dropbox script [fully automated] - boson - 2017-01-11

UPDATED

thank you all


RE: [Tutorial] Free auto database backup to dropbox script [fully automated] - boson - 2017-02-07

Updated Script on request and thanks again


RE: [Tutorial] Free auto database backup to dropbox script [fully automated] - niere8 - 2017-02-07

Is it sure? The creator (or other users) can see my database user and password?