cat: write error: No space left on device

Virtualmin Backup got interrupted and has output “cat: write error: No space left on device” error message. Checking space usage gives:

df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_dana-lv_root 50G 35G 13G 74% / tmpfs 16G 0 16G 0% /dev/shm /dev/md127p1 485M 166M 295M 36% /boot /dev/mapper/vg_dana-lv_home 1.8T 124G 1.6T 8% /home

This server hosts pretty large website, compressed root directory of which apparently exceeds 15 GBs of left free space in the root partition, where I assume Virtualmin temporarily puts the archive before moving it to the backup destination (Amazon S3 in this case). So my question is how we can reconfigure Virtualmin Backup to put temporary backup archive in another partition than root? We have bunch of space in home partition, so if we could make Virtualmin to store its temporary backup archive file in there, then we would have the issue addressed.


You can configure it to use a different directory for the backups by going into Webmin -> Webmin -> Webmin Configuration -> Advanced Options, and there you can change “Temporary files directory” so that it points to a directory that has more space available.


Excellent! Thanks!