Hi All,
I think it will speed up the backup process by moving the urbackup_tmp_files to an ssd device.
Is there any way to configure the path on urbackup 2?
Many thanks
Hi All,
I think it will speed up the backup process by moving the urbackup_tmp_files to an ssd device.
Is there any way to configure the path on urbackup 2?
Many thanks
If you tick the settings under the Advanced TAB Temporary files as file backup buffer and/or Temporary files as image backup buffer the server uses your operation systems default temp/tmp folder instead of urbackup_tmp_files.
On windows it’s c:\windows\temp on most Linux distros it’s /tmp, you can then redirect that folder to where you need it.
I don’t think you can point out a specific folder directly in urbackup, ini file @uroni?
Thank you!!! It was excatly the part im missing…
The manual you link to says:
“You can change the temporary storage directory via the environment variable TMPDIR on GNU/Linux and in the server settings on Windows.”
I’m concerned about prematurely wearing out an SSD and I have plenty of RAM.
Could I use a 10GB tmp folder on a ramdrive for the backup buffer even though I have files that are larger than 10GB?
I tried to do that. tldr: it did not work for me.
My server is set up with /tmp on tmpfs. The following in /etc/fstab:
tmpfs /tmp tmpfs rw,nosuid,nodev,noexec 0 0
My understanding is that with the defaults, the tmpfs might take up to half the RAM in order to store files. But after that it’s full. You can adjust the max percent of RAM used with mount options, but there is no “overflow” and once the fs is full that’s it.
So when I ticked the administration-advanced screen box to “use temporary files as files backup buffer”… The backup process got a lot faster, but then choked when the /tmp filesystem filled up. Some of the files I back up are too large to fit in /tmp, so I turned it off again.
My previous comment on being able to set TMPDIR might be interesting. I Have Not Tried This: but it seems that you can set TMPDIR to store the temporary files wherever you like. However: I am concerned that you risk the same issue - that, say, you pick /var/tmp and then the root fs would fill up and the whole server would crash. So, I’m a bit spooked about putting the temporary files anywhere other than the backup filesystem.