Scheduled Backup question

I stop webmin’s daemons when I do not need them to free more memory space on my VPS. question is that is scheduled backups working then?


Yes, the scheduled backups will run even when Webmin isn’t running. The backups use the Webmin/Virtualmin libraries, but not the actual daemon that’s running in memory.


thanks. but I just find that backup not working correctly. I ran it and get this error in second domain:

Creating TAR file of home directory …
… TAR failed!

cat: write error: No space left on device

gzip: stdout: Broken pipe
/bin/tar: -: Wrote only 8192 of 10240 bytes
/bin/tar: Error is not recoverable: exiting now

but my VPS have enough space:
root@server1:/var/log# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 9.9G 2.9G 6.5G 31% /
tmpfs 248M 0 248M 0% /lib/init/rw
udev 234M 64K 234M 1% /dev
tmpfs 248M 0 248M 0% /dev/shm
none 248M 0 248M 0% /tmp

also note that I set backup to ssh to another VPS.
I think it is from /tmp size? (248M)
how can I set another folder for it?


Yeah, it is indeed a /tmp size issue. That’s an easy fix though! You can tweak the tmp file path in Webmin -> Webmin Configuration -> Advanced Options, and at the top you can change “Temporary files directory”.

A common alternative is /var/tmp/.webmin.


thanks I is working now :slight_smile:
another problem:
every domain have separated tmp folder: /home/domainname/tmp etc.

I see lot of zero size files here. these are expired sessions. should I empty tmp folders manually when I turn off webmin daemon?

Where were u the past 2 months m8 … so simple

this happens only on debian 8