i am moving ahead on RL 10.x. Doing virtualmin restore-domain is giving me:
Module webalizer does not exist
and doing dnf install webalizer no longer appears to work:
No match for argument: webalizer
is webalizer critical to getting virtualmin restore-domain to work properly? i wanted to ask before i spent too much time looking around for it.
thank you.
EDIT: this page points to a homepage that no longer exists.
i have posted this question on the RL forum in case this is critical.
EDIT(2): i found an rpm and installed, trying out virtualmin restore-domain again.
i get the feeling its not maintained anymore: Webalizer V2.23-08 (Linux 6.12.0-124.21.1+2.1.el10_1_ciq.x86_64 x86_64) English Copyright 1997-2013 by Bradford L. Barrett
Yeah, we no longer support Webalizer, as it has been unmaintained for years. You probably don’t want it.
You can restore a domain with some features disabled, or, better, if you have the original server and can make new backups, just disable that feature before backing up.
But, you should also be able to specify which features to backup, but I think you’ve got conflicting options. If you say --all-features you get all features. You’d just use --except-feature webalizer to exclude that feature.
trying again… i (mis)interpreted --all-features --except-feature webalizer to mean “all, except”.
EDIT - we must list at least one feature so i will try again listing just the features i need.
this is an extremely useful command i was unaware of: virtualmin list-features;
now i am trying again just listing my necessary features individually:
virtualmin backup-domain \
–dest /../virtualmin.tgz \
–feature dns \
–feature web \
–feature ssl \
–feature dir \
–all-virtualmin \
–all-domains ;
Note: on the Edit Virtual Server page, the dir option is not listed with the Enabled features section but instead is in Virtual server details section. Omitting it just creates a VS without any data. although i have found omitting this and creating a new VS to be very handy occasionally.
Hmm… that’s bug-like. If --except-feature doesn’t work with --all-features, then --except-features should mean all features except the ones specified, because otherwise --except-feature is completely useless. I’ll ask @Jamie to take a look.
my thinking now is that when i first installed this webmin/virtualmin, i was “rushing” since i was under the Centos/RockyLinux conversion deadline and the originall installation was never clean.
so the mysterious issues i face are probably due to my faulty installation.
so for now, i will just re-create the domains on the NEW server and use tar.
once the server migration is completed, i will revisit this, although i strongly suspect it will work perfectly.
There’s a subtle difference when the restore re-creates a domain that doesn’t exist on the destination system. If you omit --only-features, the re-created domain will try to include all features that were on the original system, BUT may not restore the settings for all those features.
However, if --only-features is given, the domain will only be re-created with the features selected to restore.
I admit this is confusing, so maybe we should change it
but the more i think about it, the more i realize, at least for now, that its far easier for me to just have a series of virtualmin create-domain commands since i only have four services.
Given the fact that restoring a domain onto a new system without a feature that was available on the old system is very common (because we’ve deprecated a few features over the years), and restoring fails with no obvious way to avoid it, it’s currently a pretty bad user experience.
I don’t actually know how to do what needs to be done to restore this domain, given what you just said. It seems like a “can’t get there from here” problem, which isn’t great UX.