jotta-cli list downloadinfoto
jotta-cli list downloaderrorsand reenabled the commands --downloadid flag
- Downloaded files now have the modified date from the server set
jotta-cli logfilewhich prints the full path of the logfile
jotta-cli dumpwhich prints a simplified version of the entire backup set as json to stdout. Useful if you want to look at the state of backup programatically.
- Fixed a crash in the jotta-cli binary that could occur using
- Renewed jottad/jottacli certificates. They can talk to eachother again
- Fixed freebsd issues adding folders to backup
jotta-cli archive --remoteback after accidentally removing in the first 0.5 release
- Added content-type application/json to webhook post requests
- Fixed a few issues related to interacting with downloads when jottad is paused
Changes to debian/redhat packages
- Setting correct permissions for config and data directories. This will also fix any wrong permissions from previous installs when upgrading
- Managed service for jottad, will start and restart jottad upon installation and upgrade. This will also enable start of jottad on computer restart
- Restructured the jotta-cli menu and command structure. See
jotta-cli command -hfor more information.
- Added download of files and folders
# initiate a download
jotta-cli download /path/to/file/or/folder path/to/localdestination
# abort an ongoing or clear a finished download
jotta-cli download --abort=downloadid
# list downloads
jotta-cli list downloads
# list information about a finished download
jotta-cli list downloadinfo --downloadid=downloadid
# watch download progress
jotta-cli download --watch
# more information
jotta-cli download -h
- Added bash completion for all jotta-cli commands on linux and MacOS. There is also dynamic bash completion for the
jotta-cli lscommands. Try it using
jotta-cli download [TABTAB]or
jotta-cli ls [TABTAB]more information
jotta-cli lswhich lets users browse their remote filesystems. This is useful on windows where bash completion is not availiable or if you are using a non-bash shell.
- Added screenshotscapture for MacOS. When enabled it will automatically upload any screenshots detected and and prepare a sharelink for the screenshot on your clipboard.
jotta-cli config set screenshotscapture trueto enable.
- Added ratelimiting of uploads and downloads
jotta-cli config set downloadrate/uploadrate rate
# set downloadrate to 5MB/s
jotta-cli config set downloadrate 5m
# more examples of rates:
# 512K (512 KB/s)
# 10M (10 MB/s)
# 0 (unlimited)
- Added a few config settings:
# for more information about changing the configuration
jotta-cli config set -h
# to see current configuration
jotta-cli config get
# change download or upload rate
# units are for example: 512k 1m 2m 0(unlimited)
jotta-cli config set downloadrate rate
jotta-cli config set uploadrate rate
# change how much resources(cpu/disk) jottad uses when scanning.
# higher value means slower scan.
# units are [0-50]
jotta-cli config set slowmomode 20
# write all upload and downloads to the logfile
jotta-cli config set logtransfers true
# MacOS only. Capture and share screenshots
jotta-cli config set screenshotscapture true
- Fixed a number of issues related to adding various filesystems included remote mounted filesystems to backup. More filesystems can now be added to backup. Detection of unmounting is now done using the filesystemid given by
stat -f format=%i. A change of the filesystemid of the rootfolder will stop backup and present a warning to
- Fixed a bug causing incorrect evalution of .jottaignore rules
- Added support for additional filesystems (documentation)
jotta-cli pause duration(documentation)
- Fixed a few bugs related to validation of paths during
jotta-cli add path
- Added support for FreeBSD (how to install)
With the 0.4 release we will introduce some potentially breaking changes to the deb and rpm packages.
- Added post and pre install script to detect currect init system to install correct init-script (sysvinit/upstart/systemd). This will cause any previous init-scripts to be removed, so be sure to backup these first as they are not marked as config-files in the current release and will not be preserved by local changes to them.
- Added default user jottad for running the daemon. This will also create a new default location for the datadir in
/var/lib/jottad, and thus log you out of your account. To mitigate this copy any existing config and auths from
$HOME/.jottadafter installation and restart the daemon. You should also make sure they are owned by the new user by issuing
chown -R jottad:jottad /var/lib/jottadafter copying the files. If you are using a custom datadir that datadir will still be used and you will not be logged out unless jottad no longer has access to the datadir.
Running as a not-root user by default will decrease security vulnerabilities but will also have the effect of jottad not being able to read any files not accessable by the jottad user or group. To mitigate this either:
- Change the running user of the process by editing
- Make the files accessible by adding the jottad user to a group with access to the files
chmod-ing the files to make them accessible
- Added customizable application data directory
- Changed archive --remote behaviour. No longer prefix with devicename
- Initial release