Hello @Umeraf,
Support for mirroring/failover isn't something that's offered directly in cPanel & WHM at this time, however, there are some companies offering third-party solutions that make it possible. JetBackup is one:
https://blog.jetapps.com/disaster-re...-5-easy-steps/
If you prefer to set up something like this on your own, check out the comments section on the following feature request for some examples of how others are doing this:
https://features.cpanel.net/topic/ac...h-availability
While you're there, I encourage you to vote and add feedback to the request if you'd like to see support for this level of redundancy integrated with the product.
Let me know if you have any additional questions.
Thanks!