Niranjan Venkatesh
asked on
Remote Start of VBS between two servers.
Hi Folks,
I am going to explain my issue and hope i can get an easy answer!
I have a two domain's with Two Dc on each , one is running Windows Server 2008 R2 and the other Windows Server 2008, both 64 bit . I have written a VBS to create backups of the data . The script creates a backup of the data onto the secondary DC, then creates a zip file named with the date and time on an external backup Hard drive. I also use the same script on the secondary Dc to create a zip file for daily offsite storage.
The scripts are doing the job perfectly , the logic and all other factors are great. Currently the primary Dc gives message to let the user know the files have been copied to the Secondary dc, and the user can then double click the script on the Secondary dc to begin zipping the files onto the offsite HDD.
My problem is that i actually want the script running on the primary DC to start the backup script on the secondary Dc automatically with out asking the user to do so. The zipping process has a command window to show its progress and on completion the servers are shutdown each day.
Any ideas and suggestion on this problem would be appreciated.
Regards,
Niranjan
I am going to explain my issue and hope i can get an easy answer!
I have a two domain's with Two Dc on each , one is running Windows Server 2008 R2 and the other Windows Server 2008, both 64 bit . I have written a VBS to create backups of the data . The script creates a backup of the data onto the secondary DC, then creates a zip file named with the date and time on an external backup Hard drive. I also use the same script on the secondary Dc to create a zip file for daily offsite storage.
The scripts are doing the job perfectly , the logic and all other factors are great. Currently the primary Dc gives message to let the user know the files have been copied to the Secondary dc, and the user can then double click the script on the Secondary dc to begin zipping the files onto the offsite HDD.
My problem is that i actually want the script running on the primary DC to start the backup script on the secondary Dc automatically with out asking the user to do so. The zipping process has a command window to show its progress and on completion the servers are shutdown each day.
Any ideas and suggestion on this problem would be appreciated.
Regards,
Niranjan
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
My main issue was to running the VBS on DC2 as soon as Dc1 finished copying the files to it. So this solution works well, as i dont have to worry about scheduling , setting times etc.
ASKER
The LAN connections are very decent (1GBPS) so that is not an issue. I think i did not make it very clear(sorry it was late, and I was tired and stressed as a server I am building was giving me grief!) In total there is three backups being made, one on the Secondary DC, one on the External HDD attached to the Primary DC and another External HDD on the Secondary DC which is my off site backup.
I did try Psexec, but on the second dc the file pops up a window and nothing seem to happen as i think it is related to the window that Winzip Cli opens.
I will try the schtasks idea over this weekend and revert by Monday.
Regards,
Niranjan