Not enough place on /tmp dir for Cloudmin backup

Hello,

Is it possible to change / redefine where virtualmin places its temp files?

The partition I have /tmp on isn't big enough to store the cloudmin backup tmp files before they get copied to another server hence a backup cannot occur.

I have tried to make a symbolic link that makes /.webmin point to a partition that has more free space but the link immediatly gets changed back to a normal dir.

Thanks.

Status: 
Closed (fixed)

Comments

Could we imagine to move /tmp/./webmin to another dir, let's say /var/tmp/webmin

and do :

mount --bind /var/tmp/.webmin /tmp/.webmin

?

Without stopping the host, of course.

Yes, you can change this as follows :

  1. Login to Webmin on the host system where backups are being made.

  2. Go to Webmin -> Webmin Configuration -> Advanced Options.

  3. Set the "Temporary files directory" to something else, and click "Save". Make sure you enter a directory that you created for this purpose - not /var or something.

Thanks for the asnwer. Did that.

Before your asnwer, I tried "mount --bind /var/tmp/.webmin /some/temp/dir" and I worked too.

Regards,

Miguel.

Automatically closed -- issue fixed for 2 weeks with no activity.