title: Using CURL to upload to Dropbox and overwrite a file
body: <p>I'm a small time admin and would say entry level to Linux. I am trying to use CURL to upload to Dropbox a small backup sqlitedb and have had success for the first upload, however, I am trying to accomplish uploading a file to Dropbox every 30 minutes and overwriting the current file in DROPBOX with the new file from my Linux server (as a jerry-rigged offsite backup of my Teamspeak database)</p>
  
  <p>This is the code I have so far :</p>
  
  <pre><code>curl -X PUT https://content.dropboxapi.com/2/files/upload \
  --header "Authorization: Bearer &lt;dropbox code here&gt;" \
  --header "Dropbox-API-Arg: {\"path\": \"/home/ec2-user/ts3server.sqlitedb.bz2\"}" \
  --header "Content-Type: application/octet-stream" \
  --data-binary ts3server.sqlitedb.bz2
  </code></pre>
  
  <p>After running that code once, it doesn't OVERRIDE the current file in my Dropbox account with the updated file. Any help is appreciated</p>