Skip to content
Morten Sickel edited this page Jan 20, 2017 · 22 revisions

Different jottacloud tools and ways to use them

This project supports different ways of using your JottaCloud account. Below, we'll take you through the options you have as a normal user. (Developers, look here)

I need to sync my files to JottaCloud, exactly like the official client does

This works on Windows, OS X, Synology and Linux.

If you need something that will work exactly the same way as the official Jottacloud client -- take a look at jotta-scanner, which will scan through a local file tree and make sure the online tree is in sync. So you can run it as often as you like. And when you get it up and running, add it to your crontab / schtasks.exe and enjoy some fresh air. Your files are safe!

This is a program that automatically mirrors every file in some paths and keeps a file-by-file copy up to date in the cloud. That way you'll get a tried and tested, cross-platform backup solution. And all your files is accessible online at jottacloud.com, as well as from the official JottaCloud clients. You could run this manually, or at a schedule, as often as you like.

Beware! This really syncs your file tree, so if you delete a file locally, it'll disappear from JottaCloud, as well. (But you might be able to recover it by looking it up on http://jottacloud.com).

What it looks like

https://asciinema.org/a/5zrz870ntwx28vb0u7h2261rq.png

How to set up

You need to get this package:

pip install jottalib[scanner]

Basic usage

jotta-scanner /path/to/your/folder /Jotta/{Sync|Archive|Backup}/yourexistingdirectory

Example 1: Run the sync program every night on a Linux, OSX or Synology box

  1. Run crontab -l
  2. Add @nightly jotta-scanner /path/to/your/folder and save the file
  3. Relax, your files are safe.

Example 2: The same, on windows

  1. schtasks.exe ...

Want to know more?

If you want to understand how this tool works, read all about it in the developer docs.

I want a virtual jottacloud file system, so all my files look like a disk drive

A.k.a. FUSE. This works on OS X, Synology and Linux.

This will "mount" jottacloud as a folder on your system, allowing you to use your normal file system utilities to browse your account.

Note Being a remote mounted folder, it might not be as snappy as a locally synchronised folder. Since everything has to go over the network, and Jottacloud never intended for this kind of use, the performance will probably make you sad.

  1. Install necessary stuff:

    pip install jottalib[FUSE]
    
  2. Create a folder where you want your Jottacloud file system:

    mkdir $HOME/jottafs
    
  3. Run fuse as a normal user:

    jotta-fuse $HOME/jottafs
    

Extras: Transparent encryption

Since this is a normal file system, the possibilities are endless. But here's a cool thing. Run encfs on top of jotta-fuse, and you'll get an encrypted backup with no hassle. This way even JottaCloud won't be able to see your files.

Pro tip: Nitro boosted uploads

Because of how fuse works, all files have to be read into memory before they can be sent off into the JottaClouds. But there is a way to shortcut this. Symlinks! This is especially recommended on large files (e.g. video files):

ln -s <your large file> $HOME/jottafs/my_large_file.mov

For more tips and details about the fuse functionality, read the developer section.

I want a drop folder, so everything I put there is stored automatically in the cloud

This works on Windows, OS X, Synology and Linux.

This provides some of the same functionality to the FUSE mode mentioned above, but will be faster. And if FUSE is not available (e.g. on Windows), or not allowed (e.g. because security), this would be a nice alternative.

  1. Run jotta-monitor <some folder>.
  2. Drop or copy your stuff into that folder.
  3. Have a nice cup of tea.

How to set up

You need to get this package:

pip install jottalib[monitor]

Pro tip: Nitro boosted uploads

Shortcut time and memory consuming indexing by dropping a symlink or a .lnk file. This is especially recommended on large files (e.g. video files):

ln -s <your large file> $HOME/jottafs/my_large_file.mov

or, in windows, right-drag-and-drop your file and select Create link here.

I want to integrate with the duplicity backup program

This works on Linux and OS X. Might work with Synology.

Duplicity is a backup program with support for encrypted backups with automatic error checking and much more.

A long standing goal is to integrate JottaCloud with duplicity. We're not quite there yet. For now, you have to copy the JottaCloud plugin included here, and put it in a folder where duplicity will find it:

wget https://raw.githubusercontent.com/havardgulldahl/jottalib/master/src/duplicity-backend.py -O /usr/share/pyshared/duplicity/backends/jottacloudbackend.py

Symlink it into the working dir:

ln -s /usr/share/pyshared/duplicity/backends/jottacloudbackend.py /usr/lib/python2.7/dist-packages/duplicity/backends/jottacloudbackend.py

(depending on your OS it might need to be linked to /usr/local/lib/python2.7/dist-packages/duplicity/backends/ instead)

And then:

duplicity <top folder> jotta://<remote folder>

Note: The remote folder will be created (if not existing) in the Archive folder

I have a file here, and I want to share it online

This works on Windows, OS X, Synology and Linux.

Easily upload and share a file at a public, secret URI

Usage:

jotta-share <some great file you need to share>

If the command succeeds, you'll get back a public, shareable url that points to your data on jottacloud.com

What it looks like

https://asciinema.org/a/cvguybtx67n8fyzxu8vh8rmkp.png

I want to get a file or folder from backup

This works on Windows, OS X, Synology and Linux.

Quickly get one or more files without any setup. This is a nice way to move files back and forth also on windows, but for a nicer experience you should look into jotta-monitor.

Examples:

jotta-ls                                  # get a list of files and folders
jotta-ls /Archive                         # list files and subfolders
      jotta-download /Archive/my-funky-file.pdf # get a specific file
      jotta-download /Archive/my-funky-folder   # get a whole folder

The program will put the files or folders in your current path.

What it looks like

https://asciinema.org/a/cvguybtx67n8fyzxu8vh8rmkp.png

My head hurts from all this command line nonsense, isn't there a graphical utility avaliable?! Give me something to click on!

This will probably work on Windows, OS X and Linux.

Yeah. We hear you. Nothing amazing exists. Yet. (This is your shot! Make something nice and become famous!)

There is a simple tool available, jottagui, but feel free to come up with your own ideas.