Skip to main content

Various clients and tools for JottaCloud.com

Project description

JOTTA CLOUD CLIENT

A cli friendly sync client for JottaCloud.

It will sync your directory tree with JottaCloud, just like the official client.

Note. This a third-party, not an official client.

Is it safe?

Being based on a reverse engineering of the protocol, things may break in unexpected ways. Don’t rely on this as your sole backup unless you manually verify that the data is correctly transferred. The authors won’t be held responsible for any data loss.

How to get it

Run

pip install jottacloudclient

How to use it

Run jottacloudclientscanner.py at some interval:

python jottacloudclientscanner.py <top dir of your local tree> <the mount point on jottacloud>

The top dir is just an existing directory on your system that you want to backup.

The mount point is a path on JottaCloud. It’s put together from a combination of an existing device name, an existing backupdir and a folder name (that will be created if it doesn’t exist). Like this: /<devicename>/<backupdir>/<foldername>

Example:

python jottacloudclientscanner.py /mnt/pictures /mybox/backup/pictures

How it works

The basic operation on the JottaCloud servers is to make file level backups. Unlike data-level protocols like rsync, the JottaCloud protocol does not seem to support delta encoding, so file syncing needs to happen by copying the full file content.

To determine if a file needs to be updated, Jotta Cloud Client will compare the md5 hash of the local file with the one that the JottaCloud server reports. If the hashes differ, the client will upload the file. This is akin to how the official JottaCloud client works.

Setup

The program needs to know your password to JottaCloud. There are two ways to do this.

.netrc

Create a $HOME/.netrc file with this entry:

machine jottacloud
        login <yourusername>
        password <yourpassword>

Make sure noone else can see it: chmod 0600 $HOME/.netrc.

environment variables

Add JOTTACLOUD_USERNAME AND JOTTACLOUD_PASSWORD as variables in the running environment:

export JOTTACLOUD_USERNAME=<username> JOTTACLOUD_PASSWORD=<password>

But it’s not finished!

But it’s not very advanced!

Geez, you should’ve added super bright idea already!

Want to help out? Read the HACKING.md document and get cracking!

Send pull requests to the git tree or start fleshing out details in a bug report.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jottacloudclient-0.3.0-1.tar.gz (30.1 kB view details)

Uploaded Source

File details

Details for the file jottacloudclient-0.3.0-1.tar.gz.

File metadata

File hashes

Hashes for jottacloudclient-0.3.0-1.tar.gz
Algorithm Hash digest
SHA256 6f47cdf7c6231de26e7f2c68e52ca791040b71f50cffb906779350be0d699ae2
MD5 f6bb365ef39d8d8d96e876d2d24b581e
BLAKE2b-256 dc9f9c2b76d5181671be21e5bc743395b76a2df6ee156484150930412c9dba5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page