I have two servers with virtualmin running correctly, one is the master and the second one is the salve, both working with keepalived . So i created a cronjob to copy my domains hourly.
Everything is working fine but my problem is that in the command that i use contain the root password . My question is , can i change this command to use private key or different user instead of root password ?
virtualmin transfer-domain --domain mydomain.net --host slavehostip --pass rootpassword --replication --overwrite