What are .chunk and .tmp files
On several occasions Syncrify needs to create temporary files. These temporary files are created in the $TEMP folder on your machine. The exact location of this folder is OS dependent. For example, on Windows this could be C:\Windows\Temp and on Linux this could be /tmp.
If a backup completes successfully, Syncrify should remove every temporary file that it creates. However, in case of an error these files are not deleted until the Syncrify server process terminates. Consider the following example:
- Client sends a file that is 10 GB in size. This file does not come to the server in one piece but in several chunks.
- Every time the server receives a chunk it appends the incoming data to this temporary file.
- Finally, when the entire file comes over, it moves this file from this temporary location to its final location
- If the client does not send the entire file successfully, which can occur due to a network problem, the server does not know when to delete the temporary file and therefore, it stays there for a longer period of time.
Starting from build 517, Syncrify does not create a .chunk file when a file is loaded for the first time. This reduces the number of lingering .chunk files in the TEMP folder.
Can I delete these files?
Yes you can. However, make sure you only delete files that are in use by Syncrify. A good practice is to remove files that are older than 24 hours, which will ensure the file is not longer in use.