Transfer virtualmin

im working on a project which is base on virtualmin-webmin and need to transfer server to new one with all configuration/data/sql and …
how can i take backup from all of these and restore them on new server ?
(virtualmin has beedn installed on new server)


There’s info on migrating to a new server here:

yes its for users file and database,
how about virtualmin configuration? dns records etc

[root@ip198 backup]# virtualmin restore-domain --source /backup/ --all-domains --all-features
Checking for missing features …
… all features in backup are supported

Checking for errors in backup …
… this backup cannot be restored : Original parent virtual server does not exist