Solved

BlackBerry Enterprise Server:  Backup SQL Database

Posted on 2008-10-17
5
849 Views
Last Modified: 2012-05-05
I've recently (1 month ago) installed BES version 4.1.6 with SQL 2005 Express preinstalled on Windows Server 2003.  The installation went fine and BES appearred to use the existing install of SQL 2005 Express.  Today I am trying to backup the BESMgmt.mdf file but it has not updated since it's installation, also, when I view the SQL install through the SQL Management Studio Express the BESMgmt DB shows up as a system database in a SQL 2000 instance.  The few users I have (10) using the BES seem to be functioning normally and I can add new users without a problem.  My major concern is how do I backup the configuration if it's not being writen to a database?  Is there a major problem I'm not feeling yet or maybe this is somehow normal and I am just misunderstaning something.  Any insight would be greatly appreciated!!
0
Comment
Question by:Mr-Moody
  • 2
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
ALogvin earned 250 total points
Comment Utility
Sounds like you are connecting to the wrong SQL Express instance.

On your BES, run the BlackBerry Server Configuration app, which should be on your start menu. You can find the SQL instance name and database file to back up there.
0
 

Author Comment

by:Mr-Moody
Comment Utility
Thank you!  That does help.  When I open the Server Config. App. I see that the database is actually an MSDE database not my SQL express DB.  So BES installed MSDE even though SQLE was already installed.  That answers half of my question...

The other half still seems a mystery to me, (probably just me).  So the next question I have is does Windows change the modified stamp on a DB file when it's written to?  I ask this because my besmgmt DB and Log files have not been modified since their creation some month ago, even though I've added a dozen users, created groups, etc.  

Thank you again!
0
 
LVL 11

Expert Comment

by:ALogvin
Comment Utility
If you are running an active BES, that database is written to hundreds of times a second. I dont know Windows timestamp philosophy though.
0
 
LVL 9

Assisted Solution

by:monorail1
monorail1 earned 250 total points
Comment Utility
Unless you manually specified a SQL instance on that localhost or another system when you installed BES, it would have installed it's own copy of MSDE2000. So, as this sounds like the case and you need to back up the DB do the following
run: cmd

C:\> osql -E
1> backup database besmgmt to disk = "C:\besDBBackup123.bak"
2> go
1> quit
C:\>

Performing a restore of the MSDE .bak to the SQL instance and switching SQL versions is a completely different process. Use the BES server configuration utility to see what server\database you are pointing to.



~ CFJ
0
 

Author Comment

by:Mr-Moody
Comment Utility
I was able to establish that the MSDE database was being written to using Perfmon so I have to assume Windows does not adjust the modified timestamp when transactions are written.  
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now