I have not been able to get scheduled backup jobs to work on our server. I keep hitting a quota error but all quotas are set to none... Been looking through every forum/support post I could find but nothing has worked or they just report that it's fixed in a new version of virtualmin but I am running the latest.
Creating backup for virtual server example.com ..
Copying virtual server configuration ..
.. done
Backing up Cron jobs ..
.. done
Saving mail aliases ..
.. done
Saving mail and FTP users ..
.. done
Backing up mail and FTP user Cron jobs ..
.. none to backup
Copying Apache virtual host configuration ..
.. done
Copying SSL Apache virtual host configuration and certificate ..
.. done
Copying Logrotate configuration ..
.. done
Dumping MySQL database example ..
.. dump failed!
cat: write error: Disk quota exceeded
Comments
Submitted by tjohnston on Tue, 08/09/2016 - 10:11 Comment #1
Submitted by tjohnston on Tue, 08/09/2016 - 10:21 Comment #2
Submitted by andreychek on Tue, 08/09/2016 - 10:42 Comment #3
Howdy -- it does sound like there's a quota set for this particular Virtual Server owner.
What you may want to do is create a temporary high quota for that particular Virtual Server, in Edit Virtual Server -> Quotas and Limits.
You can also see what the quota is by running "quota -v USERNAME" and "quota -g GROUPNAME".
It looks like you're using Virtualmin GPL there... if you're using Virtualmin GPL, and had any followup questions, you'd actually want to ask those in the Forums. We monitor the Forums, along with lots of wonderful folks in the community. Thanks!
Submitted by tjohnston on Tue, 08/09/2016 - 10:48 Comment #4
Thanks andreycheck,
Running quota -v root shows now quota which is what the backup is using. Group doesn't seem to exist though for root, or the server name when checking quota.. maybe that's the issue?
-- whoops. hold on, was logged into the wrong server when I was checking those!
Submitted by andreychek on Tue, 08/09/2016 - 11:05 Comment #5
The backups run as the Virtual Server owner, not as root. So you'd want to check the Virtual Server that's being backed up at the time.
It looks like you're using Virtualmin GPL there... if you're using Virtualmin GPL, and had any followup questions, you'd actually want to ask those in the Forums. We monitor the Forums, along with lots of wonderful folks in the community. Thanks!
Submitted by tjohnston on Tue, 08/09/2016 - 12:21 Comment #6
Ah... There is a quote set on the group! 1048576
Setting setquota -g groupname 0 0 0 0 -a to run before the backup starts fixes the problem! Thanks I would of never known to look at the group, the users were all fine!
Submitted by tjohnston on Tue, 08/09/2016 - 12:22 Comment #7