Script to Backup the BES Server

(imported topic written by SystemAdmin)

Here is an example script that can be used to backup the BES Server files and folders onto a failover BES Server. It uses the robocopy utility so that will need to be installed on the servers. This script would be used in conjunction with a SQL backup or replication procedure so that the database is copied over to the backup BES Server as well. This would be run as a .cmd file on the BES Server periodically. This file backup will help the failover BES Server to recover faster in a DR situation as the BES Server won’t need to re-download files and recreate state information.

REM *** This script is 

for DR backup of the BES Server files and folders to a standby failover server. REM *** The failover BES Server should have the BES Server installed but its services stopped. REM *** This script is compatible with 6.0. REM *** For 5.1, copy the entire Mirror Server folder instead of just the Inbox. REM *** You should also backup your 

private key files. REM *** This script should be run once a day when the database backup is created.   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\ClientRegisterData\registrationlist.txt" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\ClientRegisterData\registrationlist.txt"   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\sitearchive" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\sitearchive" /mir   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfsites" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfsites" /mir   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\bfsites" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\bfsites" /mir   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads" /mir   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\Mirror Server\Inbox" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\Mirror Server\Inbox" /mir   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\Uploads" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\Uploads" /mir

(imported comment written by jr6591)

Tyler,

Can the failoverserver be a Windows 2003 server if our current BES is a Windows 2000 server? Also, do we need a new license (masthead) when setting up the failover server?

Thanks

(imported comment written by SystemAdmin)

Hi jr,

Yes, the failover server could be a 2k box if the primary is 2k3. It would probably not be a good idea to have the BES Server software at different versions though.

Your backup server would use the same masthead as the primary BES Server. The BES Clients, BES Relay, BES Console and BES Server all need to be on the same license (masthead) to function correctly with each other.

Please let me know if you have more questions about setting up a failover server and need advice on how to set it up. There are lots of ways to configure and create failover environments depending on your requirements and the amount of effort you want to put into it.

(imported comment written by SystemAdmin)

Mistake in my script above, the Uploads folder is in wwwrootbes/uploads.

REM *** This script is 

for DR backup of the BES Server files and folders to a standby failover server. REM *** The failover BES Server should have the BES Server installed but its services stopped. REM *** This script is compatible with 6.0. REM *** For 5.1, copy the entire Mirror Server folder instead of just the Inbox. REM *** You should also backup your 

private key files. REM *** This script should be run once a day when the database backup is created.   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\ClientRegisterData\registrationlist.txt" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\ClientRegisterData\registrationlist.txt"   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\sitearchive" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\sitearchive" /mir   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfsites" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfsites" /mir   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\bfsites" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\bfsites" /mir   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads" /mir   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\Mirror Server\Inbox" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\Mirror Server\Inbox" /mir   robocopy 
"C:\Program Files\BigFix Enterprise\BES Server\wwwrootbes\Uploads" 
"\\failoverbesserver\c$\Program Files\BigFix Enterprise\BES Server\wwwrootbes\Uploads" /mir