Scheduled Backup question

7 posts / 0 new
Last post
#1 Fri, 06/29/2012 - 07:01
persiancity

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?

Fri, 06/29/2012 - 09:00
andreychek

Howdy,

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.

-Eric

Sun, 07/01/2012 - 02:24
persiancity

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

Sun, 07/01/2012 - 02:33
persiancity

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

Sun, 07/01/2012 - 21:50
andreychek

Howdy,

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.

-Eric

Sat, 04/09/2016 - 04:51 (Reply to #5)
rock1982

Where were u the past 2 months m8 ... so simple

this happens only on debian 8

Thu, 07/05/2012 - 02:28
persiancity

thanks I is working now :) 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?

Topic locked