Whatbox Logo

Wiki > 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.

rclone

You can use rclone to access Dropbox. This includes all of rclone's commands, such as rclone mount to create a FUSE mount of your Dropbox folder.

dbxfs

dbxfs allows you to mount your Dropbox folder using FUSE.

dbxfs will not work well with Plex.
Do not use FUSE-mounted folders with BitTorrent clients.

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.