Empty Backups

We have 2 servers. Server 1 has good backups. Server 2 produces empty backups.

"Backup is complete. Final size was 0 bytes. Total backup time was 08 minutes, 00 seconds.

Sent by Virtualmin at: https://abc1.xyz123.net:10000"

These are the local backups, but the same happens with FTP backups. I’ve tried to change the settings but always get empty backups.

The domainname.com.tar.bz2 file is 0 bytes
The domainname.com.tar.bz2.info is around 184 bytes +/- a bit

Any thoughts of where to look?

Hmm, that’s an unusual problem. There’s plenty of disk space or disk quota for the backup user?

Also, do you see any errors in /var/webmin/miniserv.error?

-Eric

This is what my admin gave me.

sh: -c: line 0: `(cd /home/vm-temp/92121_81_backup.cgi && (/bin/tar cf - virtualmin_* | gzip -c ) 2>&1 >/home/backups/Wed Mar 23 00:07:14 2011-/virtualmin.tar.gz) 2>&1’
Error: BIND is not running
Failed to initialize SSL connection
Failed to initialize SSL connection
Error: Missing or invalid mail username prefix
Error: Missing or invalid mail username prefix
Error: Missing or invalid mail username prefix
Error: Domain 130147464328948 is not valid!
Error: Missing or invalid mail username prefix
Error: You have selected parallel bzip2 compression, but this requires pbzip2 version 1.0.4 or later, and your system has version 1.0.2

Howdy,

Well, I think the key is the error listed at the end there:

Error: You have selected parallel bzip2 compression, but this requires pbzip2 version 1.0.4 or later, and your system has version 1.0.2

That is, your backups are configured to use parallel bzip2 (pbzip2) for compression… but in order for that to work, you need a newer pbzip2 version than what’s installed on your server.

The simplest way to fix that would just be to switch that to standard bzip2 rather than pbzip2… but alternatively, you could custom build a newer pbzip2 version for your server.

-Eric

Thanks Eric,

We had this server set up for us so until recently did not realize that the backups were empty. So to my knowledge this has always been this way.

SO… now for the next truly stupid question… Can I change this somewhere in VirtualMin or Webmin? I looked and cannot find it so far.

  • Arthur

Howdy,

You can tweak that setting in System Settings -> Virtualmin Config -> Backup and Restore. In there is an option for changing “Bzip2 compression command”.

-Eric

It looks like this is how it is already set. :-/

Is there an issue with just putting it in a TAR or standard GZIP or ZIP format?

Hmm, that’s odd. I’m not sure why you’d get an error about pbzip2 if that isn’t what you’re using.

You could always try changing the Backup Compression Format to be Gzip, and see if that helps. It’s possible a setting somehow managed to get in there incorrectly, and changing that to Gzip may fix it right up.

-Eric

This worked perfectly. Thanks for you input and your patience.

  • Arthur