Showing posts with label backup. Show all posts
Showing posts with label backup. Show all posts

Friday, March 23, 2012

Grant backup permissions at server level ?

Hi There

The backup database permission seems to only be at a database level , grant backup database and db_backupoperator role only exist at a database level.

However i want to permission to a user to backup any database, and he must not be a sysadmin. I cannot find a server level role that can backup databases.

How can i do this? There are alot of database so granting the permission for every database seems a waste of time, also one would have to remember every time a new database is created to grant this permission.

There must be a way to do this at a server level?

Thanx

In 2005, you can grant CONTROL SERVER, but that would seem too open (almost as bad as sysadmin), so no, you will probably have to add that to your "new database" checklist (or write a procedure that will create the DDL for creating a database and include the GRANT statements/reminder to add GRANT statements.)

They must be really careful with who gets BACKUP privileges, because if you can do a backup, you can do whatever you want with the data in the database.

GRANT BACKUP DATABASE

Hello,
I grant to one user the permission to backup one database
but now i cant check what permissions has that user.
ex: grant backup database to bckusr
grant backup log to bckusr
I test to backup one database with this user account and
got no problem but i supposed that when i grant the user
the "BACKUP DATABASE" permission the user will be added to
the db_backupoperator database role.
Can you explain me this.
Best regardsHi,
I grant to one user the permission to backup one database but now i cant
check what permissions has that user ?
Execute below procedure from query analyzer
use dbname
go
sp_helprotect null,'user_name'
The previlage "BACKUP DATABASE /BACKUP LOG" is identical to
db_backupopeartor role. Basically this fixed role is being assigned with
the BACKUP DATABASE /BACKUP LOG previlages internally.
Thanks
Hari
MCDBA
"CC&JM" <anonymous@.discussions.microsoft.com> wrote in message
news:18e6301c44ca4$81008920$a601280a@.phx.gbl...
> Hello,
> I grant to one user the permission to backup one database
> but now i cant check what permissions has that user.
> ex: grant backup database to bckusr
> grant backup log to bckusr
> I test to backup one database with this user account and
> got no problem but i supposed that when i grant the user
> the "BACKUP DATABASE" permission the user will be added to
> the db_backupoperator database role.
> Can you explain me this.
> Best regardssql

GRANT BACKUP DATABASE

Hello,
I grant to one user the permission to backup one database
but now i cant check what permissions has that user.
ex: grant backup database to bckusr
grant backup log to bckusr
I test to backup one database with this user account and
got no problem but i supposed that when i grant the user
the "BACKUP DATABASE" permission the user will be added to
the db_backupoperator database role.
Can you explain me this.
Best regards
Hi,
I grant to one user the permission to backup one database but now i cant
check what permissions has that user ?
Execute below procedure from query analyzer
use dbname
go
sp_helprotect null,'user_name'
The previlage "BACKUP DATABASE /BACKUP LOG" is identical to
db_backupopeartor role. Basically this fixed role is being assigned with
the BACKUP DATABASE /BACKUP LOG previlages internally.
Thanks
Hari
MCDBA
"CC&JM" <anonymous@.discussions.microsoft.com> wrote in message
news:18e6301c44ca4$81008920$a601280a@.phx.gbl...
> Hello,
> I grant to one user the permission to backup one database
> but now i cant check what permissions has that user.
> ex: grant backup database to bckusr
> grant backup log to bckusr
> I test to backup one database with this user account and
> got no problem but i supposed that when i grant the user
> the "BACKUP DATABASE" permission the user will be added to
> the db_backupoperator database role.
> Can you explain me this.
> Best regards

GRANT BACKUP DATABASE

