Admin backup error

Djunity

Verified User
Joined
Mar 9, 2008
Messages
243
Location
Holland
Hi all,

For a copple off days we get the following error on the nighly backups.
I have been searching the forum but unable to find an anwser.

Error Compressing the backup file user.admin.user.tar.gz :
gzip: stdout: No space left on device
/bin/tar: /home/tmp/admin/user/user.admin.user.tar.gz: Wrote only 2048 of 10240 bytes
/bin/tar: Error is not recoverable: exiting now
 
Last edited:
only 6% used of disk space

In what partition? What is output of

Code:
df -h

and

Code:
df -i

What is an user`s quota? How much space is used by the user?
 
Last edited:
Hi Alex,

Output is:
Bestandssysteem Grtte Gebr Besch Geb% Aangekoppeld op
/dev/sda5 257G 14G 230G 6% /
/dev/sda3 4,8G 139M 4,4G 4% /tmp
/dev/sda1 487M 16M 446M 4% /boot
tmpfs 1,5G 0 1,5G 0% /dev/shm

Bestandssysteem Inodes IGebr IVrij IGeb% Aangekoppeld op
/dev/sda5 69304320 262810 69041510 1% /
/dev/sda3 1280000 175 1279825 1% /tmp
/dev/sda1 128520 34 128486 1% /boot
tmpfs 221940 1 221939 1% /dev/shm

Quota of user is unlimited (9323.1 / unlimited according to da)
 
Set a task then to run it now, and run dataskq in debug mode

Code:
/usr/local/directadmin/dataskq d8000

and see output.
 
Debug mode. Level 8000

root priv set: uid:0 gid:0 euid:0 egid:0
pidfile written
staring queue
dataskq: command: action=backup&ftp%5Fip=%31%39%32%2E%31%36%38%2E%31%2E%31%30%38&ftp%5Fpassword=PASSWORD%35TGlua%33MyMw%3D%3D&ftp%5Fpath=%2FBackup%2Fuser%5Fbackup%2Fserver%32%2FMaandag%2F&ftp%5Fport=%32%31&ftp%5Fusername=admin&owner=admin&select%30=user&type=admin&value=multiple&when=now&where=ftp
InternalText::init(user)
InternalText::init(backup)
InternalText::init(backup)
InternalText::init(user)
User::setQuota(0) user=user
quota command: /usr/sbin/setquota user 0 0 0 0 /
Quotas set
InternalText::init(email)

Strange is that the error only occurs when i run backup off all user accounts, when i only run it for the user that gets the error the backup will succeed.
 
Last edited:
I guess, you'd better run backup for all users and debug output again.

p.s. You'd better hide password in dataskq command output.
 
is it possible that it has something to do with a large e-mail box ? we got one e-mail box that is 1100MB in size becouse the last line i get in debug mode is
InternalText::init(email)
 
The problem:
/bin/tar: /home/tmp/admin/user/user.admin.user.tar.gz: Wrote only 2048 of 10240 bytes
is that tar is finding not enough room on the /home/tmp/ directory. Is that a link to a smaller /tmp partition without much room?

Jeff
 
that could be an explanation /tmp is mounted as partition /home/tmp is an symlink to /tmp partition is 4GB size

last 2 days backup runs good
 
Back
Top