Skip to content
← All posts

GuidePro

Sync your workouts with your own server over SFTP or FTP

Pavel Klečanský2 min read

The Sync page in JinLog and the SFTP and FTP page in the app

If you have your own server, a VPS or a NAS with SSH, your workouts can live there. Plain SFTP or FTP access is all it takes, no other service. Sync is part of JinLog Pro and works in the Android app.

What you need

  • the server address (and port, if it is not the default),
  • a user name and password,
  • a folder on the server to keep the workouts in.

Which kind of connection

Kind What it is Advice
SFTP files over SSH, encrypted the best choice; almost every Linux server has it
FTPS FTP over TLS, encrypted when the server has no SSH
FTP unencrypted only on your home network; the password and workouts travel readable

How to turn it on

The Sync page and the SFTP and FTP form, the kind of connection at the top and the folder further down Screens from the JinLog app.

  1. Open More → Sync and choose SFTP, FTP.
  2. Under Kind of connection, choose SFTP, FTPS or FTP.
  3. Fill in the Server address, the Port if needed, the User name and the Password.
  4. Under Folder on the server, enter the path. Without a leading slash it starts where the account logs in (e.g. JinLog); with one it starts at the root (e.g. /srv/jinlog). A folder that is not there is created.
  5. Tap Connect and sync.

The server’s key (SFTP)

On the first connection JinLog remembers the fingerprint of the server’s SSH key. If the server later shows a different key, the app stops and shows the new fingerprint. Tap Trust the new key only when you know why the key changed (you reinstalled the server, say). Otherwise it may be someone posing as your server.

What shows up in the folder

workouts/2026/2026-12-01_….jinlog   ← one workout, one text file
exercises.json                       ← your exercises and own names
plans.json                           ← training plans
jinlog.json                          ← favourite exercises

JinLog does not read or delete other files in the folder.

Things to watch

  • A server has no history. Unlike Git, a deleted file does not come back from the folder. Set up backups as well (More → Backups elsewhere).
  • An empty folder stops sync. When the folder is suddenly empty though it held workouts last time, JinLog stops with an error instead of deleting the workouts on the phone too.
  • The password is kept in the app’s private storage, away from the data and backups.
  • Each file is written under a temporary name and only then renamed, so a half-written file cannot appear even when the connection drops.

Questions

Does it work on the web?

No. A browser cannot open an SFTP or FTP connection. On the web, use Git, WebDAV, Dropbox or Google Drive.

Can I log in with an SSH key?

In the Android app, only with a password for now.

How do I turn sync off?

Tap Disconnect server. The files on the server and the workouts on your phone stay.

Did this post help?

More from the blog