Hello,
I grant to one user the permission to backup one database
but now i cant check what permissions has that user.
ex: grant backup database to bckusr
grant backup log to bckusr
I test to backup one database with this user account and
got no problem but i supposed that when i grant the user
the "BACKUP DATABASE" permission the user will be added to
the db_backupoperator database role.
Can you explain me this.
Best regardsHi,
I grant to one user the permission to backup one database but now i cant
check what permissions has that user ?
Execute below procedure from query analyzer
use dbname
go
sp_helprotect null,'user_name'
The previlage "BACKUP DATABASE /BACKUP LOG" is identical to
db_backupopeartor role. Basically this fixed role is being assigned with
the BACKUP DATABASE /BACKUP LOG previlages internally.
Thanks
Hari
MCDBA
"CC&JM" <anonymous@.discussions.microsoft.com> wrote in message
news:18e6301c44ca4$81008920$a601280a@.phx
.gbl...
> Hello,
> I grant to one user the permission to backup one database
> but now i cant check what permissions has that user.
> ex: grant backup database to bckusr
> grant backup log to bckusr
> I test to backup one database with this user account and
> got no problem but i supposed that when i grant the user
> the "BACKUP DATABASE" permission the user will be added to
> the db_backupoperator database role.
> Can you explain me this.
> Best regards

Monday, March 19, 2012

good time to shrink TLog?

sql2k sp3
Ive got a db that I just created 3 days ago and already
the TLog is 5 gigs. I do a Full Backup at 2AM every day
and TLog backups every 5 minutes between 5:AM and 7:PM.
This is a replicated db. Every night before the Full
Backup we turn off replication, truncate 3 tables, bulk
insert new data into those tables, turn on replication.
(Of course that explains the big TLog.) The only way I can
get the size of the TLog down by a signifigant amount is
to do a "backup log with truncate_only" followed by
shrinking the file. Does anyone know, based on this
scenario, when a good time to do this stuff is? I tried
only doing the shrink part but it didnt reduce the size a
whole lot. Is there another way to go about this?
Thanks.Chris
I'm finding some of the things you are doing a little hard
to understand, but that may be due to not having all the
info. What are you using replication for? It seems strange
to turn it off, do some major changes to your database and
then turn it back on. Do you not replicate those changes?
Are you doing a database snapshot following the work? How
are you keeping you databases in line with this process?
One possible solution for your actual problem, depending
on disk space and DR strategy, would be to take a full
backup before the changes, go to simple recovery mode.
Perform the changes. Switch back to full recovery after
the changes and take another full backup. This should cut
down on the growth to your transaction log.
I think a better understanding of your replication usage
may lead to a better solution.
Regards
John|||What are you using replication for? It seems strange
>to turn it off, do some major changes to your database
and
>then turn it back on.
So our client can access this data. I need to turn off
replication because I need to truncate these table @. night.
Do you not replicate those changes?
>Are you doing a database snapshot following the work?
Yes. These tables are in their own Publication and it gets
re-snapshotted every night.
How
>are you keeping you databases in line with this process?
Not sure I get this one?
So do you know of a good time I could truncate and shrink
the log?
>--Original Message--
>Chris
>I'm finding some of the things you are doing a little
hard
>to understand, but that may be due to not having all the
>info. What are you using replication for? It seems
strange
>to turn it off, do some major changes to your database
and
>then turn it back on. Do you not replicate those changes?
>Are you doing a database snapshot following the work? How
>are you keeping you databases in line with this process?
>One possible solution for your actual problem, depending
>on disk space and DR strategy, would be to take a full
>backup before the changes, go to simple recovery mode.
>Perform the changes. Switch back to full recovery after
>the changes and take another full backup. This should cut
>down on the growth to your transaction log.
>I think a better understanding of your replication usage
>may lead to a better solution.
>Regards
>John
>.
>|||Chris
Is my suggestion to change the recovery mode during the
busy period not an option then? That way you should not
need to shrink the log. Whilst it may not always possible,
I would like to set up systems so your database and tlog
are the correct size and don't require shrinking. It's not
a good practice to perform regular shrinks.
Just a thought, are you perfomrning regular tlog backups?
By the way how big is your database?
Regards
John

Good Tape software for SQL backups

