


babasic 0 0 0 random false 0 0 -1 false false false 25. The following shows an example of a default configuration file (IDs will differ): dbĪ directory holding the database with metadata and hashes of the filesĬurrently on disk and available from peers. The database contains the following files: index- *. home flag sets both config and database locations at the same time. The location of the database can be changed using the -data flag. Use the old default location (same as config). If ~/.local/share/syncthing exists, use that location. If $XDG_DATA_HOME is set, use $XDG_DATA_HOME/syncthing. If a database exists in the old default location, that location is The database is stored either in the same directory as the config (usually theĭefault), but may also be located in one of the following directories (Unix-like csrftokens.txtĪ list of recently issued CSRF tokens (for protection against browser cross With a custom certificate for HTTPS as desired. The certificate and key for HTTPS GUI connections. The device’s ECDSA public and private key. In this directory the following files are (Unix-like), $HOME/Library/Application Support/Syncthing (Mac), The config location defaults to $HOME/.config/syncthing Syncthing also has a database, which is often stored in this directory too.

Syncthing uses a single directory to store configuration and crypto keys. Previously the database wasĪlways located in the same directory as the config. New in version 1.5.0: Database and config can now be set separately.
