Backup and restore NAV DB programmatically

Hi, I have a unique requirement. I have to take backup of NAV company from one NAV DB and then restore that company in another NAV DB. I have to do this with a single click. Is it possible to do this programmatically? I am trying to do this using C\FRONT but I can't find an API which can do this and the main problem is that I have to do this in NAV2009 R2 .... :(