Attention SSD users: if your temp directory isn't ram-backed, Duplicati will prematurely wear your SSD

Windows users can use ImDisk.

  1. Download an install ImDisk. (https://sourceforge.net/projects/imdisk-toolkit)
  2. Run RamDisk configuration.
  3. Set size.
    For fastest performance, set a size that you want to constantly be allocated in ram.
    If you want the memory to only be used as needed, tick “Allocate Memory Dynamically”
    and set the size to something that you would like to be a maximum amount of memory
    you would like the RamDisk to use. This is slightly slower.
  4. Tick “Launch at Windows Startup” and “Create TEMP Folder”
  5. Go to advanced.
  6. Enter a volume Lable (I personally call it RamDisk and use Drive Letter R: :stuck_out_tongue: ).
  7. Tick “Use AWE physical memory”
    This makes sure that the ramdisk is never written to the page file and always stays in memory.
  8. In Duplicati, go to setting and set “asynchronous-upload-folder” and “tempdir” to you new Ramdisk Temp
    folder. (E.G. R:\Temp)

Optional. If you want a more useful ramdisk, you can set a folder to sync the data to on shutdown in the Data tab. :wink: This will ignore the temp folder.

2 Likes