Solved

Backing up SQL

Posted on 1998-08-27
9
198 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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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 500 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

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

11 Experts available now in Live!

Get 1:1 Help Now