Partially completed backup of Virtualmin on ***** to local file /dump
Webmin version 2.652
Virtualmin version 7.50.3 GPL
Debian 13 Linux 6.12.95+deb13-amd64 on x86_64
Hi all,
I am getting the above err, but cannot see that triggers it or what was (not) backed up.
Here the conf and the log (I only put some of the servers, all would be too much and all log entries look pretty much the same :°)
Backup details
From scheduled backup
Local file
Backup destination
Local file /dump
Encrypted backup
No
Virtual servers included [list of ALL servers goes here]
Virtual servers that failed
[list of servers failed goes here]
Executed via
Scheduled backup
Run by web user None (scheduled or command line)
Started at
07/23/2026 12:00 AM Completed at
07/23/2026 12:13 AM Final backup size
4.9 GiB Run time
13 minutes, 31 seconds Backup type
Full Owners can restore
No Compression format
tar+gzip Filename format
One file per server Final status
Partially completed
Click here for log entries
Testing backup destination local file /dump ..
.. done
Creating backup for virtual server [that one went well] ..
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
Backing up AWStats configuration file ..
.. done
Creating TAR file of home directory ..
.. done
.. completed in 12 seconds
Creating backup for virtual server [that one failed] ..
Copying virtual server configuration ..
.. done
Copying Apache aliases ..
.. done
Backing up PowerDNS database entries for Domain ..
.. done
Creating TAR file of home directory ..
.. done
.. completed in 1 seconds
Creating backup for virtual server [that one failed] ..
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
Backing up PowerDNS database entries for Domain ..
.. done
Backing up AWStats configuration file ..
.. done
Creating TAR file of home directory ..
.. done
.. completed in 5 seconds
Creating backup for virtual server [that one failed] ..
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
Creating TAR file of home directory ..
.. done
.. completed in 2 seconds
Creating backup for virtual server [that one failed]..
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
Backing up AWStats configuration file ..
.. done
Creating TAR file of home directory ..
.. done
.. completed in 7 seconds
Creating backup for virtual server [that one failed] ..
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
Backing up PowerDNS database entries for Domain ..
.. done
Backing up AWStats configuration file ..
.. done
Creating TAR file of home directory ..
.. done
.. completed in 6 seconds
Creating backup for virtual server [that one failed] ..
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
Backing up PowerDNS database entries for Domain ..
.. done
Creating TAR file of home directory ..
.. done
.. completed in 4 seconds
Creating backup for virtual server [that the last one that failed]..
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 aliases ..
.. done
Backing up PowerDNS database entries for Domain ..
.. done
Creating TAR file of home directory ..
.. done
.. completed in 3 seconds
Backing up Virtualmin settings ..
Saving Virtualmin configuration ..
.. done
Saving templates and plans ..
.. done
Saving email templates ..
.. done
Saving custom fields, links, categories and shells ..
.. done
Saving custom web app installers ..
.. done
Saving scheduled backups ..
.. done
Saving DKIM settings ..
.. done
Saving greylisting settings ..
.. done
Save mail rate limiting configuration ..
.. done
Saving mail server configuration ..
.. done
6 virtual servers backed up successfully, 41 had errors
7 Virtualmin system configurations backed up successfully
Servers with errors: [list of servers that failed goes here
If you read through the forums there has issues with debian 13 that have been fixed in virtualmin 8, current virtualmin version is 8.1.0, so it may be worth upgrading to virtualmin 8, to maybe fix this and other bugs
Aha, cheers, thanks for pointing that out Jim!
This box usually auto-updates itself and all packages, but following your hint I saw that there was an issue w. virtualmin repos that I had to fix. That’s why it was “stuck” at 7.x
Updated to 8, ran backup and…:
47 virtual servers backed up successfully
10 Virtualmin system configurations backed up successfully
Backup is complete. Final size was 4.91 GiB.
SOLVED!
Thank you for your guidance and for pointing me in the right direction, Jim!
Which features do you have enabled on the “System Settings ⇾ Features and Plugins” page? Do you mind providing a screenshot?
Also, which features do you have enabled for the domain’s scheduled backup? Do you mind showing a screenshot as well?
When you say it works when run manually, are you referring to clicking the “Backup” button in the “Actions” column for the existing scheduled backup on the “Backup and Restore ⇾ Scheduled Backups” page, then clicking the “Backup Now” button at the bottom of the page that opens? Or do you mean using the one-shot backup on the “Backup and Restore ⇾ Backup Virtual Servers” page?
Yes, with run manually, I am referring to clicking the “Backup” button in the “Actions” column for the existing scheduled backup on the “Backup and Restore ⇾ Scheduled Backups” page, then clicking the “Backup Now” button at the bottom of the page that opens.
The command only shows problems w. IPv6 (which I don’t actively use). Here are only 8 of the 47 servers listed, half of which are included in the backup, while the other half failed:
validate-domains
`
:~# virtualmin validate-domains --all-domains --all-features --problems
*****
Apache website : An IPv6 DNS record www.***** with address 2606:4700***** exists, but this virtual server does not have IPv6 enabled
*****
Apache website : An IPv6 DNS record www.***** with address 2606:4700:20::*****9 exists, but this virtual server does not have IPv6 enabled
*****
Apache website : An IPv6 DNS record www.***** with address 2600:3c*****:5de5 exists, but this virtual server does not have IPv6 enabled
*****
Apache website : An IPv6 DNS record www.***** with address 2600:3*****d:cf2a exists, but this virtual server does not have IPv6 enabled
*****
Apache website : An IPv6 DNS record www.***** net with address 2606:47***** exists, but this virtual server does not have IPv6 enabled
*****
Apache website : An IPv6 DNS record ww***** o with address 2600:3*****6 exists, but this virtual server does not have IPv6 enabled
*****
Apache website : An IPv6 DNS record www.***** .net with address 2606:4*****9 exists, but this virtual server does not have IPv6 enabled
*****
Apache website : An IPv6 DNS record www.***** with address 2600:3*****a exists, but this virtual server does not have IPv6 enabled
Hans, alright, I believe I have found and fixed the root cause of your issue.
Your system had been using older repositories and consequently never received the later fixes for the Virtualmin PowerDNS plugin.
After upgrading to the Virtualmin 8 repository, the outdated Virtualmin PowerDNS plugin remained installed because its latest package was missing from the new repository.
I have now added the latest webmin-virtualmin-powerdns package to the Virtualmin 8 repository.
Please install latest package updates using “System ⇾ Software Package Updates” page or run:
apt update && apt upgrade
This should update the Virtualmin PowerDNS plugin and resolve the scheduled backup issue, because the 41 reported failures correspond exactly to the 41 virtual servers using PowerDNS.
After updating, please run the scheduled backup again and confirm that it completes successfully.
many thanks for tracking down the issue - as it seems we are on the right path and it is the PDNS plugin
So I installed the latest version…:
Summary
:~# wget https://download.virtualmin.com/webmin-virtualmin-powerdns_1.13.1-1_all.deb
--2026-08-03 09:07:47-- https://download.virtualmin.com/webmin-virtualmin-powerdns_1.13.1-1_all.deb
Resolving download.virtualmin.com (download.virtualmin.com)... 13.226.94.58, 13.226.94.122, 13.226.94.106, ...
Connecting to download.virtualmin.com (download.virtualmin.com)|13.226.94.58|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 33088 (32K) [application/vnd.debian.binary-package]
Saving to: ‘webmin-virtualmin-powerdns_1.13.1-1_all.deb’
webmin-virtualmin-p 100%[===================>] 32.31K --.-KB/s in 0.002s
2026-08-03 09:07:47 (17.1 MB/s) - ‘webmin-virtualmin-powerdns_1.13.1-1_all.deb’ saved [33088/33088]
:~# dpkg -i webmin-virtualmin-powerdns_1.13.1-1_all.deb
Selecting previously unselected package webmin-virtualmin-powerdns.
(Reading database ... 167428 files and directories currently installed.)
Preparing to unpack webmin-virtualmin-powerdns_1.13.1-1_all.deb ...
Unpacking webmin-virtualmin-powerdns (1.13.1-1) ...
Setting up webmin-virtualmin-powerdns (1.13.1-1) ...
:~# apt update && apt upgrade
Hit:1 http://security.debian.org/debian-security trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
Hit:4 https://download.virtualmin.com virtualmin InRelease
Hit:5 http://repo.powerdns.com/debian trixie-auth-50 InRelease
Hit:6 http://repo.powerdns.com/debian trixie-dnsdist-20 InRelease
All packages are up to date.
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
:~#
System Settings → Features and Plugins shows:
PowerDNS Domain Plugin 1.13.1 41 domains
System Settings → Re-Check Configuration, ends w."
.. your system is ready for use by Virtualmin
Yet, no servers were backed up (not even partially like before). See todays backup log:
FULL log
`Testing backup destination local file /dump ..
.. done
Creating backup for virtual server ******.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 SSL Apache virtual host configuration and certificate ..
.. done
Copying Logrotate configuration ..
.. done
Backing up AWStats configuration file ..
.. done
Creating TAR file of home directory ..
.. done
.. completed in 14 seconds
Creating backup for virtual server ******.net ..
Copying virtual server configuration ..
.. done
Copying Apache aliases ..
.. done
virtualmin-powerdns::feature_backup failed : Can't call method "prepare" on an undefined value at /usr/share/webmin/virtualmin-powerdns/virtualmin-powerdns-lib.pl line 68.`
I am happy to help w. debugging this and am available on telegram too if need may be
Ah, I see. Okay, I just released Virtualmin PowerDNS 1.13.2 to address this issue. Could you please install the latest update and give it another shot?
Still, we might want to do a deeper rework of the PowerDNS plugin in the future. It would help to know your workflow, how you are using it, and what you expect from it.