TachoSync Integrations: Difference between revisions
Appearance
upload frequency, retry logic, maximum retry duration, naming conventions for uploaded files, was added |
Added "File Upload Behavior", expanded "File naming & server folder structure", moved "Prerequisites" to a separate heading |
||
| Line 35: | Line 35: | ||
'''''NOTE!''' TachoSync does not create or configure the SFTP server. The customer is responsible for ensuring that the server is reachable from the internet and properly secured.'' | '''''NOTE!''' TachoSync does not create or configure the SFTP server. The customer is responsible for ensuring that the server is reachable from the internet and properly secured.'' | ||
Prerequisites | ===Prerequisites=== | ||
Prepare this before configuring the SFTP integration: | |||
* Set up your SFTP server and know: | * Set up your SFTP server and know: | ||
** SFTP server host (domain or IP address) | ** SFTP server host (domain or IP address) | ||
| Line 67: | Line 68: | ||
* '''Include historical files''': When enabled, TachoSync will attempt to upload files captured before the integration was created. | * '''Include historical files''': When enabled, TachoSync will attempt to upload files captured before the integration was created. | ||
=== | ===File Naming & Server Folder Structure=== | ||
File naming and folder structure is configured in [[TachoSync Integrations#General Settings|General Settings]]. | |||
The file name that appears in your SFTP server is identical to the file name in TachoSync. Only the file extension may change (depends on the selected file format ). | |||
Below is an example of how files may be organized on your SFTP server: | Below is an example of how files may be organized on your SFTP server: | ||
* /root-folder/ | * /root-folder/ | ||
| Line 77: | Line 82: | ||
*** /1234567890/ ''← driver folder (set the naming convention in „General Settings“)'' | *** /1234567890/ ''← driver folder (set the naming convention in „General Settings“)'' | ||
**** 2025-01-12_.DDD | **** 2025-01-12_.DDD | ||
===File Upload Behavior=== | |||
TachoSync uploads files to your SFTP server as soon as they become available in TachoSync (after being downloaded from device): | |||
* Files are sent to the SFTP server automatically and continuously, there is no fixed schedule. | |||
* If you enable “Include historical files,” TachoSync also adds your previously downloaded files to the queue and syncs them in batches based on current system load. | * If you enable “Include historical files,” TachoSync also adds your previously downloaded files to the queue and syncs them in batches based on current system load. | ||
If file upload fails, TachoSync attempts to re-upload them. To troubleshoot, see [[TachoSync Integrations#SFTP Integration Troubleshooting|SFTP Integration Troubleshooting]]. | |||
The retry pattern is "exponential backoff": upload is retried after 3 seconds, 9 seconds, 27 seconds, 1 min 21 s, ~4 minutes. | |||
If all 5 retry attempts fail, the file is marked as "Failed". A manual "Retry failed files" functionality is in development. | |||
If | |||
=== | ===SFTP Integration Troubleshooting=== | ||
If the SFTP integration does not work as expected, verify the following: | |||
* The [[TachoSync Integrations#Prerequisites|prerequisites]] are met. | |||
* Your internet connection is stable (there are no repeating time-outs or interruptions). | |||
* The user has write permissions for the configured directory. | |||
* The provided path exists on the server. | |||
If issues persist, collect the “Last event” details from the Integrations page and contact Support. | |||
* The | |||
TachoSync | |||
# | |||
The | |||
* The | |||
[[Category:TachoSync]] | [[Category:TachoSync]] | ||