Log Shipping fails at Copy Stage. Pls help

  • The backup finishes well. During copying it says the "Network Resource"could not be found.

    I checked the file it is trying to copy is there.

    I am able to manually copy the files and run the restore step of the job without any problems.

    To rule out existence of old ghosts, I even created a new database and setup the LS job.

    That too fails at the copy stage.

    I could not check permissions since our service account cannot log on to the box....I do suspect however that, it is the problem.

    Anybody can contribute an answer without pointing me to another link or google?

    Regards

    Paresh

    Paresh Motiwala Manager of Data Team, Big Data Enthusiast, ex DBA

  • Paresh Motiwala (8/6/2015)


    I could not check permissions since our service account cannot log on to the box....I do suspect however that, it is the problem.

    Anybody can contribute an answer without pointing me to another link or google?

    You will need to confirm permissions. Check with the sysadmin to see if they can help confirm the permissions.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • is the sql server service running under a domain account or local account?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • Thanks for quick responses.

    The service runs under domain account. The account is local admin on the box and an SA for now.

    Hope this helps.

    Regards

    Paresh

    Paresh Motiwala Manager of Data Team, Big Data Enthusiast, ex DBA

  • one more thing.

    There are three phases in the job

    lsbackup- works

    lscopy- fails

    lsrestore- kinda works because there are no files to apply; since copy failed.

    Paresh Motiwala Manager of Data Team, Big Data Enthusiast, ex DBA

  • Paresh Motiwala (8/6/2015)


    one more thing.

    There are three phases in the job

    lsbackup- works

    lscopy- fails

    lsrestore- kinda works because there are no files to apply; since copy failed.

    Correct, there are 3 jobs for every LS plan, if the backup fails the restore will simply have nothing to do.

    Just because you're account is admin on the server does not mean it can access every folder\file. It is possible to prevent an admin from accessing folders\files. However, as an admin they can seize ownership at any time, if NTFS auditing is enabled this would be tracked though.

    Thoroughly check the permissions for the service account at the share and folder level

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • Step ID1

    Servers1

    Job NameLSCopy_451648-S2_db_WORK

    Step NameLog shipping copy job step.

    Duration00:00:00

    Sql Severity0

    Sql Message ID0

    Operator Emailed

    Operator Net sent

    Operator Paged

    Retries Attempted0

    Message

    2015-08-06 11:55:22.59*** Error: The specified network name is no longer available.

    (mscorlib) ***

    2015-08-06 11:55:22.61----- END OF TRANSACTION LOG COPY -----

    Paresh Motiwala Manager of Data Team, Big Data Enthusiast, ex DBA

  • I found the problem and resolved it. Not sure why the problem is...

    The backup location was \\ip_address\backuplocation.

    After a network glitch somehow that translation of ip_address got lost.

    I just replaced it with the server name and everything started working again.

    what a pain...

    Thanks to all of you who took time to talk about this.

    Really appreciate this. No wonder our community is so much better than Ora...

    Cheers

    Paresh

    Paresh Motiwala Manager of Data Team, Big Data Enthusiast, ex DBA

Viewing 8 posts - 1 through 7 (of 7 total)

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