I backup my mysql database each day and I want to use dropbox to upload mysql file.sql each day.
Right now I use the dropbox api I have already created the app console. How can I upload automatically my file.sql using dropbox api?
this is my code:
$dropboxKey = " key";
$dropboxsecret = "secret";
$appname = "backupsql";
$appInfo = new Dropbox\AppInfo($dropboxKey,$dropboxsecret);
// upload
// upload
// what should i write here to automatically upload wi