Skip to content

Instantly share code, notes, and snippets.

@kayintveen
Last active January 8, 2016 08:16
Show Gist options
  • Select an option

  • Save kayintveen/5a312916cb2668deb4fa to your computer and use it in GitHub Desktop.

Select an option

Save kayintveen/5a312916cb2668deb4fa to your computer and use it in GitHub Desktop.
Script to upload files via SSH to dropbox location for backup purposes. This file can for example Fetch all files and send to dropbox or a specific one. Also Delete an List is possible.
#backing up to Dropbox
/root/Dropbox-Uploader/dropbox_uploader.sh upload $OUTPUT/`date +%Y%m%d`.$DB.sql.gz /sqlBackups/`date +%Y%m%d`.$DB.sql.gz
#needed tooling https://github.com/andreafabrizi/Dropbox-Uploader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment