reset-feature

Reset some virtual server feature back to it’s default This command resets the configuration for one or more features for selected virtual servers back to their default configurations, while preserving any customization if possible. The servers to reset are selected with the --domain or --user flags, and the features with flags like --web or --dns. By default the command will skip resetting if this would result in the loss of custom settings, but this can be over-ridden with the --skip-warnings flag.

Reset some virtual server feature back to it’s default#

This command resets the configuration for one or more features for selected virtual servers back to their default configurations, while preserving any customization if possible.

The servers to reset are selected with the --domain or --user flags, and the features with flags like --web or --dns. By default the command will skip resetting if this would result in the loss of custom settings, but this can be over-ridden with the --skip-warnings flag.

To force a complete reset back to defaults for selected features, you can instead use the --full-reset flag.

Command line help#

virtualmin reset-feature --domain name | --user name
 [--unix]
 [--dir]
 [--dns]
 [--mail]
 [--web]
 [--ssl]
 [--logrotate]
 [--mysql]
 [--spam]
 [--status]
 [--webmin]
 [--virtualmin-awstats]
 [--skip-warnings]
 [--full-reset]

Source: https://www.virtualmin.com/docs/development/api-programs/reset-feature/

  • virtualmin, webmin, domain, mail, spam, dns, mysql, ssl, user, log, command line, reset, feature
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...