mirror of
https://github.com/restic/restic.git
synced 2025-04-24 22:34:26 +00:00

Create a temporary file with a sufficiently random name to essentially avoid any chance of conflicts. Once the upload has finished remove the temporary suffix. Interrupted upload thus will be ignored by restic.