UPDATES 2021-07-03
UPDATES 2019-12-28
This container provides the JottaCloud cli for backup to the JottaCloud service. You need to provide:
Backup your NAS volumes to Jottacloud using the jotta-cli command line tool.
You can add multiple NAS volumes to the container for backup.
Jottacloud is a Norwegion service providing storage and backup services. Jottacloud unlimited subscription is low priced, making it an interesting backup option.
The jotta-cli command line tool is software designed for running on servers or headless systems. It is additional to the Jottacloud Client that integrates with your OS or mobile device to provide a cloud drive service.
The container is available from the Docker registry and this is the simplest way to get it. To run the container use this command:
$ docker run -d \
-v /your/config/path/:/config \
-v /your/backup/path1/:/backup/path1 \
-e JOTTA_TOKEN=yourverylongjottacloudtoken \
-e JOTTA_DEVICE=devicename \
-e JOTTA_SCANINTERVAL=scaninterval\
-e LOCALTIME=path_to_time_zonefile
-e PUID=ID of user for running Jottad \
-e PGID=ID of group for running Jottad
-e RE_INIT=false|true
-p 14443:14443 \
jaco1960/jottacloud
You can add as many backup paths as you want, by adding a volume entry per backup path and
mapping this to a folder within the backup foler, e.g.: -v /your/backup/pathX/:/backup/pathX
| Variable | Function | Example |
|---|---|---|
JOTTA_TOKEN | Your JottaCloud personal login token | JOTTA_TOKEN=yourverylongjottacloudtoken |
JOTTA_DEVICE | The Device name for the JottaCloud backups | JOTTA_DEVICE=MyDevice |
JOTTA_SCANINTERVAL | The scaninterval for the JottaCloud backups | JOTTA_SCANINTERVAL=1h |
LOCALTIME | The path to the timezone file in the docker image | LOCALTIME=/usr/share/zoneinfo/Europe/Amsterdam |
For more information on the timezone file see https://packages.debian.org/sid/all/tzdata/filelist
Your JottaCloud personal login token can only be used once and for a short period of time to login. When you setup the docker, make sure you are using a fresh generated token from Jottacloud. Once the docker is logged in, it will remain logged in after restarts.
By default everything will run as the jottad user. However, it is possible to change who runs the jottad process. You may set the following parameters to customize the user id that runs the jottad deamon and the group id.
| Variable | Function | Example |
|---|---|---|
PUID | Sets the user id who will run jottad | PUID=101 |
PGID | Sets the group id for the jottad user | PGID=101 |
You can provide a global ignore file to have jotta ignore files and folders for backup. For more information see https://docs.jottacloud.com/en/articles/1437235-ignoring-files-and-folders-from-backup-with-jottacloud-cli
You should place your file in the config volume and name it "ignorefiles". For a Synology NAS a sample file that ignores the Synology recycle bin folder is:
# Created by https://www.gitignore.io/api/osx
### OSX ###
*.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
*/._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# End of https://www.gitignore.io/api/osx
###Synology DiskStation###
# Recycle bin folder
\#recycle
Content type
Image
Digest
Size
72.4 MB
Last updated
about 5 years ago
docker pull jaco1960/jottacloud