Skip to content

Instantly share code, notes, and snippets.

@ErikFontanel
Last active July 12, 2023 08:28
Show Gist options
  • Save ErikFontanel/6091176c56517c2c0ea2e5acb1f716fb to your computer and use it in GitHub Desktop.
Save ErikFontanel/6091176c56517c2c0ea2e5acb1f716fb to your computer and use it in GitHub Desktop.
run jottacloud-command-line-tool on busybox/optware
  1. Install ca-bundle opkg update && opkg install ca-bundle if not already installed for https
  2. Download the binary from https://repo.jotta.us/archives/linux/arm64/ and untar in /opt/jotta-cli
  3. cd into the jotta-cli dir
  4. Modify source=/usr/share/jottad to source="/opt/usr/share/jottad" /in ./usr/share/jottad/install.sh
  5. run ./usr/share/jottad/install.sh and ./usr/share/jottad/install-path.sh
  6. modify group=jottad to group=tmusers and add umask=0002 in /etc/init.d/jottad
  7. create the jottad data directory mkdir -p /opt/.jottad
  8. Start jottad with start-stop-daemon -b -x /opt/bin/jottad slow lowmem datadir /opt/.jottad -S (add this to /etc/rc.local to start automatically)
  9. Login jotta-cli login
  10. and add folders to sync with jotta-cli add /some/path/to/backups
  11. optionally: pause jotta from 07:00 until 01:00 (crontab -l ; echo "0 7 * * * root /opt/bin/jotta-cli pause 15h")| crontab -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment