Dropbox: Difference between revisions

From csml-wiki.northwestern.edu
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 23: Line 23:
** On your home machine, stop the Dropbox daemon via <tt>dropbox stop</tt>
** On your home machine, stop the Dropbox daemon via <tt>dropbox stop</tt>
** Create the Dropbox folder on scratch
** Create the Dropbox folder on scratch
** MOVE the contents from ~/Dropbox to this new scratch folder
** Move the contents from ~/Dropbox to this new scratch folder
** Remove the (now empty) folder ~/Dropbox
** Remove the (now empty) folder ~/Dropbox
** Create a symbolic link ~/Dropbox to the Dropbox folder on scratch
** Create a symbolic link ~/Dropbox to the Dropbox folder on scratch

Revision as of 16:07, 31 December 2014

It is easy to link your home folder with your Dropbox. By default, the Dropbox will be accessible as ~/Dropbox. Before doing so, there are two important considerations:

  • If you have a large Dropbox, you may wish to make sure that the Dropbox contents are not actually stored in your $HOME folder (where they would count against your quota). The easiest way to do this is to create a folder in your scratch partition (e.g., ~/Scratch/Dropbox) and then create a symbolic link to this folder, via
ln -s /scratch/Dropbox ~/Dropbox

The only drawback is that your scratch partition is typically only available on a few machines (e.g., not on ariadne itself).

  • Clearly, if you store your Dropbox on scratch it will be ignored in the daily backup. However, even if you keep it actually in your home folder, the backup script will skip the Dropbox.


(need notes on installing Dropbox here)

Some additional notes:

  • The Dropbox daemon (which synchronizes your ~/Dropbox folder with the actual Dropbox) starts automatically when you log in to the graphical desktop. However, if your machine is restarted (so that the daemon is killed) and you log in remotely (before logging in to the graphical desktop), the Dropbox daemon will have to be started manually. This is done via
dropbox start

It is important to do this only on your home machine. If you do it on multiple machines (or even by accident, by putting the dropbox start command in your ~/.bashrc script --- clearly, do NOT do this!), you will end up with conflicts, since multiple independent daemons will all start to synchronize the same folder.

  • If you have NOT put your Dropbox on scratch and wish to change this, proceed as follows:
    • On your home machine, stop the Dropbox daemon via dropbox stop
    • Create the Dropbox folder on scratch
    • Move the contents from ~/Dropbox to this new scratch folder
    • Remove the (now empty) folder ~/Dropbox
    • Create a symbolic link ~/Dropbox to the Dropbox folder on scratch
    • Restart the Dropbox daemon via dropbox start