Avatar of Jubal1234
Jubal1234
Flag for Netherlands asked on

How do I restore to another SQL database with BrightStor ?

Hi All,

BrightStor 11.5 SP4
SQL Server 2005

I've got a couple of databases running. I would like be be able to restore a previously back-uped database to another database. By default (as far as I can see), BrightStor always restores to it's original database name.

Example:
I've got 3 databases on SQL:
DB01
DB02
DB03

All are back-uped with BrightStor. Next I want to restore the BrightStor backup of DB03 to DB01.

Another sollution would be just to 'extract' the mdf/ldf from the BrightStor backup.

Any idea it this can be done ?

Thanks,
Gerard
Storage Software

Avatar of undefined
Last Comment
Jubal1234

8/22/2022 - Mon
ashwin_kumar525

Not possible to extract the mdf/ldf files, but you can very well restore to alternate server/ alternate path to the same server with different DB name. you need to do the restore of each database with one restore job as this is a restore to alternate location. just specify the different database name in the destination tab and in the source tab, change the local path of the mdf/ldf files. Follow the instructions in the link below.

https://www.experts-exchange.com/questions/24140436/Restore-SQL-Data-files-in-ARCserve-11-5.html

Let me know if you have further questions.
Jubal1234

ASKER
Hi Aswin,

Unfortunatly this doesn't work. I get this error:

BrightStor ARCserve Backup -- Restore


Job No....................... 6
Job ID....................... 396
Workstation.................. SRV002
Source....................... WK1WOENSDAG, ID D7E5, Sequence #1
Session...................... 4
Target....................... \\DB01\dbasql@MSSQLSERVER
Start Time................... 02-03-09 14:08  


N8647
Restoring Database 'TempPrijzen'.
E8617
Failed to end restore. (DBNAME=TempPrijzen, EC=DB01:[SQL Server] szSqlState = 37000,fNativeError = 3154, errMsg = [Microsoft][ODBC SQL Server Driver][SQL Server]The backup set holds a backup of a database other than the existing 'TempPrijzen' database.)
\\DB01\dbasql@MSSQLSERVER                                                      


Total Database(s)............ 1
Total Skip(s)................ 0
Total Size (DB).............. 192 KB
Total Size (Media)........... 256 KB
Elapsed Time................. 13s
Average Throughput........... 1,15 MB/min
Total Error(s)/Warning(s).... 1/0

Any thoughts ?

Thanks,
Gerard
ashwin_kumar525

Can you check if you are trying to restoring from an incremental backup? post the screen shots of the restore window- Source Tab, Agent options and destination tab.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Jubal1234

ASKER
See attachments. This is a restore from a full backup (we only run full back-ups). I also tried the 'files or filegroups' option in the agent. The folder c:\temp does exist on the destination (database) server as well as on the back-up server.

Also tried another approach: In the prevous scenario (of the screenshots) the destination database already existed. Because I miss the 'Force Overwrite' in the Agent I also tried it after deleting the destination database first. The error I get then is:

Failed to end restore. (DBNAME=MyTempDB, EC=DB01:[SQL Server] szSqlState = 37000,fNativeError = 1834, errMsg = [Microsoft][ODBC SQL Server Driver][SQL Server]The file 'G:\MSSQL\DATA\AX2009.mdf' cannot be overwritten.  It is being used by database 'AX2009'.)
\\DB01\dbasql@MSSQLSERVER

To be clear: The MyTempDB does not exist on the destination server. The location he's trying to write to (G:\MSSQL....) is the location of the original database, even if I have set this to c:\temp in the Agent.

Maybe this sheds some additonal light ?

Thanks for your help !
Gerard

Destination.png
source.png
AgentOptions.png
ASKER CERTIFIED SOLUTION
ashwin_kumar525

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Jubal1234

ASKER
Cool !!!! That did the trick !

Thanks very much for your support !

Cheers,
Gerard