Partially completed backup of Virtualmin

6 posts / 0 new
Last post
#1 Wed, 06/22/2016 - 16:10
Czar

Partially completed backup of Virtualmin

Hello,

I recently upgraded PHP to version 5.6 via dotdeb on Debian 7. Since then I receive Emails regarding partially completed backups.

Depending to the logs all backup actions are done but 4 of 12 virtual servers are listed with errors only in the summary.

I searched the web and support sites but found nothing related.

Does anyone have an idea what is happening and how to solve?

Thanks in advance and best regards Christian

Thu, 06/23/2016 - 16:14
andreychek

Howdy,

If a backup doesn't complete properly, it should generate an error regarding what exactly didn't work properly.

You can see the full backup logs by going into Backup and Restore -> Backup Logs.

Can you share what the exact error is that you're seeing? We can then assist in resolving that... thanks!

-Eric

Mon, 06/27/2016 - 07:06
Czar

Hi Eric,

it should, indeed,.. but it does not :(

Creating backup for virtual server dom1.xyz-1.de ..
    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 dom1_xyz_1_de ..
    .. done

    Creating TAR file of home directory ..
    .. done

.. completed in 13 seconds

Creating backup for virtual server xyz-1.de ..
    Copying virtual server configuration ..
    .. done

    Backing up Cron jobs ..
    .. 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 xyz_1_de ..
    .. done

    Copying Procmail and SpamAssassin configuration files ..
    .. done

    Backing up slave DNS zone configuration ..
    .. domain not found!

    Creating TAR file of home directory ..
    .. done

.. completed in 13 minutes, 22 seconds

Creating backup for virtual server xyz-2 ..
    Copying virtual server configuration ..
    .. done

    Backing up Cron jobs ..
    .. none defined.

    Saving mail aliases ..
    .. done

    Saving mail and FTP users ..
    .. done

    Backing up mail and FTP user Cron jobs ..
    .. done

    Copying Procmail and SpamAssassin configuration files ..
    .. done

    Backing up slave DNS zone configuration ..
    .. domain not found!

    Creating TAR file of home directory ..
    .. done

.. completed in 13 minutes, 16 seconds

Creating backup for virtual server xyz-3.com ..
    Copying virtual server configuration ..
    .. done

    Backing up Cron jobs ..
    .. none defined.

    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 xyz_3_com ..
    .. done

    Copying Procmail and SpamAssassin configuration files ..
    .. done

    Backing up AWstats configuration file ..
    .. done

    Creating TAR file of home directory ..
    .. done

.. completed in 4 minutes, 16 seconds

Creating backup for virtual server dom2.xyz-1.de ..
    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 dom2_xyz_1_de ..
    .. done

    Creating TAR file of home directory ..
    .. done

.. completed in 4 minutes, 16 seconds

Creating backup for virtual server dom3.xyz-1.de ..
    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 SSL Apache virtual host configuration and certificate ..
    .. done

    Copying Logrotate configuration ..
    .. done

    Dumping MySQL database dom3_xyz_1_de ..
    .. done

    Creating TAR file of home directory ..
    .. done

.. completed in 21 seconds

Creating backup for virtual server mod.xyz-4.net ..
    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 mod_xyz-4_net ..
    .. done

    Creating TAR file of home directory ..
    .. done

.. completed in 57 seconds

Creating backup for virtual server xyz-5.de ..
    Copying virtual server configuration ..
    .. done

    Backing up Cron jobs ..
    .. none defined.

    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 xyz-5_de ..
    .. done

    Copying Procmail and SpamAssassin configuration files ..
    .. done

    Backing up AWstats configuration file ..
    .. done

    Creating TAR file of home directory ..
    .. done

.. completed in 1 minutes, 50 seconds

Creating backup for virtual server xyz-6.de ..
    Copying virtual server configuration ..
    .. done

    Backing up Cron jobs ..
    .. none defined.

    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 xyz-6_de ..
    .. done

    Copying Procmail and SpamAssassin configuration files ..
    .. done

    Creating TAR file of home directory ..
    .. done

.. completed in 1 minutes, 48 seconds

Creating backup for virtual server xyz-7.de ..
    Copying virtual server configuration ..
    .. done

    Backing up Cron jobs ..
    .. none defined.

    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 xyz_7_de ..
    .. done

    Copying Procmail and SpamAssassin configuration files ..
    .. done

    Backing up Webmin ACL files ..
    .. done

    Backing up slave DNS zone configuration ..
    .. domain not found!

    Creating TAR file of home directory ..
    .. done

.. completed in 11 minutes, 49 seconds

Creating backup for virtual server autoconfig.xyz-1.de ..
    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 Webalizer configuration files ..
    .. done

    Copying Logrotate configuration ..
    .. done

    Backing up AWstats configuration file ..
    .. done

    Creating TAR file of home directory ..
    .. done

.. completed in 4 seconds

Creating backup for virtual server xyz-4.net ..
    Copying virtual server configuration ..
    .. done

    Backing up Cron jobs ..
    .. none defined.

    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 xyz-4_net ..
    .. done

    Copying Procmail and SpamAssassin configuration files ..
    .. done

    Backing up AWstats configuration file ..
    .. done

    Backing up slave DNS zone configuration ..
    .. domain not found!

    Creating TAR file of home directory ..
    .. done

.. completed in 5 minutes, 52 seconds


    Saving Virtualmin configuration ..
    .. done

    Saving templates and plans ..
    .. done

    Saving email templates ..
    .. done

    Saving custom fields, links, categories and shells ..
    .. done

    Saving custom script installers ..
    .. done

    Saving scheduled backups ..
    .. done

    Saving FTP directory restrictions ..
    .. done

    Saving DKIM settings ..
    .. not installed

    Saving greylisting settings ..
    .. not installed

    Save mail rate limiting configuration ..
    .. not installed

    Saving mail server configuration ..
    .. done

.. done

8 servers backed up successfully, 4 had errors.
8 Virtualmin configuration settings backed up successfully.
Servers with errors: xyz-1.de xyz-2 xyz-7.de xyz-4.net
Deleting backups from local file /private-backup/virtualmin_backup_%a older than 5 days ..
    Deleting directory /private-backup/virtualmin_backup_Tue, which is 6 days old ..
    .. deleted 3.50 GB.

    Deleting file /private-backup/virtualmin_backup_cloud_Tue.tar.gz, which is 5 days old ..
    .. deleted 6.28 MB.

.. deleted 2 old backups, and skipped 11 that were not old enough

This is the complete log just replaced the domain names.

Do you have any ideas?

Thanks in advance and best regards Christian

Mon, 06/27/2016 - 08:51
andreychek

Howdy,

It doesn't look like you're seeing a PHP related error.

What I do see is several mentions of this error:

Backing up slave DNS zone configuration
    .. domain not found!

Now, it looks as if you've configured it to continue the backup process, even when there's an error. Because if that, your backups are actually good.

You should have all the data for your various domains included in the backup, minus the problem shared above.

Figuring out what's causing that is the next step though.

Were you perhaps trying to setup a slave DNS configuration recently?

-Eric

Tue, 06/28/2016 - 13:41
Czar

Hi Eric,

oh my... you are right. I was so focused on searching "errors" .. I missed that.

I changed bind settings and DNS Setup shortly before the php upgrade. I totally forgot about that.

I removed the servers slave dns features. I guess it's working now as intended :)

Thanks alot for opening my eyes! :)

Best regards Christian

Tue, 06/28/2016 - 15:06
andreychek

Aha, that's fantastic, I'm glad that's working for you now!

-Eric

Topic locked