We would like to backup some databases natively and move the bak files to a
tape server that has a tape drive DLT1 Dell 120T.What are some of the 3rd
party tape software options thats reasonably priced that i can use for the
tape autoloader and that can send me some reports daily about the success or
failure of the SQL backup files copy onto tape.Veritas.
Yovan
"Hassan" <fatima_ja@.hotmail.com> wrote in message
news:OsBU8LOfDHA.616@.TK2MSFTNGP11.phx.gbl...
> We would like to backup some databases natively and move the bak files to
a
> tape server that has a tape drive DLT1 Dell 120T.What are some of the 3rd
> party tape software options thats reasonably priced that i can use for the
> tape autoloader and that can send me some reports daily about the success
or
> failure of the SQL backup files copy onto tape.
>
>

Wednesday, March 7, 2012

Going from SP1 to SP4

What should be done prior to going from SQL 2ksp1 to SQL2kSP4? I more
of a Cisco guy who recently inherited backup duties and in looking over
the SQL server I see its out of date in regards to updates.Backup your databases and verify the backups, Backup the OS and verify it.
the upgrade path is fairly smooth.
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
<sandsdenver@.hotmail.com> wrote in message
news:1163045560.451617.245780@.k70g2000cwa.googlegroups.com...
> What should be done prior to going from SQL 2ksp1 to SQL2kSP4? I more
> of a Cisco guy who recently inherited backup duties and in looking over
> the SQL server I see its out of date in regards to updates.
>|||Hi
Along with Hilary's comments you should really regression test your
application against this new configuration as well. Machines that have the
client tools installed should also be upgraded. You may wish to also look at
applying some of the post SP4 hotfixes, if you use AWE then you should be at
least on version 2040.
John
"sandsdenver@.hotmail.com" wrote:
> What should be done prior to going from SQL 2ksp1 to SQL2kSP4? I more
> of a Cisco guy who recently inherited backup duties and in looking over
> the SQL server I see its out of date in regards to updates.
>|||"Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
news:eJCQCY7AHHA.3540@.TK2MSFTNGP03.phx.gbl...
> Backup your databases and verify the backups, Backup the OS and verify it.
> the upgrade path is fairly smooth.
>
Note however I believe it WILL require all your full text indexes to be
rebuilt. (I believe SP3 started that.)
And also keep an eye out for cross-database ownership chaining.
Otherwise, do the normla, backup, do it, and move on.
Very painless. Did this on our cluster server without a single hitch.
> --
> Hilary Cotter
> Director of Text Mining and Database Strategy
> RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
> This posting is my own and doesn't necessarily represent RelevantNoise's
> positions, strategies or opinions.
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> <sandsdenver@.hotmail.com> wrote in message
> news:1163045560.451617.245780@.k70g2000cwa.googlegroups.com...
>> What should be done prior to going from SQL 2ksp1 to SQL2kSP4? I more
>> of a Cisco guy who recently inherited backup duties and in looking over
>> the SQL server I see its out of date in regards to updates.
>

Going from SP1 to SP4

What should be done prior to going from SQL 2ksp1 to SQL2kSP4? I more
of a cisco guy who recently inherited backup duties and in looking over
the SQL server I see its out of date in regards to updates.Backup your databases and verify the backups, Backup the OS and verify it.
the upgrade path is fairly smooth.
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
<sandsdenver@.hotmail.com> wrote in message
news:1163045560.451617.245780@.k70g2000cwa.googlegroups.com...
> What should be done prior to going from SQL 2ksp1 to SQL2kSP4? I more
> of a cisco guy who recently inherited backup duties and in looking over
> the SQL server I see its out of date in regards to updates.
>|||Hi
Along with Hilary's comments you should really regression test your
application against this new configuration as well. Machines that have the
client tools installed should also be upgraded. You may wish to also look at
applying some of the post SP4 hotfixes, if you use AWE then you should be at
least on version 2040.
John
"sandsdenver@.hotmail.com" wrote:

