Error Compressing the backup file

KataKotop

Verified User
Joined
May 13, 2022
Messages
21
Hello,
I am getting errors during backup.I suspect the /tmp folder size is not enough for the admin account to be backed up.
How may i make sure this ?

Thanks .

Log :
Error Compressing the backup file admin.root.admin.tar.zst : zstd: error 25 : Write error : No space left on device (cannot write compressed block)
/bin/tar: -: Cannot write: Broken pipe
/bin/tar: Error is not recoverable: exiting now
 
by default:
backup_tmpdir=/home/tmp
if you don't have enough free space in /home - you can change dir to another, don't forget to set same owner/permissions
 
I have 25gb free space :

[root@box ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 874M 0 874M 0% /dev
tmpfs 909M 0 909M 0% /dev/shm
tmpfs 909M 97M 813M 11% /run
/dev/vda1 50G 25G 26G 49% /
tmpfs 182M 0 182M 0% /run/user/0
 
I have 25gb free space :


/dev/vda1 50G 25G 26G 49% /
It tells you right here. It filled up the disk trying
Write error : No space left on device (cannot write compressed block)
Yes but your HD total size is only 50 GB. You want to back up 25 GB. You need to cleanup old backups/files or get a bigger disk. Your overall disk size isn't big enough currently. Typically you need twice the space as the backup size. So you would need about 75GB disk total.
 
No,
i already have daily backups in backup folder.Backup fails from time to time only when taking backup of admin account.
All backups from individual accounts are completed succesfully.
My current disk usage is only 15gb.
So 30 gb of disk space should be enough ?
 

Attachments

  • Screenshot_3.jpg
    Screenshot_3.jpg
    202.1 KB · Views: 9
taking backup of admin account.
How big is that backup normally?
All backups from individual accounts are completed succesfully.
Great are they smaller? What is the average size of the Backup?

Where is the location of the backups in the file system? Normally the old backups are kept inside the /home/admin/admin_backups
Which could mean you are backing up the backups.
Also old backups are not normally deleted. You have to do this manually or with a script.
 
Last edited:
Seems like that should work.

Are you backing up admin and the individual sites at the same time?

What happens if you go run a admin backup right now?
 
Just run backup manually from directadmin and it went successful :

The Admin backups have been created in /home/admin <21:40:01>
 
Today i have received another error :

An error occurred during the backup (id=1)​

2022-07-16 05:36
Error Compressing the backup file admin.root.admin.tar.zst : zstd: error 25 : Write error : No space left on device (cannot write compressed block)
/bin/tar: -: Wrote only 6144 of 10240 bytes
/bin/tar: Error is not recoverable: exiting now
 
Back
Top