Empty backups

wattie

Verified User
Joined
May 31, 2008
Messages
1,206
Location
Bulgaria
Suddently I found out that my backups are... empty.

For example today I manually backed up a site and according to the message system everything was fine:

Code:
User <user> has been backed up. <17:05:05>

The Admin backups have been created in /home/admin/bup2 <17:05:05>

But after that looking at the file I get the following:

Code:
-rw-r-----  1 admin  <user>    20 Mar 14 17:05 user.admin.<user>.tar.gz

So it's practically empty tar.gz archive - nothing inside. It's a separate hard drive mounted in that directory:

Code:
df -H
...
/dev/ada0p1        1.9T    404M    1.8T     0%    /home/admin/bup2
...

Anyone knows what's going on?
 
Last edited:
Just tried to switch to zstd compression - same thing. So it's nothing to do with the compression itself :(
 
It does not work with user backup too. An it backs up in another partition, so it's not disk issue.
 
Using the command line it worked:

Code:
root@srv2:/ # /usr/local/directadmin/directadmin admin-backup --destination=/home/admin/bup2 --user=<user>
root@srv2:/ # cd /home/admin/bup2/lightingbg/
root@srv2:/home/admin/bup2/<user> # ll
total 1830500
drwx------  5 <user> <user>         512 Mar 14 21:52 backup/
-rw-------  1 <user> <user>  1873936384 Mar 14 21:54 user.admin.<user>.tar.gz
 
Yes... Must have been some new file needed to be written out.

Test the user backup side too..
 
I think it was actually to issue with DA itself (hanging) and it was not fixed because of the command line run but because I did restart the DA service (I did /usr/local/etc/rc.d/directadmin restart).
 
Back
Top