4

How can i dump files from my CentOS box to Dropbox account? As regular nightly backup task.

4
0 1 * * * cp -a /tmp/files ~username/Dropbox/tmp_backups_$(date +%Y%m%d)

Breakdown: Every day at one am make an archive copy of /tmp/files into a folder with the date as part of the name in 'username's dropbox.

  • 1
    I fail to see how it makes it to dropbox.com. Is it assumed that client/daemon is running and will sync ~user/Dropbox automagically? – alex Jun 27 '11 at 5:06
  • 1
    @alex: Yes. Once the daemon is installed and the user account configured, any file placed or edited inside the Dropbox folder will trigger a re-sync. – Caleb Jun 27 '11 at 8:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.