2020-06-22 04:15:24 +00:00
|
|
|
|
.\" Man page generated from reStructuredText.
|
|
|
|
|
.
|
|
|
|
|
.
|
|
|
|
|
.nr rst2man-indent-level 0
|
|
|
|
|
.
|
|
|
|
|
.de1 rstReportMargin
|
|
|
|
|
\\$1 \\n[an-margin]
|
|
|
|
|
level \\n[rst2man-indent-level]
|
|
|
|
|
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
|
-
|
|
|
|
|
\\n[rst2man-indent0]
|
|
|
|
|
\\n[rst2man-indent1]
|
|
|
|
|
\\n[rst2man-indent2]
|
|
|
|
|
..
|
|
|
|
|
.de1 INDENT
|
|
|
|
|
.\" .rstReportMargin pre:
|
|
|
|
|
. RS \\$1
|
|
|
|
|
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
|
|
|
|
. nr rst2man-indent-level +1
|
|
|
|
|
.\" .rstReportMargin post:
|
|
|
|
|
..
|
|
|
|
|
.de UNINDENT
|
|
|
|
|
. RE
|
|
|
|
|
.\" indent \\n[an-margin]
|
|
|
|
|
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
|
.nr rst2man-indent-level -1
|
|
|
|
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|
|
|
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
|
|
|
|
..
|
2023-10-09 03:45:35 +00:00
|
|
|
|
.TH "SYNCTHING-CONFIG" "5" "Oct 05, 2023" "v1.25.0" "Syncthing"
|
2021-04-28 05:45:43 +00:00
|
|
|
|
.SH NAME
|
|
|
|
|
syncthing-config \- Syncthing Configuration
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
|
|
|
|
$HOME/.config/syncthing
|
|
|
|
|
$HOME/Library/Application Support/Syncthing
|
2021-02-10 06:45:27 +00:00
|
|
|
|
%LOCALAPPDATA%\eSyncthing
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
.sp
|
2021-01-27 06:45:21 +00:00
|
|
|
|
New in version 1.5.0: Database and config can now be set separately. Previously the database was
|
|
|
|
|
always located in the same directory as the config.
|
|
|
|
|
|
|
|
|
|
.sp
|
|
|
|
|
Syncthing uses a single directory to store configuration and crypto keys.
|
|
|
|
|
Syncthing also has a database, which is often stored in this directory too.
|
|
|
|
|
The config location defaults to \fB$HOME/.config/syncthing\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
(Unix\-like), \fB$HOME/Library/Application Support/Syncthing\fP (Mac),
|
2021-02-10 06:45:27 +00:00
|
|
|
|
or \fB%LOCALAPPDATA%\eSyncthing\fP (Windows). It can be changed at runtime
|
2021-06-02 05:45:38 +00:00
|
|
|
|
using the \fB\-\-config\fP flag. In this directory the following files are
|
2020-06-22 04:15:24 +00:00
|
|
|
|
located:
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B \fBconfig.xml\fP
|
|
|
|
|
The configuration file, in XML format.
|
|
|
|
|
.TP
|
|
|
|
|
.B \fBcert.pem\fP, \fBkey.pem\fP
|
|
|
|
|
The device’s ECDSA public and private key. These form the basis for the
|
|
|
|
|
device ID. The key must be kept private.
|
|
|
|
|
.TP
|
|
|
|
|
.B \fBhttps\-cert.pem\fP, \fBhttps\-key.pem\fP
|
|
|
|
|
The certificate and key for HTTPS GUI connections. These may be replaced
|
|
|
|
|
with a custom certificate for HTTPS as desired.
|
|
|
|
|
.TP
|
|
|
|
|
.B \fBcsrftokens.txt\fP
|
|
|
|
|
A list of recently issued CSRF tokens (for protection against browser cross
|
|
|
|
|
site request forgery).
|
|
|
|
|
.UNINDENT
|
2021-01-27 06:45:21 +00:00
|
|
|
|
.sp
|
|
|
|
|
The database is stored either in the same directory as the config (usually the
|
|
|
|
|
default), but may also be located in one of the following directories (Unix\-like
|
|
|
|
|
platforms only):
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.IP \(bu 2
|
|
|
|
|
If a database exists in the old default location, that location is
|
|
|
|
|
still used.
|
|
|
|
|
.IP \(bu 2
|
|
|
|
|
If \fB$XDG_DATA_HOME\fP is set, use \fB$XDG_DATA_HOME/syncthing\fP\&.
|
|
|
|
|
.IP \(bu 2
|
|
|
|
|
If \fB~/.local/share/syncthing\fP exists, use that location.
|
|
|
|
|
.IP \(bu 2
|
|
|
|
|
Use the old default location (same as config).
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
2021-06-02 05:45:38 +00:00
|
|
|
|
The location of the database can be changed using the \fB\-\-data\fP flag. The
|
|
|
|
|
\fB\-\-home\fP flag sets both config and database locations at the same time.
|
2021-01-27 06:45:21 +00:00
|
|
|
|
The database contains the following files:
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B \fBindex\-\fP\fI*\fP\fB\&.db\fP
|
|
|
|
|
A directory holding the database with metadata and hashes of the files
|
|
|
|
|
currently on disk and available from peers.
|
|
|
|
|
.UNINDENT
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.SH CONFIG FILE FORMAT
|
|
|
|
|
.sp
|
2021-03-17 06:45:40 +00:00
|
|
|
|
The following shows an example of a default configuration file (IDs will differ):
|
|
|
|
|
.sp
|
|
|
|
|
\fBNOTE:\fP
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
The config examples are present for illustration. Do \fBnot\fP copy them
|
|
|
|
|
entirely to use as your config. They are likely out\-of\-date and the values
|
|
|
|
|
may no longer correspond to the defaults.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<configuration version=\(dq37\(dq>
|
|
|
|
|
<folder id=\(dqdefault\(dq label=\(dqDefault Folder\(dq path=\(dq/Users/jb/Sync/\(dq type=\(dqsendreceive\(dq rescanIntervalS=\(dq3600\(dq fsWatcherEnabled=\(dqtrue\(dq fsWatcherDelayS=\(dq10\(dq ignorePerms=\(dqfalse\(dq autoNormalize=\(dqtrue\(dq>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<filesystemType>basic</filesystemType>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<device id=\(dqS7UKX27\-GI7ZTXS\-GC6RKUA\-7AJGZ44\-C6NAYEB\-HSKTJQK\-KJHU2NO\-CWV7EQW\(dq introducedBy=\(dq\(dq>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<encryptionPassword></encryptionPassword>
|
|
|
|
|
</device>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<minDiskFree unit=\(dq%\(dq>1</minDiskFree>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<versioning>
|
|
|
|
|
<cleanupIntervalS>3600</cleanupIntervalS>
|
|
|
|
|
<fsPath></fsPath>
|
|
|
|
|
<fsType>basic</fsType>
|
|
|
|
|
</versioning>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<copiers>0</copiers>
|
|
|
|
|
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
|
|
|
|
|
<hashers>0</hashers>
|
|
|
|
|
<order>random</order>
|
|
|
|
|
<ignoreDelete>false</ignoreDelete>
|
|
|
|
|
<scanProgressIntervalS>0</scanProgressIntervalS>
|
|
|
|
|
<pullerPauseS>0</pullerPauseS>
|
|
|
|
|
<maxConflicts>\-1</maxConflicts>
|
|
|
|
|
<disableSparseFiles>false</disableSparseFiles>
|
|
|
|
|
<disableTempIndexes>false</disableTempIndexes>
|
|
|
|
|
<paused>false</paused>
|
|
|
|
|
<weakHashThresholdPct>25</weakHashThresholdPct>
|
|
|
|
|
<markerName>.stfolder</markerName>
|
|
|
|
|
<copyOwnershipFromParent>false</copyOwnershipFromParent>
|
|
|
|
|
<modTimeWindowS>0</modTimeWindowS>
|
|
|
|
|
<maxConcurrentWrites>2</maxConcurrentWrites>
|
|
|
|
|
<disableFsync>false</disableFsync>
|
|
|
|
|
<blockPullOrder>standard</blockPullOrder>
|
|
|
|
|
<copyRangeMethod>standard</copyRangeMethod>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<caseSensitiveFS>false</caseSensitiveFS>
|
|
|
|
|
<junctionsAsDirs>false</junctionsAsDirs>
|
2022-08-01 04:20:52 +00:00
|
|
|
|
<syncOwnership>false</syncOwnership>
|
2022-09-19 04:32:50 +00:00
|
|
|
|
<sendOwnership>false</sendOwnership>
|
2022-10-10 04:24:03 +00:00
|
|
|
|
<syncXattrs>false</syncXattrs>
|
|
|
|
|
<sendXattrs>false</sendXattrs>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
</folder>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<device id=\(dqS7UKX27\-GI7ZTXS\-GC6RKUA\-7AJGZ44\-C6NAYEB\-HSKTJQK\-KJHU2NO\-CWV7EQW\(dq name=\(dqsyno\(dq compression=\(dqmetadata\(dq introducer=\(dqfalse\(dq skipIntroductionRemovals=\(dqfalse\(dq introducedBy=\(dq\(dq>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<address>dynamic</address>
|
|
|
|
|
<paused>false</paused>
|
|
|
|
|
<autoAcceptFolders>false</autoAcceptFolders>
|
|
|
|
|
<maxSendKbps>0</maxSendKbps>
|
|
|
|
|
<maxRecvKbps>0</maxRecvKbps>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<ignoredFolder time=\(dq2022\-01\-09T19:09:52Z\(dq id=\(dqbr63e\-wyhb7\(dq label=\(dqFoo\(dq></ignoredFolder>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<maxRequestKiB>0</maxRequestKiB>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<untrusted>false</untrusted>
|
2021-01-06 06:45:28 +00:00
|
|
|
|
<remoteGUIPort>0</remoteGUIPort>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
</device>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<gui enabled=\(dqtrue\(dq tls=\(dqfalse\(dq debugging=\(dqfalse\(dq>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<address>127.0.0.1:8384</address>
|
|
|
|
|
<apikey>k1dnz1Dd0rzTBjjFFh7CXPnrF12C49B1</apikey>
|
|
|
|
|
<theme>default</theme>
|
|
|
|
|
</gui>
|
|
|
|
|
<ldap></ldap>
|
|
|
|
|
<options>
|
2021-03-17 06:45:40 +00:00
|
|
|
|
<listenAddress>default</listenAddress>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<globalAnnounceServer>default</globalAnnounceServer>
|
|
|
|
|
<globalAnnounceEnabled>true</globalAnnounceEnabled>
|
|
|
|
|
<localAnnounceEnabled>true</localAnnounceEnabled>
|
|
|
|
|
<localAnnouncePort>21027</localAnnouncePort>
|
|
|
|
|
<localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
|
|
|
|
|
<maxSendKbps>0</maxSendKbps>
|
|
|
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
|
|
|
<reconnectionIntervalS>60</reconnectionIntervalS>
|
|
|
|
|
<relaysEnabled>true</relaysEnabled>
|
|
|
|
|
<relayReconnectIntervalM>10</relayReconnectIntervalM>
|
|
|
|
|
<startBrowser>true</startBrowser>
|
|
|
|
|
<natEnabled>true</natEnabled>
|
|
|
|
|
<natLeaseMinutes>60</natLeaseMinutes>
|
|
|
|
|
<natRenewalMinutes>30</natRenewalMinutes>
|
|
|
|
|
<natTimeoutSeconds>10</natTimeoutSeconds>
|
|
|
|
|
<urAccepted>0</urAccepted>
|
|
|
|
|
<urSeen>0</urSeen>
|
|
|
|
|
<urUniqueID></urUniqueID>
|
|
|
|
|
<urURL>https://data.syncthing.net/newdata</urURL>
|
|
|
|
|
<urPostInsecurely>false</urPostInsecurely>
|
|
|
|
|
<urInitialDelayS>1800</urInitialDelayS>
|
|
|
|
|
<autoUpgradeIntervalH>12</autoUpgradeIntervalH>
|
|
|
|
|
<upgradeToPreReleases>false</upgradeToPreReleases>
|
|
|
|
|
<keepTemporariesH>24</keepTemporariesH>
|
|
|
|
|
<cacheIgnoredFiles>false</cacheIgnoredFiles>
|
|
|
|
|
<progressUpdateIntervalS>5</progressUpdateIntervalS>
|
|
|
|
|
<limitBandwidthInLan>false</limitBandwidthInLan>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<minHomeDiskFree unit=\(dq%\(dq>1</minHomeDiskFree>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<releasesURL>https://upgrades.syncthing.net/meta.json</releasesURL>
|
|
|
|
|
<overwriteRemoteDeviceNamesOnConnect>false</overwriteRemoteDeviceNamesOnConnect>
|
|
|
|
|
<tempIndexMinBlocks>10</tempIndexMinBlocks>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<unackedNotificationID>authenticationUserAndPassword</unackedNotificationID>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<trafficClass>0</trafficClass>
|
|
|
|
|
<setLowPriority>true</setLowPriority>
|
|
|
|
|
<maxFolderConcurrency>0</maxFolderConcurrency>
|
|
|
|
|
<crashReportingURL>https://crash.syncthing.net/newcrash</crashReportingURL>
|
|
|
|
|
<crashReportingEnabled>true</crashReportingEnabled>
|
|
|
|
|
<stunKeepaliveStartS>180</stunKeepaliveStartS>
|
|
|
|
|
<stunKeepaliveMinS>20</stunKeepaliveMinS>
|
|
|
|
|
<stunServer>default</stunServer>
|
|
|
|
|
<databaseTuning>auto</databaseTuning>
|
|
|
|
|
<maxConcurrentIncomingRequestKiB>0</maxConcurrentIncomingRequestKiB>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<announceLANAddresses>true</announceLANAddresses>
|
|
|
|
|
<sendFullIndexOnUpgrade>false</sendFullIndexOnUpgrade>
|
|
|
|
|
<connectionLimitEnough>0</connectionLimitEnough>
|
|
|
|
|
<connectionLimitMax>0</connectionLimitMax>
|
|
|
|
|
<insecureAllowOldTLSVersions>false</insecureAllowOldTLSVersions>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
</options>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<remoteIgnoredDevice time=\(dq2022\-01\-09T20:02:01Z\(dq id=\(dq5SYI2FS\-LW6YAXI\-JJDYETS\-NDBBPIO\-256MWBO\-XDPXWVG\-24QPUM4\-PDW4UQU\(dq name=\(dqbugger\(dq address=\(dq192.168.0.20:22000\(dq></remoteIgnoredDevice>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<defaults>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<folder id=\(dq\(dq label=\(dq\(dq path=\(dq~\(dq type=\(dqsendreceive\(dq rescanIntervalS=\(dq3600\(dq fsWatcherEnabled=\(dqtrue\(dq fsWatcherDelayS=\(dq10\(dq ignorePerms=\(dqfalse\(dq autoNormalize=\(dqtrue\(dq>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<filesystemType>basic</filesystemType>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<device id=\(dqS7UKX27\-GI7ZTXS\-GC6RKUA\-7AJGZ44\-C6NAYEB\-HSKTJQK\-KJHU2NO\-CWV7EQW\(dq introducedBy=\(dq\(dq>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<encryptionPassword></encryptionPassword>
|
|
|
|
|
</device>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<minDiskFree unit=\(dq%\(dq>1</minDiskFree>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<versioning>
|
|
|
|
|
<cleanupIntervalS>3600</cleanupIntervalS>
|
|
|
|
|
<fsPath></fsPath>
|
|
|
|
|
<fsType>basic</fsType>
|
|
|
|
|
</versioning>
|
|
|
|
|
<copiers>0</copiers>
|
|
|
|
|
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
|
|
|
|
|
<hashers>0</hashers>
|
|
|
|
|
<order>random</order>
|
|
|
|
|
<ignoreDelete>false</ignoreDelete>
|
|
|
|
|
<scanProgressIntervalS>0</scanProgressIntervalS>
|
|
|
|
|
<pullerPauseS>0</pullerPauseS>
|
|
|
|
|
<maxConflicts>10</maxConflicts>
|
|
|
|
|
<disableSparseFiles>false</disableSparseFiles>
|
|
|
|
|
<disableTempIndexes>false</disableTempIndexes>
|
|
|
|
|
<paused>false</paused>
|
|
|
|
|
<weakHashThresholdPct>25</weakHashThresholdPct>
|
|
|
|
|
<markerName>.stfolder</markerName>
|
|
|
|
|
<copyOwnershipFromParent>false</copyOwnershipFromParent>
|
|
|
|
|
<modTimeWindowS>0</modTimeWindowS>
|
|
|
|
|
<maxConcurrentWrites>2</maxConcurrentWrites>
|
|
|
|
|
<disableFsync>false</disableFsync>
|
|
|
|
|
<blockPullOrder>standard</blockPullOrder>
|
|
|
|
|
<copyRangeMethod>standard</copyRangeMethod>
|
|
|
|
|
<caseSensitiveFS>false</caseSensitiveFS>
|
|
|
|
|
<junctionsAsDirs>false</junctionsAsDirs>
|
2022-08-01 04:20:52 +00:00
|
|
|
|
<syncOwnership>false</syncOwnership>
|
2022-09-19 04:32:50 +00:00
|
|
|
|
<sendOwnership>false</sendOwnership>
|
2022-10-10 04:24:03 +00:00
|
|
|
|
<syncXattrs>false</syncXattrs>
|
|
|
|
|
<sendXattrs>false</sendXattrs>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
</folder>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<device id=\(dq\(dq compression=\(dqmetadata\(dq introducer=\(dqfalse\(dq skipIntroductionRemovals=\(dqfalse\(dq introducedBy=\(dq\(dq>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<address>dynamic</address>
|
|
|
|
|
<paused>false</paused>
|
|
|
|
|
<autoAcceptFolders>false</autoAcceptFolders>
|
|
|
|
|
<maxSendKbps>0</maxSendKbps>
|
|
|
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
|
|
|
<maxRequestKiB>0</maxRequestKiB>
|
|
|
|
|
<untrusted>false</untrusted>
|
|
|
|
|
<remoteGUIPort>0</remoteGUIPort>
|
|
|
|
|
</device>
|
|
|
|
|
</defaults>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
</configuration>
|
|
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.SH CONFIGURATION ELEMENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<configuration version=\(dq37\(dq>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<folder></folder>
|
|
|
|
|
<device></device>
|
|
|
|
|
<gui></gui>
|
|
|
|
|
<ldap></ldap>
|
|
|
|
|
<options></options>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<remoteIgnoredDevice></remoteIgnoredDevice>
|
|
|
|
|
<defaults></defaults>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
</configuration>
|
|
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
|
|
|
|
This is the root element. It has one attribute:
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B version
|
|
|
|
|
The config version. Increments whenever a change is made that requires
|
|
|
|
|
migration from previous formats.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
2022-01-10 13:48:17 +00:00
|
|
|
|
It contains the elements described in the following sections and any number of
|
|
|
|
|
this additional child element:
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
2022-01-10 13:48:17 +00:00
|
|
|
|
.B remoteIgnoredDevice
|
2020-06-22 04:15:24 +00:00
|
|
|
|
Contains the ID of the device that should be ignored. Connection attempts
|
|
|
|
|
from this device are logged to the console but never displayed in the web
|
|
|
|
|
GUI.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.SH FOLDER ELEMENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<folder id=\(dqdefault\(dq label=\(dqDefault Folder\(dq path=\(dq/Users/jb/Sync/\(dq type=\(dqsendreceive\(dq rescanIntervalS=\(dq3600\(dq fsWatcherEnabled=\(dqtrue\(dq fsWatcherDelayS=\(dq10\(dq ignorePerms=\(dqfalse\(dq autoNormalize=\(dqtrue\(dq>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<filesystemType>basic</filesystemType>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<device id=\(dqS7UKX27\-GI7ZTXS\-GC6RKUA\-7AJGZ44\-C6NAYEB\-HSKTJQK\-KJHU2NO\-CWV7EQW\(dq introducedBy=\(dq\(dq>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<encryptionPassword></encryptionPassword>
|
|
|
|
|
</device>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<minDiskFree unit=\(dq%\(dq>1</minDiskFree>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<versioning>
|
|
|
|
|
<cleanupIntervalS>3600</cleanupIntervalS>
|
|
|
|
|
<fsPath></fsPath>
|
|
|
|
|
<fsType>basic</fsType>
|
|
|
|
|
</versioning>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<copiers>0</copiers>
|
|
|
|
|
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
|
|
|
|
|
<hashers>0</hashers>
|
|
|
|
|
<order>random</order>
|
|
|
|
|
<ignoreDelete>false</ignoreDelete>
|
|
|
|
|
<scanProgressIntervalS>0</scanProgressIntervalS>
|
|
|
|
|
<pullerPauseS>0</pullerPauseS>
|
|
|
|
|
<maxConflicts>\-1</maxConflicts>
|
|
|
|
|
<disableSparseFiles>false</disableSparseFiles>
|
|
|
|
|
<disableTempIndexes>false</disableTempIndexes>
|
|
|
|
|
<paused>false</paused>
|
|
|
|
|
<weakHashThresholdPct>25</weakHashThresholdPct>
|
|
|
|
|
<markerName>.stfolder</markerName>
|
|
|
|
|
<copyOwnershipFromParent>false</copyOwnershipFromParent>
|
|
|
|
|
<modTimeWindowS>0</modTimeWindowS>
|
|
|
|
|
<maxConcurrentWrites>2</maxConcurrentWrites>
|
|
|
|
|
<disableFsync>false</disableFsync>
|
|
|
|
|
<blockPullOrder>standard</blockPullOrder>
|
|
|
|
|
<copyRangeMethod>standard</copyRangeMethod>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<caseSensitiveFS>false</caseSensitiveFS>
|
|
|
|
|
<junctionsAsDirs>false</junctionsAsDirs>
|
2022-08-01 04:20:52 +00:00
|
|
|
|
<syncOwnership>false</syncOwnership>
|
2022-09-19 04:32:50 +00:00
|
|
|
|
<sendOwnership>false</sendOwnership>
|
2022-10-10 04:24:03 +00:00
|
|
|
|
<syncXattrs>false</syncXattrs>
|
|
|
|
|
<sendXattrs>false</sendXattrs>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
</folder>
|
|
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
|
|
|
|
One or more \fBfolder\fP elements must be present in the file. Each element
|
|
|
|
|
describes one folder. The following attributes may be set on the \fBfolder\fP
|
|
|
|
|
element:
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B id (mandatory)
|
|
|
|
|
The folder ID, which must be unique.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B label
|
|
|
|
|
The label of a folder is a human readable and descriptive local name. May
|
|
|
|
|
be different on each device, empty, and/or identical to other folder
|
|
|
|
|
labels. (optional)
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B filesystemType
|
|
|
|
|
The internal file system implementation used to access this folder, detailed
|
2023-09-18 03:45:31 +00:00
|
|
|
|
in a \fI\%separate chapter\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B path (mandatory)
|
2020-06-22 04:15:24 +00:00
|
|
|
|
The path to the directory where the folder is stored on this
|
2022-01-31 03:45:29 +00:00
|
|
|
|
device; not sent to other devices.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B type
|
|
|
|
|
Controls how the folder is handled by Syncthing. Possible values are:
|
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBsendreceive\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
The folder is in default mode. Sending local and accepting remote changes.
|
|
|
|
|
Note that this type was previously called “readwrite” which is deprecated
|
|
|
|
|
but still accepted in incoming configs.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBsendonly\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
The folder is in “send only” mode – it will not be modified by
|
|
|
|
|
Syncthing on this device.
|
|
|
|
|
Note that this type was previously called “readonly” which is deprecated
|
|
|
|
|
but still accepted in incoming configs.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBreceiveonly\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
The folder is in “receive only” mode – it will not propagate
|
|
|
|
|
changes to other devices.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B \fBreceiveencrypted\fP
|
|
|
|
|
Must be used on untrusted devices, where the data cannot be decrypted
|
2023-09-18 03:45:31 +00:00
|
|
|
|
because no folder password was entered. See \fI\%Untrusted (Encrypted) Devices\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B rescanIntervalS
|
2021-08-18 05:45:38 +00:00
|
|
|
|
The rescan interval, in seconds. Can be set to \fB0\fP to disable when external
|
2020-06-22 04:15:24 +00:00
|
|
|
|
plugins are used to trigger rescans.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B fsWatcherEnabled
|
2021-08-18 05:45:38 +00:00
|
|
|
|
If set to \fBtrue\fP, this detects changes to files in the folder and scans them.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B fsWatcherDelayS
|
|
|
|
|
The duration during which changes detected are accumulated, before a scan is
|
2022-01-31 03:45:29 +00:00
|
|
|
|
scheduled (only takes effect if \fI\%fsWatcherEnabled\fP is set to \fBtrue\fP).
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B ignorePerms
|
2022-01-31 03:45:29 +00:00
|
|
|
|
If \fBtrue\fP, files originating from this folder will be announced to remote
|
|
|
|
|
devices with the “no permission bits” flag. The remote devices will use
|
|
|
|
|
whatever their default permission setting is when creating the files. The
|
|
|
|
|
primary use case is for file systems that do not support permissions, such
|
|
|
|
|
as FAT, or environments where changing permissions is impossible.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B autoNormalize
|
2022-01-31 03:45:29 +00:00
|
|
|
|
Automatically correct UTF\-8 normalization errors found in file names. The
|
2023-09-18 03:45:31 +00:00
|
|
|
|
mechanism and how to set it up is described in a \fI\%separate chapter\fP\&.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
|
|
|
|
The following child elements may exist:
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B device
|
2022-01-31 03:45:29 +00:00
|
|
|
|
These must have the \fBid\fP attribute and can have an \fBintroducedBy\fP
|
|
|
|
|
attribute, identifying the device that introduced us to share this folder
|
|
|
|
|
with the given device. If the original introducer unshares this folder with
|
|
|
|
|
this device, our device will follow and unshare the folder (subject to
|
|
|
|
|
\fI\%skipIntroductionRemovals\fP being \fBfalse\fP on the introducer device).
|
|
|
|
|
.sp
|
2020-06-22 04:15:24 +00:00
|
|
|
|
All mentioned devices are those that will be sharing the folder in question.
|
|
|
|
|
Each mentioned device must have a separate \fBdevice\fP element later in the file.
|
|
|
|
|
It is customary that the local device ID is included in all folders.
|
|
|
|
|
Syncthing will currently add this automatically if it is not present in
|
|
|
|
|
the configuration file.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.sp
|
|
|
|
|
The \fBencryptionPassword\fP sub\-element contains the secret needed to decrypt
|
|
|
|
|
this folder’s data on the remote device. If left empty, the data is plainly
|
|
|
|
|
accessible (but still protected by the transport encryption). The mechanism
|
2023-09-18 03:45:31 +00:00
|
|
|
|
and how to set it up is described in a \fI\%separate chapter\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B minDiskFree
|
2022-01-31 03:45:29 +00:00
|
|
|
|
The minimum required free space that should be available on the disk this
|
|
|
|
|
folder resides. The folder will be stopped when the value drops below the
|
|
|
|
|
threshold. The element content is interpreted according to the given
|
|
|
|
|
\fBunit\fP attribute. Accepted \fBunit\fP values are \fB%\fP (percent of the disk
|
|
|
|
|
/ volume size), \fBkB\fP, \fBMB\fP, \fBGB\fP and \fBTB\fP\&. Set to zero to disable.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B versioning
|
|
|
|
|
Specifies a versioning configuration.
|
|
|
|
|
.sp
|
|
|
|
|
\fBSEE ALSO:\fP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.INDENT 7.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 3.5
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fI\%File Versioning\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B copiers
|
|
|
|
|
.TP
|
|
|
|
|
.B hashers
|
|
|
|
|
The number of copier and hasher routines to use, or \fB0\fP for the
|
|
|
|
|
system determined optimums. These are low\-level performance options for
|
2020-06-22 04:15:24 +00:00
|
|
|
|
advanced users only; do not change unless requested to or you’ve actually
|
|
|
|
|
read and understood the code yourself. :)
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B pullerMaxPendingKiB
|
|
|
|
|
Controls when we stop sending requests to other devices once we’ve got this
|
|
|
|
|
much unserved requests. The number of pullers is automatically adjusted
|
|
|
|
|
based on this desired amount of outstanding request data.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B order
|
2022-01-31 03:45:29 +00:00
|
|
|
|
The order in which needed files should be pulled from the cluster. It has
|
|
|
|
|
no effect when the folder type is “send only”. The possibles values are:
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBrandom\fP (default)
|
2020-06-22 04:15:24 +00:00
|
|
|
|
Pull files in random order. This optimizes for balancing resources among
|
|
|
|
|
the devices in a cluster.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBalphabetic\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
Pull files ordered by file name alphabetically.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBsmallestFirst\fP, \fBlargestFirst\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
Pull files ordered by file size; smallest and largest first respectively.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBoldestFirst\fP, \fBnewestFirst\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
Pull files ordered by modification time; oldest and newest first
|
|
|
|
|
respectively.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
|
|
|
|
Note that the scanned files are sent in batches and the sorting is applied
|
|
|
|
|
only to the already discovered files. This means the sync might start with
|
|
|
|
|
a 1 GB file even if there is 1 KB file available on the source device until
|
|
|
|
|
the 1 KB becomes known to the pulling device.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B ignoreDelete
|
2021-02-17 06:45:43 +00:00
|
|
|
|
.
|
|
|
|
|
\fBWARNING:\fP
|
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.INDENT 3.5
|
2021-08-18 05:45:38 +00:00
|
|
|
|
Enabling this is highly discouraged \- use at your own risk. You have been warned.
|
2021-02-17 06:45:43 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
2021-08-18 05:45:38 +00:00
|
|
|
|
When set to \fBtrue\fP, this device will pretend not to see instructions to
|
2022-01-31 03:45:29 +00:00
|
|
|
|
delete files from other devices. The mechanism is described in a
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fI\%separate chapter\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B scanProgressIntervalS
|
2021-08-18 05:45:38 +00:00
|
|
|
|
The interval in seconds with which scan progress information is sent to the GUI. Setting to \fB0\fP
|
|
|
|
|
will cause Syncthing to use the default value of two.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B pullerPauseS
|
|
|
|
|
Tweak for rate limiting the puller when it retries pulling files. Don’t
|
2021-08-18 05:45:38 +00:00
|
|
|
|
change this unless you know what you’re doing.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B maxConflicts
|
|
|
|
|
The maximum number of conflict copies to keep around for any given file.
|
2021-08-18 05:45:38 +00:00
|
|
|
|
The default, \fB\-1\fP, means an unlimited number. Setting this to \fB0\fP disables
|
2020-06-22 04:15:24 +00:00
|
|
|
|
conflict copies altogether.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B disableSparseFiles
|
2021-08-18 05:45:38 +00:00
|
|
|
|
By default, blocks containing all zeros are not written, causing files
|
|
|
|
|
to be sparse on filesystems that support this feature. When set to \fBtrue\fP,
|
2020-06-22 04:15:24 +00:00
|
|
|
|
sparse files will not be created.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B disableTempIndexes
|
|
|
|
|
By default, devices exchange information about blocks available in
|
|
|
|
|
transfers that are still in progress, which allows other devices to
|
|
|
|
|
download parts of files that are not yet fully downloaded on your own
|
|
|
|
|
device, essentially making transfers more torrent like. When set to
|
2021-08-18 05:45:38 +00:00
|
|
|
|
\fBtrue\fP, such information is not exchanged for this folder.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B paused
|
|
|
|
|
True if this folder is (temporarily) suspended.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B weakHashThresholdPct
|
|
|
|
|
Use weak hash if more than the given percentage of the file has changed. Set
|
2021-08-18 05:45:38 +00:00
|
|
|
|
to \fB\-1\fP to always use weak hash. Default is \fB25\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B markerName
|
|
|
|
|
Name of a directory or file in the folder root to be used as
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fI\%How do I serve a folder from a read only filesystem?\fP\&. Default is \fB\&.stfolder\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B copyOwnershipFromParent
|
|
|
|
|
On Unix systems, tries to copy file/folder ownership from the parent directory (the directory it’s located in).
|
2021-08-18 05:45:38 +00:00
|
|
|
|
Requires running Syncthing as a privileged user, or granting it additional capabilities (e.g. CAP_CHOWN on Linux).
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B modTimeWindowS
|
2021-02-03 06:45:28 +00:00
|
|
|
|
Allowed modification timestamp difference when comparing files for
|
|
|
|
|
equivalence. To be used on file systems which have unstable
|
|
|
|
|
modification timestamps that might change after being recorded
|
2021-08-18 05:45:38 +00:00
|
|
|
|
during the last write operation. Default is \fB2\fP on Android when the
|
|
|
|
|
folder is located on a FAT partition, and \fB0\fP otherwise.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B maxConcurrentWrites
|
2021-08-18 05:45:38 +00:00
|
|
|
|
Maximum number of concurrent write operations while syncing. Increasing this might increase or
|
|
|
|
|
decrease disk performance, depending on the underlying storage. Default is \fB2\fP\&.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B disableFsync
|
|
|
|
|
.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
\fBWARNING:\fP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.INDENT 7.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 3.5
|
|
|
|
|
This is a known insecure option \- use at your own risk.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
2022-01-31 03:45:29 +00:00
|
|
|
|
Disables committing file operations to disk before recording them in the
|
|
|
|
|
database. Disabling fsync can lead to data corruption. The mechanism is
|
2023-09-18 03:45:31 +00:00
|
|
|
|
described in a \fI\%separate chapter\fP\&.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B blockPullOrder
|
|
|
|
|
Order in which the blocks of a file are downloaded. This option controls how quickly different parts of the
|
|
|
|
|
file spread between the connected devices, at the cost of causing strain on the storage.
|
|
|
|
|
.sp
|
|
|
|
|
Available options:
|
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBstandard\fP (default)
|
2020-06-22 04:15:24 +00:00
|
|
|
|
The blocks of a file are split into N equal continuous sequences, where N is the number of connected
|
2021-08-18 05:45:38 +00:00
|
|
|
|
devices. Each device starts downloading its own sequence, after which it picks other devices
|
2020-06-22 04:15:24 +00:00
|
|
|
|
sequences at random. Provides acceptable data distribution and minimal spinning disk strain.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBrandom\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
The blocks of a file are downloaded in a random order. Provides great data distribution, but very taxing on
|
|
|
|
|
spinning disk drives.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBinOrder\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
The blocks of a file are downloaded sequentially, from start to finish. Spinning disk drive friendly, but provides
|
|
|
|
|
no improvements to data distribution.
|
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B copyRangeMethod
|
2022-01-31 03:45:29 +00:00
|
|
|
|
Provides a choice of method for copying data between files. This can be
|
|
|
|
|
used to optimise copies on network filesystems, improve speed of large
|
|
|
|
|
copies or clone the data using copy\-on\-write functionality if the underlying
|
2023-09-18 03:45:31 +00:00
|
|
|
|
filesystem supports it. The mechanism is described in a \fI\%separate
|
|
|
|
|
chapter\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B caseSensitiveFS
|
|
|
|
|
Affects performance by disabling the extra safety checks for case
|
|
|
|
|
insensitive filesystems. The mechanism and how to set it up is described in
|
2023-09-18 03:45:31 +00:00
|
|
|
|
a \fI\%separate chapter\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B junctionsAsDirs
|
|
|
|
|
NTFS directory junctions are treated as ordinary directories, if this is set
|
|
|
|
|
to \fBtrue\fP\&.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
2022-08-01 04:20:52 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B syncOwnership
|
|
|
|
|
File and directory ownership is synced when this is set to \fBtrue\fP\&. See
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fI\%syncOwnership\fP for more information.
|
2022-08-15 04:09:30 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
2022-09-19 04:32:50 +00:00
|
|
|
|
.B sendOwnership
|
2022-08-15 04:09:30 +00:00
|
|
|
|
File and directory ownership information is scanned when this is set to
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fBtrue\fP\&. See \fI\%sendOwnership\fP for more information.
|
2022-08-01 04:20:52 +00:00
|
|
|
|
.UNINDENT
|
2022-10-10 04:24:03 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B syncXattrs
|
|
|
|
|
File and directory extended attributes are synced when this is set to
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fBtrue\fP\&. See \fI\%syncXattrs\fP for more information.
|
2022-10-10 04:24:03 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B sendXattrs
|
|
|
|
|
File and directory extended attributes are scanned and sent to other
|
|
|
|
|
devices when this is set to \fBtrue\fP\&. See
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fI\%sendXattrs\fP for more information.
|
2022-10-10 04:24:03 +00:00
|
|
|
|
.UNINDENT
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.SH DEVICE ELEMENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<device id=\(dqS7UKX27\-GI7ZTXS\-GC6RKUA\-7AJGZ44\-C6NAYEB\-HSKTJQK\-KJHU2NO\-CWV7EQW\(dq name=\(dqsyno\(dq compression=\(dqmetadata\(dq introducer=\(dqfalse\(dq skipIntroductionRemovals=\(dqfalse\(dq introducedBy=\(dq2CYF2WQ\-AKZO2QZ\-JAKWLYD\-AGHMQUM\-BGXUOIS\-GYILW34\-HJG3DUK\-LRRYQAR\(dq>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<address>dynamic</address>
|
|
|
|
|
<paused>false</paused>
|
|
|
|
|
<autoAcceptFolders>false</autoAcceptFolders>
|
|
|
|
|
<maxSendKbps>0</maxSendKbps>
|
|
|
|
|
<maxRecvKbps>0</maxRecvKbps>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<ignoredFolder time=\(dq2022\-01\-09T19:09:52Z\(dq id=\(dqbr63e\-wyhb7\(dq label=\(dqFoo\(dq></ignoredFolder>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<maxRequestKiB>0</maxRequestKiB>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<untrusted>false</untrusted>
|
2021-01-06 06:45:28 +00:00
|
|
|
|
<remoteGUIPort>0</remoteGUIPort>
|
2023-09-11 03:45:45 +00:00
|
|
|
|
<numConnections>0</numConnections>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
</device>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<device id=\(dq2CYF2WQ\-AKZO2QZ\-JAKWLYD\-AGHMQUM\-BGXUOIS\-GYILW34\-HJG3DUK\-LRRYQAR\(dq name=\(dqsyno local\(dq compression=\(dqmetadata\(dq introducer=\(dqtrue\(dq skipIntroductionRemovals=\(dqfalse\(dq introducedBy=\(dq\(dq>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<address>tcp://192.0.2.1:22001</address>
|
|
|
|
|
<paused>true</paused>
|
|
|
|
|
<allowedNetwork>192.168.0.0/16</allowedNetwork>
|
|
|
|
|
<autoAcceptFolders>false</autoAcceptFolders>
|
|
|
|
|
<maxSendKbps>100</maxSendKbps>
|
|
|
|
|
<maxRecvKbps>100</maxRecvKbps>
|
|
|
|
|
<maxRequestKiB>65536</maxRequestKiB>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<untrusted>false</untrusted>
|
2021-01-06 06:45:28 +00:00
|
|
|
|
<remoteGUIPort>8384</remoteGUIPort>
|
2023-09-11 03:45:45 +00:00
|
|
|
|
<numConnections>0</numConnections>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
</device>
|
|
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
|
|
|
|
One or more \fBdevice\fP elements must be present in the file. Each element
|
|
|
|
|
describes a device participating in the cluster. It is customary to include a
|
|
|
|
|
\fBdevice\fP element for the local device; Syncthing will currently add one if
|
|
|
|
|
it is not present. The following attributes may be set on the \fBdevice\fP
|
|
|
|
|
element:
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B id (mandatory)
|
2023-09-18 03:45:31 +00:00
|
|
|
|
The \fI\%device ID\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B name
|
|
|
|
|
A friendly name for the device. (optional)
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B compression
|
|
|
|
|
Whether to use protocol compression when sending messages to this device.
|
|
|
|
|
The possible values are:
|
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBmetadata\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
Compress metadata packets, such as index information. Metadata is
|
|
|
|
|
usually very compression friendly so this is a good default.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBalways\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
Compress all packets, including file data. This is recommended if the
|
|
|
|
|
folders contents are mainly compressible data such as documents or
|
|
|
|
|
text files.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBnever\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
Disable all compression.
|
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B introducer
|
|
|
|
|
Set to true if this device should be trusted as an introducer, i.e. we
|
|
|
|
|
should copy their list of devices per folder when connecting.
|
|
|
|
|
.sp
|
|
|
|
|
\fBSEE ALSO:\fP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.INDENT 7.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 3.5
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fI\%Introducer Configuration\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B skipIntroductionRemovals
|
|
|
|
|
Set to true if you wish to follow only introductions and not de\-introductions.
|
|
|
|
|
For example, if this is set, we would not remove a device that we were introduced
|
|
|
|
|
to even if the original introducer is no longer listing the remote device as known.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B introducedBy
|
|
|
|
|
Defines which device has introduced us to this device. Used only for following de\-introductions.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B certName
|
2021-08-18 05:45:38 +00:00
|
|
|
|
The device certificate’s common name, if it is not the default “syncthing”.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
2021-08-18 05:45:38 +00:00
|
|
|
|
From the following child elements at least one \fBaddress\fP child must exist.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B address (mandatory: At least one must be present.)
|
2021-03-31 05:45:27 +00:00
|
|
|
|
Contains an address or host name to use when attempting to connect to this device.
|
2021-03-03 06:45:37 +00:00
|
|
|
|
Entries other than \fBdynamic\fP need a protocol specific prefix. For the TCP protocol
|
2021-03-31 05:45:27 +00:00
|
|
|
|
the prefixes \fBtcp://\fP (dual\-stack), \fBtcp4://\fP (IPv4 only) or \fBtcp6://\fP (IPv6 only) can be used.
|
2021-03-03 06:45:37 +00:00
|
|
|
|
The prefixes for the QUIC protocol are analogous: \fBquic://\fP, \fBquic4://\fP and \fBquic6://\fP
|
|
|
|
|
Note that IP addresses need not use IPv4 or IPv6 prefixes; these are optional. Accepted formats are:
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.TP
|
|
|
|
|
.B IPv4 address (\fBtcp://192.0.2.42\fP)
|
|
|
|
|
The default port (22000) is used.
|
|
|
|
|
.TP
|
|
|
|
|
.B IPv4 address and port (\fBtcp://192.0.2.42:12345\fP)
|
|
|
|
|
The address and port is used as given.
|
|
|
|
|
.TP
|
|
|
|
|
.B IPv6 address (\fBtcp://[2001:db8::23:42]\fP)
|
|
|
|
|
The default port (22000) is used. The address must be enclosed in
|
|
|
|
|
square brackets.
|
|
|
|
|
.TP
|
|
|
|
|
.B IPv6 address and port (\fBtcp://[2001:db8::23:42]:12345\fP)
|
|
|
|
|
The address and port is used as given. The address must be enclosed in
|
|
|
|
|
square brackets.
|
|
|
|
|
.TP
|
|
|
|
|
.B Host name (\fBtcp6://fileserver\fP)
|
|
|
|
|
The host name will be used on the default port (22000) and connections
|
|
|
|
|
will be attempted only via IPv6.
|
|
|
|
|
.TP
|
|
|
|
|
.B Host name and port (\fBtcp://fileserver:12345\fP)
|
|
|
|
|
The host name will be used on the given port and connections will be
|
|
|
|
|
attempted via both IPv4 and IPv6, depending on name resolution.
|
|
|
|
|
.TP
|
|
|
|
|
.B \fBdynamic\fP
|
2021-03-03 06:45:37 +00:00
|
|
|
|
The word \fBdynamic\fP (without any prefix) means to use local and
|
2020-06-22 04:15:24 +00:00
|
|
|
|
global discovery to find the device.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
|
|
|
|
You can set multiple addresses \fIand\fP combine it with the \fBdynamic\fP keyword
|
|
|
|
|
for example:
|
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<device id=\(dq...\(dq>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<address>tcp://192.0.2.1:22001</address>
|
2021-03-03 06:45:37 +00:00
|
|
|
|
<address>quic://192.0.1.254:22000</address>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<address>dynamic</address>
|
|
|
|
|
</device>
|
|
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B paused
|
|
|
|
|
True if synchronization with this devices is (temporarily) suspended.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B allowedNetwork
|
2022-01-31 03:45:29 +00:00
|
|
|
|
If given, this restricts connections to this device to only this network.
|
2023-09-18 03:45:31 +00:00
|
|
|
|
The mechanism is described in detail in a \fI\%separate chapter\fP).
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B autoAcceptFolders
|
|
|
|
|
If \fBtrue\fP, folders shared from this remote device are automatically added
|
|
|
|
|
and synced locally under the \fI\%default path\fP\&. For the
|
|
|
|
|
folder name, Syncthing tries to use the label from the remote device, and if
|
|
|
|
|
the same label already exists, it then tries to use the folder’s ID. If
|
|
|
|
|
that exists as well, the folder is just offered to accept manually. A local
|
|
|
|
|
folder already added with the same ID will just be shared rather than
|
|
|
|
|
created separately.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B maxSendKbps
|
|
|
|
|
Maximum send rate to use for this device. Unit is kibibytes/second, despite
|
|
|
|
|
the config name looking like kilobits/second.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B maxRecvKbps
|
|
|
|
|
Maximum receive rate to use for this device. Unit is kibibytes/second,
|
|
|
|
|
despite the config name looking like kilobits/second.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
2022-01-10 13:48:17 +00:00
|
|
|
|
.B ignoredFolder
|
|
|
|
|
Contains the ID of the folder that should be ignored. This folder will
|
|
|
|
|
always be skipped when advertised from the containing remote device,
|
|
|
|
|
i.e. this will be logged, but there will be no dialog shown in the web GUI.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2022-01-10 13:48:17 +00:00
|
|
|
|
.TP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.B maxRequestKiB
|
|
|
|
|
Maximum amount of data to have outstanding in requests towards this device.
|
|
|
|
|
Unit is kibibytes.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2021-01-06 06:45:28 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B remoteGUIPort
|
|
|
|
|
If set to a positive integer, the GUI will display an HTTP link to the IP
|
|
|
|
|
address which is currently used for synchronization. Only the TCP port is
|
|
|
|
|
exchanged for the value specified here. Note that any port forwarding or
|
|
|
|
|
firewall settings need to be done manually and the link will probably not
|
|
|
|
|
work for link\-local IPv6 addresses because of modern browser limitations.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B untrusted
|
|
|
|
|
This boolean value marks a particular device as untrusted, which disallows
|
|
|
|
|
ever sharing any unencrypted data with it. Every folder shared with that
|
|
|
|
|
device then needs an encryption password set, or must already be of the
|
|
|
|
|
“receive encrypted” type locally. Refer to the detailed explanation under
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fI\%Untrusted (Encrypted) Devices\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
2023-09-11 03:45:45 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B numConnections
|
|
|
|
|
The number of connections to this device. See
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fI\%numConnections\fP for more information.
|
2023-09-11 03:45:45 +00:00
|
|
|
|
.UNINDENT
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.SH GUI ELEMENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<gui enabled=\(dqtrue\(dq tls=\(dqfalse\(dq debugging=\(dqfalse\(dq>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<address>127.0.0.1:8384</address>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<apikey>k1dnz1Dd0rzTBjjFFh7CXPnrF12C49B1</apikey>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<theme>default</theme>
|
|
|
|
|
</gui>
|
|
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
2022-02-28 03:46:00 +00:00
|
|
|
|
There must be exactly one \fBgui\fP element. The GUI configuration is also used by
|
2023-09-18 03:45:31 +00:00
|
|
|
|
the \fI\%REST API\fP and the \fI\%Event API\fP\&. The following attributes may be
|
2022-02-28 03:46:00 +00:00
|
|
|
|
set on the \fBgui\fP element:
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B enabled
|
|
|
|
|
If not \fBtrue\fP, the GUI and API will not be started.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B tls
|
|
|
|
|
If set to \fBtrue\fP, TLS (HTTPS) will be enforced. Non\-HTTPS requests will
|
2021-08-18 05:45:38 +00:00
|
|
|
|
be redirected to HTTPS. When set to \fBfalse\fP, TLS connections are
|
|
|
|
|
still possible but not required.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B debugging
|
2023-09-18 03:45:31 +00:00
|
|
|
|
This enables \fI\%Profiling\fP and additional endpoints in the REST
|
|
|
|
|
API, see \fI\%Debug Endpoints\fP\&.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
|
|
|
|
The following child elements may be present:
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B address (mandatory: Exactly one element must be present.)
|
|
|
|
|
Set the listen address. Allowed address formats are:
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.TP
|
|
|
|
|
.B IPv4 address and port (\fB127.0.0.1:8384\fP)
|
2021-08-18 05:45:38 +00:00
|
|
|
|
The address and port are used as given.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B IPv6 address and port (\fB[::1]:8384\fP)
|
2021-08-18 05:45:38 +00:00
|
|
|
|
The address and port are used as given. The address must be enclosed in
|
2020-06-22 04:15:24 +00:00
|
|
|
|
square brackets.
|
|
|
|
|
.TP
|
|
|
|
|
.B Wildcard and port (\fB0.0.0.0:12345\fP, \fB[::]:12345\fP, \fB:12345\fP)
|
|
|
|
|
These are equivalent and will result in Syncthing listening on all
|
|
|
|
|
interfaces via both IPv4 and IPv6.
|
|
|
|
|
.TP
|
|
|
|
|
.B UNIX socket location (\fB/var/run/st.sock\fP)
|
|
|
|
|
If the address is an absolute path it is interpreted as the path to a UNIX socket.
|
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B unixSocketPermissions
|
2021-08-18 05:45:38 +00:00
|
|
|
|
When \fBaddress\fP is set to a UNIX socket location, set this to an octal value
|
|
|
|
|
to override the default permissions of the socket.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B user
|
|
|
|
|
Set to require authentication.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B password
|
|
|
|
|
Contains the bcrypt hash of the real password.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B apikey
|
|
|
|
|
If set, this is the API key that enables usage of the REST interface.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B insecureAdminAccess
|
|
|
|
|
If true, this allows access to the web GUI from outside (i.e. not localhost)
|
|
|
|
|
without authorization. A warning will displayed about this setting on startup.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B insecureSkipHostcheck
|
|
|
|
|
When the GUI / API is bound to localhost, we enforce that the \fBHost\fP
|
|
|
|
|
header looks like localhost. This option bypasses that check.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B insecureAllowFrameLoading
|
|
|
|
|
Allow rendering the GUI within an \fB<iframe>\fP, \fB<frame>\fP or \fB<object>\fP
|
|
|
|
|
by not setting the \fBX\-Frame\-Options: SAMEORIGIN\fP HTTP header. This may be
|
|
|
|
|
needed for serving the Syncthing GUI as part of a website through a proxy.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B theme
|
|
|
|
|
The name of the theme to use.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B authMode
|
2021-08-18 05:45:38 +00:00
|
|
|
|
Authentication mode to use. If not present, the authentication mode (static)
|
|
|
|
|
is controlled by the presence of user/password fields for backward compatibility.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBstatic\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
Authentication using user and password.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBldap\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
LDAP authentication. Requires ldap top level config section to be present.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.SH LDAP ELEMENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
|
|
|
|
<ldap>
|
|
|
|
|
<address>localhost:389</address>
|
|
|
|
|
<bindDN>cn=%s,ou=users,dc=syncthing,dc=net</bindDN>
|
|
|
|
|
<transport>nontls</transport>
|
|
|
|
|
<insecureSkipVerify>false</insecureSkipVerify>
|
|
|
|
|
</ldap>
|
|
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
2022-01-31 03:45:29 +00:00
|
|
|
|
The \fBldap\fP element contains LDAP configuration options. The mechanism is
|
2023-09-18 03:45:31 +00:00
|
|
|
|
described in detail under \fI\%LDAP Authentication\fP\&.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B address (mandatory)
|
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.INDENT 3.5
|
2020-06-22 04:15:24 +00:00
|
|
|
|
LDAP server address (server:port).
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B bindDN (mandatory)
|
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.INDENT 3.5
|
2020-06-22 04:15:24 +00:00
|
|
|
|
BindDN for user authentication.
|
2021-08-18 05:45:38 +00:00
|
|
|
|
Special \fB%s\fP variable should be used to pass username to LDAP.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B transport
|
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.TP
|
|
|
|
|
.B \fBnontls\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
Non secure connection.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBtls\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
TLS secured connection.
|
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B \fBstarttls\fP
|
2020-06-22 04:15:24 +00:00
|
|
|
|
StartTLS connection mode.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B insecureSkipVerify
|
2021-08-18 05:45:38 +00:00
|
|
|
|
Skip verification (\fBtrue\fP or \fBfalse\fP).
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B searchBaseDN
|
|
|
|
|
Base DN for user searches.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B searchFilter
|
|
|
|
|
Search filter for user searches.
|
|
|
|
|
.UNINDENT
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.SH OPTIONS ELEMENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
|
|
|
|
<options>
|
2021-03-17 06:45:40 +00:00
|
|
|
|
<listenAddress>default</listenAddress>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<globalAnnounceServer>default</globalAnnounceServer>
|
|
|
|
|
<globalAnnounceEnabled>true</globalAnnounceEnabled>
|
|
|
|
|
<localAnnounceEnabled>true</localAnnounceEnabled>
|
|
|
|
|
<localAnnouncePort>21027</localAnnouncePort>
|
|
|
|
|
<localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
|
|
|
|
|
<maxSendKbps>0</maxSendKbps>
|
|
|
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
|
|
|
<reconnectionIntervalS>60</reconnectionIntervalS>
|
|
|
|
|
<relaysEnabled>true</relaysEnabled>
|
|
|
|
|
<relayReconnectIntervalM>10</relayReconnectIntervalM>
|
|
|
|
|
<startBrowser>true</startBrowser>
|
|
|
|
|
<natEnabled>true</natEnabled>
|
|
|
|
|
<natLeaseMinutes>60</natLeaseMinutes>
|
|
|
|
|
<natRenewalMinutes>30</natRenewalMinutes>
|
|
|
|
|
<natTimeoutSeconds>10</natTimeoutSeconds>
|
|
|
|
|
<urAccepted>0</urAccepted>
|
|
|
|
|
<urSeen>0</urSeen>
|
|
|
|
|
<urUniqueID></urUniqueID>
|
|
|
|
|
<urURL>https://data.syncthing.net/newdata</urURL>
|
|
|
|
|
<urPostInsecurely>false</urPostInsecurely>
|
|
|
|
|
<urInitialDelayS>1800</urInitialDelayS>
|
|
|
|
|
<autoUpgradeIntervalH>12</autoUpgradeIntervalH>
|
|
|
|
|
<upgradeToPreReleases>false</upgradeToPreReleases>
|
|
|
|
|
<keepTemporariesH>24</keepTemporariesH>
|
|
|
|
|
<cacheIgnoredFiles>false</cacheIgnoredFiles>
|
|
|
|
|
<progressUpdateIntervalS>5</progressUpdateIntervalS>
|
|
|
|
|
<limitBandwidthInLan>false</limitBandwidthInLan>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<minHomeDiskFree unit=\(dq%\(dq>1</minHomeDiskFree>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<releasesURL>https://upgrades.syncthing.net/meta.json</releasesURL>
|
|
|
|
|
<overwriteRemoteDeviceNamesOnConnect>false</overwriteRemoteDeviceNamesOnConnect>
|
|
|
|
|
<tempIndexMinBlocks>10</tempIndexMinBlocks>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<unackedNotificationID>authenticationUserAndPassword</unackedNotificationID>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
<trafficClass>0</trafficClass>
|
|
|
|
|
<setLowPriority>true</setLowPriority>
|
|
|
|
|
<maxFolderConcurrency>0</maxFolderConcurrency>
|
|
|
|
|
<crashReportingURL>https://crash.syncthing.net/newcrash</crashReportingURL>
|
|
|
|
|
<crashReportingEnabled>true</crashReportingEnabled>
|
|
|
|
|
<stunKeepaliveStartS>180</stunKeepaliveStartS>
|
|
|
|
|
<stunKeepaliveMinS>20</stunKeepaliveMinS>
|
|
|
|
|
<stunServer>default</stunServer>
|
|
|
|
|
<databaseTuning>auto</databaseTuning>
|
|
|
|
|
<maxConcurrentIncomingRequestKiB>0</maxConcurrentIncomingRequestKiB>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<announceLANAddresses>true</announceLANAddresses>
|
|
|
|
|
<sendFullIndexOnUpgrade>false</sendFullIndexOnUpgrade>
|
|
|
|
|
<connectionLimitEnough>0</connectionLimitEnough>
|
|
|
|
|
<connectionLimitMax>0</connectionLimitMax>
|
|
|
|
|
<insecureAllowOldTLSVersions>false</insecureAllowOldTLSVersions>
|
2020-06-22 04:15:24 +00:00
|
|
|
|
</options>
|
|
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
|
|
|
|
The \fBoptions\fP element contains all other global configuration options.
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B listenAddress
|
|
|
|
|
The listen address for incoming sync connections. See
|
2021-08-18 05:45:38 +00:00
|
|
|
|
\fI\%Listen Addresses\fP for the allowed syntax.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B globalAnnounceServer
|
|
|
|
|
A URI to a global announce (discovery) server, or the word \fBdefault\fP to
|
|
|
|
|
include the default servers. Any number of globalAnnounceServer elements
|
2021-08-18 05:45:38 +00:00
|
|
|
|
may be present. The syntax for non\-default entries is that of an HTTP or
|
2020-06-22 04:15:24 +00:00
|
|
|
|
HTTPS URL. A number of options may be added as query options to the URL:
|
|
|
|
|
\fBinsecure\fP to prevent certificate validation (required for HTTP URLs)
|
|
|
|
|
and \fBid=<device ID>\fP to perform certificate pinning. The device ID to
|
|
|
|
|
use is printed by the discovery server on startup.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B globalAnnounceEnabled
|
|
|
|
|
Whether to announce this device to the global announce (discovery) server,
|
|
|
|
|
and also use it to look up other devices.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B localAnnounceEnabled
|
|
|
|
|
Whether to send announcements to the local LAN, also use such
|
|
|
|
|
announcements to find other devices.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B localAnnouncePort
|
|
|
|
|
The port on which to listen and send IPv4 broadcast announcements to.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B localAnnounceMCAddr
|
|
|
|
|
The group address and port to join and send IPv6 multicast announcements on.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B maxSendKbps
|
|
|
|
|
Outgoing data rate limit, in kibibytes per second.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B maxRecvKbps
|
|
|
|
|
Incoming data rate limits, in kibibytes per second.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B reconnectionIntervalS
|
|
|
|
|
The number of seconds to wait between each attempt to connect to currently
|
|
|
|
|
unconnected devices.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B relaysEnabled
|
2021-08-18 05:45:38 +00:00
|
|
|
|
When \fBtrue\fP, relays will be connected to and potentially used for device to device connections.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B relayReconnectIntervalM
|
|
|
|
|
Sets the interval, in minutes, between relay reconnect attempts.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B startBrowser
|
|
|
|
|
Whether to attempt to start a browser to show the GUI when Syncthing starts.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B natEnabled
|
|
|
|
|
Whether to attempt to perform a UPnP and NAT\-PMP port mapping for
|
|
|
|
|
incoming sync connections.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B natLeaseMinutes
|
|
|
|
|
Request a lease for this many minutes; zero to request a permanent lease.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B natRenewalMinutes
|
|
|
|
|
Attempt to renew the lease after this many minutes.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B natTimeoutSeconds
|
|
|
|
|
When scanning for UPnP devices, wait this long for responses.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B urAccepted
|
|
|
|
|
Whether the user has accepted to submit anonymous usage data. The default,
|
|
|
|
|
\fB0\fP, mean the user has not made a choice, and Syncthing will ask at some
|
|
|
|
|
point in the future. \fB\-1\fP means no, a number above zero means that that
|
|
|
|
|
version of usage reporting has been accepted.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B urSeen
|
|
|
|
|
The highest usage reporting version that has already been shown in the web GUI.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B urUniqueID
|
|
|
|
|
The unique ID sent together with the usage report. Generated when usage
|
|
|
|
|
reporting is enabled.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B urURL
|
|
|
|
|
The URL to post usage report data to, when enabled.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B urPostInsecurely
|
|
|
|
|
When true, the UR URL can be http instead of https, or have a self\-signed
|
|
|
|
|
certificate. The default is \fBfalse\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B urInitialDelayS
|
2021-08-18 05:45:38 +00:00
|
|
|
|
The time to wait from startup for the first usage report to be sent. Allows
|
2020-06-22 04:15:24 +00:00
|
|
|
|
the system to stabilize before reporting statistics.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B autoUpgradeIntervalH
|
2021-08-18 05:45:38 +00:00
|
|
|
|
Check for a newer version after this many hours. Set to \fB0\fP to disable
|
2020-06-22 04:15:24 +00:00
|
|
|
|
automatic upgrades.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B upgradeToPreReleases
|
2021-08-18 05:45:38 +00:00
|
|
|
|
If \fBtrue\fP, automatic upgrades include release candidates (see
|
2023-09-18 03:45:31 +00:00
|
|
|
|
\fI\%Versions & Releases\fP).
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B keepTemporariesH
|
|
|
|
|
Keep temporary failed transfers for this many hours. While the temporaries
|
|
|
|
|
are kept, the data they contain need not be transferred again.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B cacheIgnoredFiles
|
|
|
|
|
Whether to cache the results of ignore pattern evaluation. Performance
|
|
|
|
|
at the price of memory. Defaults to \fBfalse\fP as the cost for evaluating
|
|
|
|
|
ignores is usually not significant.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B progressUpdateIntervalS
|
|
|
|
|
How often in seconds the progress of ongoing downloads is made available to
|
2023-07-31 03:45:37 +00:00
|
|
|
|
the GUI. Set to \fB\-1\fP to disable. Note that when disabled, the detailed
|
|
|
|
|
sync progress for Out of Sync Items which shows how much of each file has
|
|
|
|
|
been reused, copied, and downloaded will not work.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B limitBandwidthInLan
|
|
|
|
|
Whether to apply bandwidth limits to devices in the same broadcast domain
|
|
|
|
|
as the local device.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B minHomeDiskFree
|
2022-01-31 03:45:29 +00:00
|
|
|
|
The minimum required free space that should be available on the partition
|
|
|
|
|
holding the configuration and index. The element content is interpreted
|
|
|
|
|
according to the given \fBunit\fP attribute. Accepted \fBunit\fP values are
|
|
|
|
|
\fB%\fP (percent of the disk / volume size), \fBkB\fP, \fBMB\fP, \fBGB\fP and
|
|
|
|
|
\fBTB\fP\&. Set to zero to disable.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B releasesURL
|
|
|
|
|
The URL from which release information is loaded, for automatic upgrades.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B alwaysLocalNet
|
|
|
|
|
Network that should be considered as local given in CIDR notation.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B overwriteRemoteDeviceNamesOnConnect
|
|
|
|
|
If set, device names will always be overwritten with the name given by
|
|
|
|
|
remote on each connection. By default, the name that the remote device
|
|
|
|
|
announces will only be adopted when a name has not already been set.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B tempIndexMinBlocks
|
|
|
|
|
When exchanging index information for incomplete transfers, only take
|
|
|
|
|
into account files that have at least this many blocks.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B unackedNotificationID
|
|
|
|
|
ID of a notification to be displayed in the web GUI. Will be removed once
|
|
|
|
|
the user acknowledged it (e.g. an transition notice on an upgrade).
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B trafficClass
|
|
|
|
|
Specify a type of service (TOS)/traffic class of outgoing packets.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B stunServer
|
|
|
|
|
Server to be used for STUN, given as ip:port. The keyword \fBdefault\fP gets
|
|
|
|
|
expanded to
|
|
|
|
|
\fBstun.callwithus.com:3478\fP, \fBstun.counterpath.com:3478\fP,
|
|
|
|
|
\fBstun.counterpath.net:3478\fP, \fBstun.ekiga.net:3478\fP,
|
|
|
|
|
\fBstun.ideasip.com:3478\fP, \fBstun.internetcalls.com:3478\fP,
|
|
|
|
|
\fBstun.schlund.de:3478\fP, \fBstun.sipgate.net:10000\fP,
|
|
|
|
|
\fBstun.sipgate.net:3478\fP, \fBstun.voip.aebc.com:3478\fP,
|
|
|
|
|
\fBstun.voiparound.com:3478\fP, \fBstun.voipbuster.com:3478\fP,
|
|
|
|
|
\fBstun.voipstunt.com:3478\fP and \fBstun.xten.com:3478\fP (this is the default).
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B stunKeepaliveStartS
|
|
|
|
|
Interval in seconds between contacting a STUN server to maintain NAT
|
|
|
|
|
mapping. Default is \fB24\fP and you can set it to \fB0\fP to disable contacting
|
|
|
|
|
STUN servers. The interval is automatically reduced if needed, down to a
|
|
|
|
|
minimum of \fI\%stunKeepaliveMinS\fP\&.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.TP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.B stunKeepaliveMinS
|
|
|
|
|
Minimum for the \fI\%stunKeepaliveStartS\fP interval, in seconds.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B setLowPriority
|
|
|
|
|
Syncthing will attempt to lower its process priority at startup.
|
|
|
|
|
Specifically: on Linux, set itself to a separate process group, set the
|
|
|
|
|
niceness level of that process group to nine and the I/O priority to
|
|
|
|
|
best effort level five; on other Unixes, set the process niceness level
|
|
|
|
|
to nine; on Windows, set the process priority class to below normal. To
|
|
|
|
|
disable this behavior, for example to control process priority yourself
|
|
|
|
|
as part of launching Syncthing, set this option to \fBfalse\fP\&.
|
|
|
|
|
.UNINDENT
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B maxFolderConcurrency
|
|
|
|
|
This option controls how many folders may concurrently be in I/O\-intensive
|
|
|
|
|
operations such as syncing or scanning. The mechanism is described in
|
2023-09-18 03:45:31 +00:00
|
|
|
|
detail in a \fI\%separate chapter\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B crashReportingURL
|
2023-09-18 03:45:31 +00:00
|
|
|
|
Server URL where \fI\%automatic crash reports\fP will be sent if
|
2022-01-31 03:45:29 +00:00
|
|
|
|
enabled.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B crashReportingEnabled
|
2023-09-18 03:45:31 +00:00
|
|
|
|
Switch to opt out from the \fI\%automatic crash reporting\fP
|
2022-01-31 03:45:29 +00:00
|
|
|
|
feature. Set \fBfalse\fP to keep Syncthing from sending panic logs on serious
|
|
|
|
|
troubles. Defaults to \fBtrue\fP, to help the developers troubleshoot.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B databaseTuning
|
|
|
|
|
Controls how Syncthing uses the backend key\-value database that stores the
|
|
|
|
|
index data and other persistent data it needs. The available options and
|
2023-09-18 03:45:31 +00:00
|
|
|
|
implications are explained in a \fI\%separate chapter\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B maxConcurrentIncomingRequestKiB
|
|
|
|
|
This limits how many bytes we have “in the air” in the form of response data
|
|
|
|
|
being read and processed.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B announceLANAddresses
|
|
|
|
|
Enable (the default) or disable announcing private (RFC1918) LAN IP
|
|
|
|
|
addresses to global discovery.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B sendFullIndexOnUpgrade
|
|
|
|
|
Controls whether all index data is resent when an upgrade has happened,
|
2023-09-18 03:45:31 +00:00
|
|
|
|
equivalent to starting Syncthing with \fI\%\-\-reset\-deltas\fP\&. This used
|
2022-01-31 03:45:29 +00:00
|
|
|
|
to be the default behavior in older versions, but is mainly useful as a
|
|
|
|
|
troubleshooting step and causes high database churn. The default is now
|
|
|
|
|
\fBfalse\fP\&.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B featureFlag
|
|
|
|
|
Feature flags are simple strings that, when added to the configuration, may
|
|
|
|
|
unleash unfinished or still\-in\-development features to allow early user
|
|
|
|
|
testing. Any supported value will be separately announced with the feature,
|
|
|
|
|
so that regular users do not enable it by accident.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B connectionLimitEnough
|
|
|
|
|
The number of connections at which we stop trying to connect to more
|
|
|
|
|
devices, zero meaning no limit. Does not affect incoming connections. The
|
2023-09-18 03:45:31 +00:00
|
|
|
|
mechanism is described in detail in a \fI\%separate chapter\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B connectionLimitMax
|
|
|
|
|
The maximum number of connections which we will allow in total, zero meaning
|
|
|
|
|
no limit. Affects incoming connections and prevents attempting outgoing
|
2023-09-18 03:45:31 +00:00
|
|
|
|
connections. The mechanism is described in detail in a \fI\%separate
|
|
|
|
|
chapter\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B insecureAllowOldTLSVersions
|
|
|
|
|
Only for compatibility with old versions of Syncthing on remote devices, as
|
2023-09-18 03:45:31 +00:00
|
|
|
|
detailed in \fI\%insecureAllowOldTLSVersions\fP\&.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
2022-01-10 13:48:17 +00:00
|
|
|
|
.SH DEFAULTS ELEMENT
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.sp
|
|
|
|
|
.nf
|
|
|
|
|
.ft C
|
|
|
|
|
<defaults>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<folder id=\(dq\(dq label=\(dq\(dq path=\(dq~\(dq type=\(dqsendreceive\(dq rescanIntervalS=\(dq3600\(dq fsWatcherEnabled=\(dqtrue\(dq fsWatcherDelayS=\(dq10\(dq ignorePerms=\(dqfalse\(dq autoNormalize=\(dqtrue\(dq>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<filesystemType>basic</filesystemType>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<device id=\(dqS7UKX27\-GI7ZTXS\-GC6RKUA\-7AJGZ44\-C6NAYEB\-HSKTJQK\-KJHU2NO\-CWV7EQW\(dq introducedBy=\(dq\(dq>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<encryptionPassword></encryptionPassword>
|
|
|
|
|
</device>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<minDiskFree unit=\(dq%\(dq>1</minDiskFree>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<versioning>
|
|
|
|
|
<cleanupIntervalS>3600</cleanupIntervalS>
|
|
|
|
|
<fsPath></fsPath>
|
|
|
|
|
<fsType>basic</fsType>
|
|
|
|
|
</versioning>
|
|
|
|
|
<copiers>0</copiers>
|
|
|
|
|
<pullerMaxPendingKiB>0</pullerMaxPendingKiB>
|
|
|
|
|
<hashers>0</hashers>
|
|
|
|
|
<order>random</order>
|
|
|
|
|
<ignoreDelete>false</ignoreDelete>
|
|
|
|
|
<scanProgressIntervalS>0</scanProgressIntervalS>
|
|
|
|
|
<pullerPauseS>0</pullerPauseS>
|
|
|
|
|
<maxConflicts>10</maxConflicts>
|
|
|
|
|
<disableSparseFiles>false</disableSparseFiles>
|
|
|
|
|
<disableTempIndexes>false</disableTempIndexes>
|
|
|
|
|
<paused>false</paused>
|
|
|
|
|
<weakHashThresholdPct>25</weakHashThresholdPct>
|
|
|
|
|
<markerName>.stfolder</markerName>
|
|
|
|
|
<copyOwnershipFromParent>false</copyOwnershipFromParent>
|
|
|
|
|
<modTimeWindowS>0</modTimeWindowS>
|
|
|
|
|
<maxConcurrentWrites>2</maxConcurrentWrites>
|
|
|
|
|
<disableFsync>false</disableFsync>
|
|
|
|
|
<blockPullOrder>standard</blockPullOrder>
|
|
|
|
|
<copyRangeMethod>standard</copyRangeMethod>
|
|
|
|
|
<caseSensitiveFS>false</caseSensitiveFS>
|
|
|
|
|
<junctionsAsDirs>false</junctionsAsDirs>
|
|
|
|
|
</folder>
|
2023-09-18 03:45:31 +00:00
|
|
|
|
<device id=\(dq\(dq compression=\(dqmetadata\(dq introducer=\(dqfalse\(dq skipIntroductionRemovals=\(dqfalse\(dq introducedBy=\(dq\(dq>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
<address>dynamic</address>
|
|
|
|
|
<paused>false</paused>
|
|
|
|
|
<autoAcceptFolders>false</autoAcceptFolders>
|
|
|
|
|
<maxSendKbps>0</maxSendKbps>
|
|
|
|
|
<maxRecvKbps>0</maxRecvKbps>
|
|
|
|
|
<maxRequestKiB>0</maxRequestKiB>
|
|
|
|
|
<untrusted>false</untrusted>
|
|
|
|
|
<remoteGUIPort>0</remoteGUIPort>
|
2023-09-11 03:45:45 +00:00
|
|
|
|
<numConnections>0</numConnections>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
</device>
|
2022-04-18 03:54:08 +00:00
|
|
|
|
<ignores>
|
|
|
|
|
<line>!foo2</line>
|
|
|
|
|
<line>// comment</line>
|
|
|
|
|
<line>(?d).DS_Store</line>
|
|
|
|
|
<line>*2</line>
|
|
|
|
|
<line>qu*</line>
|
|
|
|
|
</ignores>
|
2022-01-10 13:48:17 +00:00
|
|
|
|
</defaults>
|
|
|
|
|
.ft P
|
|
|
|
|
.fi
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.sp
|
|
|
|
|
The \fBdefaults\fP element describes a template for newly added device and folder
|
|
|
|
|
options. These will be used when adding a new remote device or folder, either
|
|
|
|
|
through the GUI or the command line interface. The following child elements can
|
|
|
|
|
be present in the \fBdefaults\fP element:
|
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B device
|
|
|
|
|
Template for a \fBdevice\fP element, with the same internal structure. Any
|
|
|
|
|
fields here will be used for a newly added remote device. The \fBid\fP
|
|
|
|
|
attribute is meaningless in this context.
|
2022-01-31 03:45:29 +00:00
|
|
|
|
.UNINDENT
|
|
|
|
|
.INDENT 0.0
|
2022-01-10 13:48:17 +00:00
|
|
|
|
.TP
|
|
|
|
|
.B folder
|
|
|
|
|
Template for a \fBfolder\fP element, with the same internal structure. Any
|
|
|
|
|
fields here will be used for a newly added shared folder. The \fBid\fP
|
|
|
|
|
attribute is meaningless in this context.
|
|
|
|
|
.sp
|
|
|
|
|
The UI will propose to create new folders at the path given in the \fBpath\fP
|
|
|
|
|
attribute (used to be \fBdefaultFolderPath\fP under \fBoptions\fP). It also
|
|
|
|
|
applies to folders automatically accepted from a remote device.
|
|
|
|
|
.sp
|
|
|
|
|
Even sharing with other remote devices can be done in the template by
|
2022-01-31 03:45:29 +00:00
|
|
|
|
including the appropriate \fI\%folder.device\fP element underneath.
|
2022-01-10 13:48:17 +00:00
|
|
|
|
.UNINDENT
|
2022-04-18 03:54:08 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B ignores
|
|
|
|
|
New in version 1.19.0.
|
|
|
|
|
|
|
|
|
|
.sp
|
2023-09-18 03:45:31 +00:00
|
|
|
|
Template for the \fI\%ignore patterns\fP applied to new
|
2022-04-18 03:54:08 +00:00
|
|
|
|
folders. These are copied to the \fB\&.stignore\fP file when a folder is
|
|
|
|
|
automatically accepted from a remote device. The GUI uses them to pre\-fill
|
|
|
|
|
the respective field when adding a new folder as well. In XML, each pattern
|
|
|
|
|
line is represented as by a \fB<line>\fP element.
|
|
|
|
|
.UNINDENT
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.SS Listen Addresses
|
|
|
|
|
.sp
|
2021-08-18 05:45:38 +00:00
|
|
|
|
The following address types are accepted in sync protocol listen addresses.
|
|
|
|
|
If you want Syncthing to listen on multiple addresses, you can either: add
|
|
|
|
|
multiple \fB<listenAddress>\fP tags in the configuration file or enter several
|
|
|
|
|
addresses separated by commas in the GUI.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
.INDENT 0.0
|
|
|
|
|
.TP
|
|
|
|
|
.B Default listen addresses (\fBdefault\fP)
|
|
|
|
|
This is equivalent to \fBtcp://0.0.0.0:22000\fP, \fBquic://0.0.0.0:22000\fP
|
|
|
|
|
and \fBdynamic+https://relays.syncthing.net/endpoint\fP\&.
|
|
|
|
|
.TP
|
|
|
|
|
.B TCP wildcard and port (\fBtcp://0.0.0.0:22000\fP, \fBtcp://:22000\fP)
|
|
|
|
|
These are equivalent and will result in Syncthing listening on all
|
|
|
|
|
interfaces, IPv4 and IPv6, on the specified port.
|
|
|
|
|
.TP
|
|
|
|
|
.B TCP IPv4 wildcard and port (\fBtcp4://0.0.0.0:22000\fP, \fBtcp4://:22000\fP)
|
|
|
|
|
These are equivalent and will result in Syncthing listening on all
|
|
|
|
|
interfaces via IPv4 only.
|
|
|
|
|
.TP
|
|
|
|
|
.B TCP IPv4 address and port (\fBtcp4://192.0.2.1:22000\fP)
|
|
|
|
|
This results in Syncthing listening on the specified address and port, IPv4
|
|
|
|
|
only.
|
|
|
|
|
.TP
|
|
|
|
|
.B TCP IPv6 wildcard and port (\fBtcp6://[::]:22000\fP, \fBtcp6://:22000\fP)
|
|
|
|
|
These are equivalent and will result in Syncthing listening on all
|
|
|
|
|
interfaces via IPv6 only.
|
|
|
|
|
.TP
|
|
|
|
|
.B TCP IPv6 address and port (\fBtcp6://[2001:db8::42]:22000\fP)
|
|
|
|
|
This results in Syncthing listening on the specified address and port, IPv6
|
|
|
|
|
only.
|
|
|
|
|
.TP
|
|
|
|
|
.B QUIC address and port (e.g. \fBquic://0.0.0.0:22000\fP)
|
|
|
|
|
Syntax is the same as for TCP, also \fBquic4\fP and \fBquic6\fP can be used.
|
|
|
|
|
.TP
|
|
|
|
|
.B Static relay address (\fBrelay://192.0.2.42:22067?id=abcd123...\fP)
|
|
|
|
|
Syncthing will connect to and listen for incoming connections via the
|
|
|
|
|
specified relay address.
|
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.SS Todo
|
|
|
|
|
.sp
|
|
|
|
|
Document available URL parameters.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.TP
|
|
|
|
|
.B Dynamic relay pool (\fBdynamic+https://192.0.2.42/relays\fP)
|
|
|
|
|
Syncthing will fetch the specified HTTPS URL, parse it for a JSON payload
|
|
|
|
|
describing relays, select a relay from the available ones and listen via
|
|
|
|
|
that as if specified as a static relay above.
|
|
|
|
|
.INDENT 7.0
|
|
|
|
|
.INDENT 3.5
|
|
|
|
|
.SS Todo
|
|
|
|
|
.sp
|
|
|
|
|
Document available URL parameters.
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.UNINDENT
|
|
|
|
|
.SH SYNCING CONFIGURATION FILES
|
|
|
|
|
.sp
|
|
|
|
|
Syncing configuration files between devices (such that multiple devices are
|
|
|
|
|
using the same configuration files) can cause issues. This is easy to do
|
|
|
|
|
accidentally if you sync your home folder between devices. A common symptom
|
|
|
|
|
of syncing configuration files is two devices ending up with the same Device ID.
|
|
|
|
|
.sp
|
|
|
|
|
If you want to use Syncthing to backup your configuration files, it is recommended
|
2023-09-18 03:45:31 +00:00
|
|
|
|
that the files you are backing up are in a \fI\%Send Only Folder\fP to prevent other
|
2020-06-22 04:15:24 +00:00
|
|
|
|
devices from overwriting the per device configuration. The folder on the remote
|
|
|
|
|
device(s) should not be used as configuration for the remote devices.
|
|
|
|
|
.sp
|
|
|
|
|
If you’d like to sync your home folder in non\-send only mode, you may add the
|
2023-09-18 03:45:31 +00:00
|
|
|
|
folder that stores the configuration files to the \fI\%ignore list\fP\&.
|
2020-06-22 04:15:24 +00:00
|
|
|
|
If you’d also like to backup your configuration files, add another folder in
|
|
|
|
|
send only mode for just the configuration folder.
|
|
|
|
|
.SH AUTHOR
|
|
|
|
|
The Syncthing Authors
|
|
|
|
|
.SH COPYRIGHT
|
|
|
|
|
2014-2019, The Syncthing Authors
|
|
|
|
|
.\" Generated by docutils manpage writer.
|
|
|
|
|
.
|