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