Skip to content

LeoMoon Bash2Cloud


Bash2Cloud is a reliable backup system for Linux. With Bash2Cloud you can automate database and folder backups and upload them to another FTP or Dropbox. By combining Bash2Cloud with Linux Cron, you can setup backup schedules and fully automate this process.

Zip file includes two files:

  • sql2cloud is used to automate mySQL database backup
  • dir2cloud is used to automate folders backup


  • Automatic backup of mySQL database(s)
  • Automatic backup of folder(s) with exclusions
  • Automatic upload of all backups to another FTP
  • Automatic upload of all backups to Dropbox using Dropbox access token
  • Custom compression ratio


  • Amin Babaeipanah


  • sql2cloud 0.30: Added error check
  • sql2cloud 0.29: Initial release
  • dir2cloud 0.18: Added error check
  • dir2cloud 0.17: Initial release


  1. Make a Dropbox app and get a Dropbox access token if you also want to upload backups to Dropbox
  2. Follow the INFO section of each script


Tested on cPanel 66.0.24, Ubuntu 14.04, 16.04

  DonateSupport this project
  GitHubLet’s improve it together
  DownloadDownload size: 3.10 KB