Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Backups
»
backup with different credentials
backup with different credentials
Rate Topic
Display Mode
Topic Options
Author
Message
Hawkeye_DBA
Hawkeye_DBA
Posted Tuesday, October 28, 2008 1:05 PM
SSC Veteran
Group: General Forum Members
Last Login: Thursday, June 13, 2013 1:13 PM
Points: 209,
Visits: 413
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
Jeffrey Williams 3188
Jeffrey Williams 3188
Posted Tuesday, October 28, 2008 4:00 PM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Monday, June 10, 2013 12:13 PM
Points: 4,319,
Visits: 9,217
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
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Tuesday, October 28, 2008 4:11 PM
SSC-Dedicated
Group: Administrators
Last Login: Today @ 5:37 PM
Points: 31,521,
Visits: 13,855
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
Hawkeye_DBA
Hawkeye_DBA
Posted Wednesday, October 29, 2008 10:38 AM
SSC Veteran
Group: General Forum Members
Last Login: Thursday, June 13, 2013 1:13 PM
Points: 209,
Visits: 413
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 »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.