backup with different credentials

  • 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

  • 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
    “We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”

    ― Charles R. Swindoll

    How to post questions to get better answers faster
    Managing Transaction Logs

  • 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.

  • 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

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply