Solved

SQL Database Move Question (Blackberry Server)

Posted on 2013-01-08
7
498 Views
Last Modified: 2013-01-08
I am about to move my Blackberry SQL database onto my new SQL Server.

I am following the folowing link documentation.

LINK HERE

I have two questions.

1- Task 1 - Back up the BlackBerry Configuration Database
    What does the following command do?
    osql -E -S <SQL_Server_name>\<instance_name>

2- Task 2 - Prepare the new Microsoft SQL Server
    Step 4 - Update the BlackBerry Configuration Database schema.

    Important: If the BlackBerry Enterprise Server software was installed to create a blank BlackBerry Configuration Database on a new Microsoft SQL Server instance, do not perform the following task, because the schema has already been updated.

I built a new Blackberry Server a few months ago.   I did this using a new SQL database.  
Do I need to do this?

Thanks for your help.
0
Comment
Question by:Bransby-IT
  • 4
  • 3
7 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 38754330

1. osql (task 1)

the osql command line tool is used to execute sql statements on your instance (your db) -E means "connect using windows authentication", and -S <...> specifies the server and sql instance name to connect to.
once that tool connected, the steps below (backup ....) statements are to be run on the "command prompt" of the osql tool.

2. bb schema database

from what I understand: no. you did create the database already, as you say
0
 
LVL 3

Author Comment

by:Bransby-IT
ID: 38754336
OK I have already taken a backup of the Database, I intend to detatch it and then move it and re atatch it.  

So what would be the reason I perform this command?
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 38754368
not sure why this is written like this in the "move" script, as the "move" implicitly moves a fully working database...
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 
LVL 3

Author Comment

by:Bransby-IT
ID: 38754398
So I can just add the BESadmin Username to the new SQl Server Login
Detach
Move (I am also moving the two files but I want the log files in a different location to the database)
Reattach?
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 38754458
yes, that should do it (for the database move as such).
0
 
LVL 3

Author Comment

by:Bransby-IT
ID: 38755176
I am getting the following error when running the BlackBerry Setup

Bes Error
I have detached moved and Attached the SQL Database and the Logs.

Any ideas?
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 38756038
great ... instead of also giving the actual error message to troubleshoot the connection issue, that setup only gives some "hint" that there is an error ... :(
any "setup log file" with more details?
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Have you ever wondered if there is a way to get a message delivery receipt without interrogating the BlackBerry log files or using the Resource Kit tools? It is possible using this tip: When troubleshooting whether a BlackBerry is receiving email…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

747 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

12 Experts available now in Live!

Get 1:1 Help Now