> What should be done prior to going from SQL 2ksp1 to SQL2kSP4? I more
> of a cisco guy who recently inherited backup duties and in looking over
> the SQL server I see its out of date in regards to updates.
>|||"Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
news:eJCQCY7AHHA.3540@.TK2MSFTNGP03.phx.gbl...
> Backup your databases and verify the backups, Backup the OS and verify it.
> the upgrade path is fairly smooth.
>
Note however I believe it WILL require all your full text indexes to be
rebuilt. (I believe SP3 started that.)
And also keep an eye out for cross-database ownership chaining.
Otherwise, do the normla, backup, do it, and move on.
Very painless. Did this on our cluster server without a single hitch.

> --
> Hilary Cotter
> Director of Text Mining and Database Strategy
> RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
> This posting is my own and doesn't necessarily represent RelevantNoise's
> positions, strategies or opinions.
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> <sandsdenver@.hotmail.com> wrote in message
> news:1163045560.451617.245780@.k70g2000cwa.googlegroups.com...
>

Going from SP1 to SP4

What should be done prior to going from SQL 2ksp1 to SQL2kSP4? I more
of a Cisco guy who recently inherited backup duties and in looking over
the SQL server I see its out of date in regards to updates.
Backup your databases and verify the backups, Backup the OS and verify it.
the upgrade path is fairly smooth.
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
<sandsdenver@.hotmail.com> wrote in message
news:1163045560.451617.245780@.k70g2000cwa.googlegr oups.com...
> What should be done prior to going from SQL 2ksp1 to SQL2kSP4? I more
> of a Cisco guy who recently inherited backup duties and in looking over
> the SQL server I see its out of date in regards to updates.
>
|||Hi
Along with Hilary's comments you should really regression test your
application against this new configuration as well. Machines that have the
client tools installed should also be upgraded. You may wish to also look at
applying some of the post SP4 hotfixes, if you use AWE then you should be at
least on version 2040.
John
"sandsdenver@.hotmail.com" wrote:

> What should be done prior to going from SQL 2ksp1 to SQL2kSP4? I more
> of a Cisco guy who recently inherited backup duties and in looking over
> the SQL server I see its out of date in regards to updates.
>
|||"Hilary Cotter" <hilary.cotter@.gmail.com> wrote in message
news:eJCQCY7AHHA.3540@.TK2MSFTNGP03.phx.gbl...
> Backup your databases and verify the backups, Backup the OS and verify it.
> the upgrade path is fairly smooth.
>
Note however I believe it WILL require all your full text indexes to be
rebuilt. (I believe SP3 started that.)
And also keep an eye out for cross-database ownership chaining.
Otherwise, do the normla, backup, do it, and move on.
Very painless. Did this on our cluster server without a single hitch.

> --
> Hilary Cotter
> Director of Text Mining and Database Strategy
> RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
> This posting is my own and doesn't necessarily represent RelevantNoise's
> positions, strategies or opinions.
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
>
> <sandsdenver@.hotmail.com> wrote in message
> news:1163045560.451617.245780@.k70g2000cwa.googlegr oups.com...
>

Sunday, February 19, 2012

Giving Database to Outsourcing company

We are using an outsourcing company who now wants a backup of our database -
which has sensitive data in it.
The problem is that our Database has 2 applications in it with many Stored
Procedures and Tables in each. I already have them set up with access to
the Stored Procedures and Tables that are involved in the application they
are working on. They have access via VPN at the moment. They are saying
that they are trying to replicate the database for their application but
there are too many Stored Procedures and would be better to use a backup
from us.
I am concerned with giving the outsourcing company a backup or the .dat file
from our system as that would also have the other tables and data on it. We
do have them restricted to only the one application, but if we were to give
them a copy of our database would they be able to override the security on
the other tables?
Thanks,
TomToo many Stored Procedures? What does that mean?
Using Enterprise Manager, it's easy to get a script of the stored procedures
and add them to another database. They are other solutions, like creating
an empty database without any data and send them a backup of this.
You can also use a SQL-Server comparaison tool like Red Gate and others that
you can find on the internet.
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF
"tshad" <tfs@.dslextreme.com> wrote in message
news:eRc%23KdW0GHA.4956@.TK2MSFTNGP04.phx.gbl...
> We are using an outsourcing company who now wants a backup of our
> database -
> which has sensitive data in it.
> The problem is that our Database has 2 applications in it with many Stored
> Procedures and Tables in each. I already have them set up with access to
> the Stored Procedures and Tables that are involved in the application they
> are working on. They have access via VPN at the moment. They are saying
> that they are trying to replicate the database for their application but
> there are too many Stored Procedures and would be better to use a backup
> from us.
> I am concerned with giving the outsourcing company a backup or the .dat
> file
> from our system as that would also have the other tables and data on it.
> We
> do have them restricted to only the one application, but if we were to
> give
> them a copy of our database would they be able to override the security on
> the other tables?
> Thanks,
> Tom
>|||Giving someone physical custody of your database has the potential of
abrogating all security.
Make a backup copy of the database and then delete (from the backup copy)
all tables and data to which the outsourcing firm SHOULD NOT have access.
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:%230z%23wDX0GHA.5072@.TK2MSFTNGP03.phx.gbl...
> Too many Stored Procedures? What does that mean?
> Using Enterprise Manager, it's easy to get a script of the stored
> procedures and add them to another database. They are other solutions,
> like creating an empty database without any data and send them a backup of
> this.
> You can also use a SQL-Server comparaison tool like Red Gate and others
> that you can find on the internet.
> --
> Sylvain Lafontaine, ing.
> MVP - Technologies Virtual-PC
> E-mail: http://cerbermail.com/?QugbLEWINF
>
> "tshad" <tfs@.dslextreme.com> wrote in message
> news:eRc%23KdW0GHA.4956@.TK2MSFTNGP04.phx.gbl...
>|||Hi,
Yes. Once you give them a backup they will be able to override all the
sercurity you have implemented as the restored database will be on there
server and will be controlled by their 'sa' or 'adminstrator' account. Once
you have access to a database as a administrator, you can virtually do
whatever you want.
Instead, why don’t you just give them backup's of the table's they are
concerned with? You can generate insert statements for data in the table.
Refer to http://vyaskn.tripod.com/code.htm#inserts
You can always script the stored procedures using SQL Enterprise Manager and
give them a copy.
Hope this works for you.
Regards,
Karthik
"tshad" wrote:

> We are using an outsourcing company who now wants a backup of our database
-
> which has sensitive data in it.
> The problem is that our Database has 2 applications in it with many Stored
> Procedures and Tables in each. I already have them set up with access to
> the Stored Procedures and Tables that are involved in the application they
> are working on. They have access via VPN at the moment. They are saying
> that they are trying to replicate the database for their application but
> there are too many Stored Procedures and would be better to use a backup
> from us.
> I am concerned with giving the outsourcing company a backup or the .dat fi
le
> from our system as that would also have the other tables and data on it.
We
> do have them restricted to only the one application, but if we were to giv
e
> them a copy of our database would they be able to override the security on
> the other tables?
> Thanks,
> Tom
>
>

Giving Database to Outsourcing company

We are using an outsourcing company who now wants a backup of our database -
which has sensitive data in it.
The problem is that our Database has 2 applications in it with many Stored
Procedures and Tables in each. I already have them set up with access to
the Stored Procedures and Tables that are involved in the application they
are working on. They have access via VPN at the moment. They are saying
that they are trying to replicate the database for their application but
there are too many Stored Procedures and would be better to use a backup
from us.
I am concerned with giving the outsourcing company a backup or the .dat file
from our system as that would also have the other tables and data on it. We
do have them restricted to only the one application, but if we were to give
them a copy of our database would they be able to override the security on
the other tables?
Thanks,
TomToo many Stored Procedures? What does that mean?
Using Enterprise Manager, it's easy to get a script of the stored procedures
and add them to another database. They are other solutions, like creating
an empty database without any data and send them a backup of this.
You can also use a SQL-Server comparaison tool like Red Gate and others that
you can find on the internet.
--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF
"tshad" <tfs@.dslextreme.com> wrote in message
news:eRc%23KdW0GHA.4956@.TK2MSFTNGP04.phx.gbl...
> We are using an outsourcing company who now wants a backup of our
> database -
> which has sensitive data in it.
> The problem is that our Database has 2 applications in it with many Stored
> Procedures and Tables in each. I already have them set up with access to
> the Stored Procedures and Tables that are involved in the application they
> are working on. They have access via VPN at the moment. They are saying
> that they are trying to replicate the database for their application but
> there are too many Stored Procedures and would be better to use a backup
> from us.
> I am concerned with giving the outsourcing company a backup or the .dat
> file
> from our system as that would also have the other tables and data on it.
> We
> do have them restricted to only the one application, but if we were to
> give
> them a copy of our database would they be able to override the security on
> the other tables?
> Thanks,
> Tom
>|||Giving someone physical custody of your database has the potential of
abrogating all security.
Make a backup copy of the database and then delete (from the backup copy)
all tables and data to which the outsourcing firm SHOULD NOT have access.
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc
Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:%230z%23wDX0GHA.5072@.TK2MSFTNGP03.phx.gbl...
> Too many Stored Procedures? What does that mean?
> Using Enterprise Manager, it's easy to get a script of the stored
> procedures and add them to another database. They are other solutions,
> like creating an empty database without any data and send them a backup of
> this.
> You can also use a SQL-Server comparaison tool like Red Gate and others
> that you can find on the internet.
> --
> Sylvain Lafontaine, ing.
> MVP - Technologies Virtual-PC
> E-mail: http://cerbermail.com/?QugbLEWINF
>
> "tshad" <tfs@.dslextreme.com> wrote in message
> news:eRc%23KdW0GHA.4956@.TK2MSFTNGP04.phx.gbl...
>> We are using an outsourcing company who now wants a backup of our
>> database -
>> which has sensitive data in it.
>> The problem is that our Database has 2 applications in it with many
>> Stored
>> Procedures and Tables in each. I already have them set up with access to
>> the Stored Procedures and Tables that are involved in the application
>> they
>> are working on. They have access via VPN at the moment. They are saying
>> that they are trying to replicate the database for their application but
>> there are too many Stored Procedures and would be better to use a backup
>> from us.
>> I am concerned with giving the outsourcing company a backup or the .dat
>> file
>> from our system as that would also have the other tables and data on it.
>> We
>> do have them restricted to only the one application, but if we were to
>> give
>> them a copy of our database would they be able to override the security
>> on
>> the other tables?
>> Thanks,
>> Tom
>>
>|||Hi,
Yes. Once you give them a backup they will be able to override all the
sercurity you have implemented as the restored database will be on there
server and will be controlled by their 'sa' or 'adminstrator' account. Once
you have access to a database as a administrator, you can virtually do
whatever you want.
Instead, why donâ't you just give them backup's of the table's they are
concerned with? You can generate insert statements for data in the table.
Refer to http://vyaskn.tripod.com/code.htm#inserts
You can always script the stored procedures using SQL Enterprise Manager and
give them a copy.
Hope this works for you.
Regards,
Karthik
"tshad" wrote:
> We are using an outsourcing company who now wants a backup of our database -
> which has sensitive data in it.
> The problem is that our Database has 2 applications in it with many Stored
> Procedures and Tables in each. I already have them set up with access to
> the Stored Procedures and Tables that are involved in the application they
> are working on. They have access via VPN at the moment. They are saying
> that they are trying to replicate the database for their application but
> there are too many Stored Procedures and would be better to use a backup
> from us.
> I am concerned with giving the outsourcing company a backup or the .dat file
> from our system as that would also have the other tables and data on it. We
> do have them restricted to only the one application, but if we were to give
> them a copy of our database would they be able to override the security on
> the other tables?
> Thanks,
> Tom
>
>