Solved

BlackBerry Enterprise Server:  Backup SQL Database

Posted on 2008-10-17
5
859 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
ALogvin earned 250 total points
ID: 22745665
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
ID: 22746235
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
ID: 22747080
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
ID: 22748130
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
ID: 22800317
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Viewers will learn how the fundamental information of how to create a table.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

726 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