?
Solved

Backing up SQL

Posted on 1998-08-27
9
Medium Priority
?
213 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
  • 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
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
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

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Question has a verified solution.

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

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
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

589 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