?
Solved

Backing up SQL

Posted on 1998-08-27
9
Medium Priority
?
206 Views
Last Modified: 2010-03-19
Help, I'm in a time crunch so I need answers fast.  We are a complete NT4 shop, servers to workstations, one of our servers is running SQL 6.5, Cheyenne's ArcServe 6.5 (build 620), open file backup agent and an eval of the SQL agent for ArcServe.  The SQL restores are the problem.  Table Restores are fine, Database Restores require intervention but they work (you must manually recreate the database object.)  Database Device Restores work for one device at a time.  However, attempting to restore multiple database devices does not.  I am not really looking for a specific fix for our issues, so much as someone who has done this and who has had problems they have overcome.  I need someone who can provide some important tips and tricks to make this all work.  I am giving a lot of points away on this one to the individual who provide the best and the most, the quickest.  
   
0
Comment
Question by:tkd_jay
[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
  • 6
  • 3
9 Comments
 
LVL 1

Author Comment

by:tkd_jay
ID: 1089794
Edited text of question
0
 
LVL 1

Author Comment

by:tkd_jay
ID: 1089795
Edited text of question
0
 
LVL 1

Author Comment

by:tkd_jay
ID: 1089796
Edited text of question
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Expert Comment

by:gmoriak
ID: 1089797
You could create scripts to do your work.  e.g.

/* loadmydatabase.sql */
create database mydatabase ....
go
load database mydatabse ...
go

Then run the scripts using

isql.exe .... -i loadmydatabase.sql

Run isql /? for all command line parameters.  The same could be done to resolve your other problems.  You can schedule these commands to run as you want etc.
0
 
LVL 1

Author Comment

by:tkd_jay
ID: 1089798
We understand that we can use scripts, it just seems to us that the restore process should be more seemless than it seems to be.  
0
 
LVL 3

Expert Comment

by:gmoriak
ID: 1089799
Don't shoot the messenger
0
 
LVL 1

Author Comment

by:tkd_jay
ID: 1089800
No shots fired from this direction.  I take it you have already run into this situation?
0
 
LVL 3

Accepted Solution

by:
gmoriak earned 2000 total points
ID: 1089801
Here's reasoning for the way it is:

The LOAD DATABASE command takes a database name - this is good.  It allows you to backup a database and restore it under a new name.  The database name is not hard coded into the database.  The admin functions you speak of are show stoppers.  They had better act as expected.  If they automatically created devices or databases, this might lead to unexpected results (though they are the results you personally want).  I think of this "limitation" more as safety features.
0
 
LVL 1

Author Comment

by:tkd_jay
ID: 1089802
Thanks for the info, but no thanks, you confirmed what we feared.  We considered giving you a "C" since it wasn't the answer we wanted to hear.  But we don't shoot the messenger and it isn't your fault it doesn't work as seamless as it should.  So since you gave the only answer you could and it appears to be the correct one you get an A and all 500 pts.  Enjoy and thanks for nothing, : )

0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

764 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