Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

backup with different credentials Expand / Collapse
Author
Message
Posted Tuesday, October 28, 2008 1:05 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, June 9, 2014 2:33 PM
Points: 219, Visits: 457
Is it possible for me to have SQL Services logged in as a local admin account on Server A (SQL Server 2000) and back that server up with Server B (SQL Server 2005) to Server C (my backup server) with either a Maintenance Plan or a custom SSIS package?

I don't know how long I will need to do this - it is possibly short-term and I do not believe I can change the account that SQL Server is logged in as on the 2000 server... ugh

I have tried all of the usual ways.

Thanks for any input.

SSkaar
Post #593189
Posted Tuesday, October 28, 2008 4:00 PM
SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Friday, July 25, 2014 3:48 PM
Points: 4,388, Visits: 9,506
Since the backup operation will occur on ServerA - and will run in the context of the SQL Server Agent on that server, the only way I see is to build your SSIS package to backup locally and then copy the backup file.

That way, the user running the copy command needs access to all three servers.

At least, I think that will work.


Jeffrey Williams
Problems are opportunites brilliantly disguised as insurmountable obstacles.

How to post questions to get better answers faster
Managing Transaction Logs
Post #593287
Posted Tuesday, October 28, 2008 4:11 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 6:20 PM
Points: 33,078, Visits: 15,192
I thought that the backup would run under the context of the service account for SQL Server. You submit the request under your SQL login, but the service account for SQL is what writes the file and needs rights.

You can change the rights for the service account in AD. I would only add rights to this account, not remove any.

If you run a copy, the Agent account will need the rights if it executes the copy.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #593290
Posted Wednesday, October 29, 2008 10:38 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, June 9, 2014 2:33 PM
Points: 219, Visits: 457
Yes, that's correct, it runs under the Service or Agent account, depending on if you execute directly or schedule in a job. The problem is that I cannot change the services to run under anything except Local for that server.

I believe the Copy with SSIS will work however, if I can pass in the connection string with credentials, I can use the domain account that has access to all three servers (my usual service account ha ha).

Ok thanks for the feedback - I will reply and let you both know if I got it to work with SSIS.

Cheers,

SSkaar
Post #593783
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse