Re: Enterprise Manager Newbie Question
- From: "Geoff N. Hiten" <SQLCraftsman@xxxxxxxxx>
- Date: Tue, 16 May 2006 17:26:46 -0400
Yes. SQLCMD does not require SSMS. SSMS has a mode to help author such
scripts, but they can be run without the full toolkit. Again, BOL (Books
On-Line) has the details.
As for the file shares, only the SQL Service account needs access to the
share for the backup file. It already controls the folders for the database
and logs. BTW, a SQL backup is not a simple copy of the database files. It
is a bit more complex so a backup can be transactionally consistent AND not
cause blocking while taking the backup. Suffice it to say that the SQL
Server handles all the heavy lifting, all you need to do is tell it to start
and where to find/place the file.
--
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"BayCoMIS" <BayCoMIS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3DCE1CE9-524E-4610-A60D-999E080A7CA0@xxxxxxxxxxxxxxxx
Geoff,
Thanks for the scripting advice. Unfortunately, I don't know much about
SQLCMD scripting. So, my next (obvoius) question would be:
Is it possible to write a script that one could run from a workstation and
NOT have SSMS installed on that workstation? Can we Share out the
directories in which the database and transaction logs are located
(READ-ONLY, of course) and have a script run from the workstation so that
we
don't have to have SSMS installed for the user?
Thanks again for your help. I've been researching the SQLCMD and trying
to
get a grip on it.
"Geoff N. Hiten" wrote:
First, Enterprise Manager does not work with SQL 2005. You have to use
the
new SQL Server Management Studio. SSMS does work with SQL 2000 and SQL
2005.
Second, why don't you write a short backup script using the SQLCMD
utility
that he can invoke to create a backup, you do not have to start a backup
using a GUI. Alternatively, with transaction log backups and FULL
recovery,
he can recover to any point in time with the scheduled full restore as
the
starting point. Therefore he has no need to create random backups.
--
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"BayCoMIS" <BayCoMIS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:80DC3B08-92DF-46C5-A697-9566F5159404@xxxxxxxxxxxxxxxx
Let me preface by saying that I'm not a DBA-type person. I'm more of
the
network guy who truly hopes to have an honest-to-God DBA hired on
within
the
next six months. I'm the interim DBA without much DBA knowledge just
backing
up databases as best I can.
For pure political reasons, I must allow a non-IT person access to
Enterprise Manager for a SQL 2005 database within their subnet.
(Scary,
to
say the least.) The main reason is that they want to be able to backup
their
own database whenever they see fit -- scheduling be damned! The
software
vendor does not offer a backup within their own software; Enterprise
Manager
must be used -- with full admin privileges of the SQL Server!!!
I want to be able to prevent the user from accessing any of the other
SQL
databases (2000 & 2005) within the domain. Is this possible? If so,
how?
Can someone point me in the right direction?
I'd much prefer a script of some kind to allow the user to run a SQL
backup
of the database without invoking Enterprise Manager at all. Is THIS
possible?
My sanity begs for help. Thanks in advance to whomever can offer
assistance
with this issue.
.
- References:
- Re: Enterprise Manager Newbie Question
- From: Geoff N. Hiten
- Re: Enterprise Manager Newbie Question
- From: BayCoMIS
- Re: Enterprise Manager Newbie Question
- Prev by Date: Re: Enterprise Manager Newbie Question
- Next by Date: Re: Enterprise Manager Newbie Question
- Previous by thread: Re: Enterprise Manager Newbie Question
- Next by thread: Re: Enterprise Manager Newbie Question
- Index(es):
Relevant Pages
|