Dropbox

"Dropbox is a free service that lets you bring all your photos, docs, and videos anywhere. This means that any file you save to your Dropbox will automatically save to all your computers, phones and even the Dropbox website. Dropbox also makes it super easy to share with others, whether you're a student or professional, parent or grandparent. Even if you accidentally spill a latte on your laptop, have no fear! You can relax knowing that Dropbox always has you covered, and none of your stuff will ever be lost."

Note: All upload to the Dropbox servers from your Whatbox slot will count towards your traffic limits.

Installation

The installation instructions for the official Dropbox client have been deprecated as Dropbox now requires it to be ran on an ext4 filesystem, which is not currently possible on Whatbox servers.

dbxfs

dbxfs allows you to mount your Dropbox folder as if it were a local filesystem. Compared to the original method above, this method does not directly store the data on your slot, so it does not take up storage space.

Installation

  1. SSH into your server.

  2. Install pip for python3.

     curl -s https://bootstrap.pypa.io/get-pip.py | python3 - --user``
    
  3. Add the user site bin directory to your PATH (if you've done this previously, you do not need to do it again)

      echo "PATH=\$HOME/.local/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
    
  4. Install dbxfs

     pip3 install dbxfs --user
    
  5. Configure and launch dbxfs, where ~/Dropbox is the directory you wish to use for your Dropbox:

     dbxfs ~/Dropbox
    

You will be prompted to provide OAuth authentication to link dbxfs to your Dropbox account. A configuration can be saved and will require an extra password to encrypt the configuration file used by dbxfs.

You can unmount dbxfs with fusermount -uz ~/Dropbox (where ~/Dropbox is the director you are using for dbxfs)

On server reboots, you will need to run dbxfs again manually. Because of the requirement to encrypt the configuration file, crontab cannot be used to automatically start dbxfs.