Backup to two locations does not work - 0 bytes in size

Hi I am back with yet another backup issue.

I run two servers with Virtualmin - they have both been backing up locally and to each other for about a year now without problems, but now the one server has some problems.

The server filled up and ran out of space so the backups failed (they failed to delete the old backups, this is ok as this happens some times, so I just delete the old backups and then things are back to normal, but not this time)

The Server is set up to backup all Domains to 2 locations, 1 has strftime-style time substitutions and set to delete every 3 days and the other is only to a location that overwrites every day.

After the backup I get.

“Backup is complete. Final size was 0 bytes.”

I have tried to remove and recreate the backup job - it does not work - there are also no errors in any of my logs.

When I remove one of the locations the backup seems to work fine, but when I have 2 locations it does not work at all. Just the “Final size was 0 bytes.”’

Any ideas??

Edit: I do think that this problem started after upgrading to Virtualmin 3.96

Howdy,

Are you having a problem with just one of the backups? Or both of them?

If just one – is it the first or second?

And does it seem to matter if you switch the order?

-Eric

Hi Eric,

Both end up with the 0 bytes empty backup - I have tried switching them around and removing the job and adding it again - but nothing works - I actually also notice that it will create the first backup as 0 bytes and then not actually even copy that over to the second location… I really have no idea whats going on…
I have no just turned to a single location backup and that works fine

Eric,

Any idea where I can start looking at what is causing this problem?

Thanks

@kiteplans - could you post the full backup output from Virtualmin? I’d like to see what it is saving, and to where…

@JamieCameron - can I email or PM it to you? I would not like to post my domain names online…thanks

I’ve marked this thread as private (you can see the key next to your original post) – that way, only Jamie and I (Virtualmin staff) can see it.

Feel free to post your output here, it’ll be safe!

-Eric

Creating backup for virtual server zhenzhuweifu.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database dared_father ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 50 seconds

Creating backup for virtual server aihuimin.com
Copying virtual server configuration …
… done

Copying records in DNS domain ..
.. done

Copying Apache aliases ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 0 seconds

Creating backup for virtual server aihuimin.org
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying SSL Apache virtual host configuration and certificate ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database aihuimin_joomla ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 41 seconds

Creating backup for virtual server jesussoldiers.org
Copying virtual server configuration …
… done

Copying records in DNS domain ..
.. done

Copying Apache aliases ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 0 seconds

Creating backup for virtual server olivetreesystems.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Webalizer configuration files ..
.. done

Dumping MySQL database OTS_modx ..
.. done

Dumping MySQL database OTS_mybb ..
.. done

Dumping MySQL database OTS_projelead ..
.. done

Copying Procmail and SpamAssassin configuration files ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 1 minutes, 21 seconds

Creating backup for virtual server dwylchina.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database dwylchina ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 2 seconds

Creating backup for virtual server secure.julula.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 ..
.. no Apache virtual host found!

Copying SSL Apache virtual host configuration and certificate ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database secure ..
.. done

Dumping MySQL database billing ..
.. done

Copying Procmail and SpamAssassin configuration files ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 16 seconds

Creating backup for virtual server mercysail.org
Copying virtual server configuration …
… done

Copying records in DNS domain ..
.. done

Saving mail aliases ..
.. done

Saving mail and FTP users ..
.. done

Backing up mail and FTP user Cron jobs ..
.. none to backup

Copying Apache aliases ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 0 seconds

Creating backup for virtual server mercygate.org
Copying virtual server configuration …
… done

Copying records in DNS domain ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 0 seconds

Creating backup for virtual server agapehui.org
Copying virtual server configuration …
… done

Copying records in DNS domain ..
.. done

Copying Apache aliases ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 1 seconds

Creating backup for virtual server kiteplans.info …
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database press_kite ..
.. done

Backing up Webmin ACL files ..
.. done

Backing up DAV users file ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 19 seconds

Creating backup for virtual server purplescroll.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database herman_purplescroll ..
.. done

Dumping MySQL database herman_psdemo ..
.. done

Copying Procmail and SpamAssassin configuration files ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 1 minutes, 28 seconds

Creating backup for virtual server mercygate.net
Copying virtual server configuration …
… done

Copying records in DNS domain ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 1 seconds

Creating backup for virtual server mercytech.info …
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. done

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database mercytec_lantern ..
.. done

Dumping MySQL database mercytec_mercytech ..
.. done

Dumping MySQL database mercytec_MercyTechForum ..
.. done

Copying Procmail and SpamAssassin configuration files ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 2 minutes, 59 seconds

Creating backup for virtual server jesussoldiers.net
Copying virtual server configuration …
… done

Copying records in DNS domain ..
.. done

Copying Apache aliases ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 0 seconds

Creating backup for virtual server creativeheartz.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database creative_creative ..
.. done

Copying Procmail and SpamAssassin configuration files ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 53 seconds

Creating backup for virtual server zhenzhuweifu.org
Copying virtual server configuration …
… done

Copying records in DNS domain ..
.. done

Copying Apache aliases ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 1 seconds

Creating backup for virtual server tools.huizucun.com
Copying virtual server configuration …
… done

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database tools ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 1 seconds

Creating backup for virtual server agapehui.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database agapehui ..
.. done

Dumping MySQL database agape_joomla ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 13 seconds

Creating backup for virtual server jesussoldiers.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 0 seconds

Creating backup for virtual server julula.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database purple_julula ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 8 seconds

Creating backup for virtual server dev.olivetreesystems.com
Copying virtual server configuration …
… 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database dev ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 5 seconds

Creating backup for virtual server mercygate.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. done

Copying records in DNS domain ..
.. done

Saving mail aliases ..
.. done

Saving mail and FTP users ..
.. done

Backing up mail and FTP user Cron jobs ..
.. none to backup

Creating TAR file of home directory ..
.. done

… completed in 58 seconds

Creating backup for virtual server wanmin.org
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database harvest2asia ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 4 seconds

Creating backup for virtual server mercysail.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database mercy001_mercy ..
.. done

Dumping MySQL database mercysail ..
.. done

Copying Procmail and SpamAssassin configuration files ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 1 minutes, 37 seconds

Creating backup for virtual server swirlydoos.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying SSL Apache virtual host configuration and certificate ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database swirlydo_eoos01 ..
.. done

Dumping MySQL database swirlydo_cpm01 ..
.. done

Dumping MySQL database swirlydo_zc01 ..
.. done

Dumping MySQL database swirlydo_magento ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 21 minutes, 41 seconds

Creating backup for virtual server huizucun.com
Copying virtual server configuration …
… done

Backing up Cron jobs ..
.. none defined.

Copying records in DNS domain ..
.. 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 Apache log files ..
.. done

Copying Logrotate configuration ..
.. done

Dumping MySQL database hui_villiage_blog ..
.. done

Backing up Webmin ACL files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 19 seconds

Creating backup for virtual server demo.purplescroll.com
Copying virtual server configuration …
… 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 Apache log files ..
.. done

Creating TAR file of home directory ..
.. done

… completed in 2 seconds

27 servers backed up successfully, 1 had errors.

Servers with errors: secure.julula.com
Deleting backups from local file /home/rdiff-backup/julula_backups/vdomains/%d-%m-%Y older than 3 days …
… no backups to delete were found

Running post-backup command …
… done

What are your two backup destinations - are they both local, or is one remote? I didn’t see any messages about an SSH or FTP transfer in the backup log …

Hey, they are both local - the one that has a local+SSH works fine - but the server with Local+Local does not work at all…