Maintenance plan for backup executes endlessly.

Hi All,
I have a maintenance plan for a full back which is scheduled to run once every night. It has been running quite peacefully with out any error and usually takes 50min average. But Now(the last three days), it starts executing but never completes. I tried
to run sp_who2 and saw a block when the execution reaches at a specific database. I stopped the execution, killed the spid on the 'Blk By' and then restarted the execution but same problem show up again. Whats going on? Any ideas?
Thanks.

-So as you told me i ran the sp_readerrorlog and found the below message. Looks like a virtual device kind of a things . . . .  
2014-04-03 09:20:24.280 spid148      BackupVirtualDeviceFile::RequestDurableMedia: Flush failure on backup device '(local)_AAA_DEV_SQL_Database-SQL_Database-1396486800084#11-3006-SQL'.
Operating system error 995(The I/O operation has been aborted because of either a thread exit or an applicat.
And last night i tried to change the schedule at which the job is running and it worked well for today
but i think its not going to be like this today or on the weekends. So i couldn't see any block.
Thanks. 
Tina
VIRTUAL_DEVICE generally means here that anything which is not local or shared disk.Like thrid taking party tool backup on tape or VSS backups  which kind of take snapshot backup.If youo say that no Third party toll is involved and you dont want any
VSS backups please disable SQL Server VSS writer service.This will stop the VSS backups.Or as you suggested ,if you want VS backups ,you can schedule your backup at different time.
>>And last night i tried to change the schedule at which the job is running and it worked well for today
I guess I am correct about VSS backups interfereing your regular backup.
PS: Since you killed the thread you got message like below
BackupVirtualDeviceFile::RequestDurableMedia: Flush failure on backup device '(local)_AAA_DEV_SQL_Database-SQL_Database-1396486800084#11-3006-SQL'. Operating system error 995(The I/O operation has been
aborted because of either a thread exit or an applicat.
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Similar Messages

  • Maintenance plan for Mirror database

    HI All
    How do we implement Maintenance plan for high safety Database mirroring?
    We have Server A (Principal)and server B (Mirror) and we created maintenance plan on principal server and this maintenance plan have 3 sub plans plan full backup  schedule daily plan 2 log backup every 10 minutes and plan 3 purge the full backup files
    ,log backup files and log history if older then 2 weeks . All jobs are running fine in principal sever .but how to run theses after fail over by agent?
    My client accept maintenance plan,  other wise i will create the jobs with tsql script on both server ,will enable on server where database is principal 
    Please help it very urgent.
    Vanchan

    Hi Vanchan,
    As described in this
    article, when preparing the mirror server to take over the role of principal in the event of a failover, we need to copy maintenance plans from the principal server to the mirror server.
    About how to copy maintenance plans from one Server to other, please follow the steps in the blog below.
    http://mssqltrek.com/2011/08/27/how-to-transfercopy-maintenance-plans-from-one-server-to-other/
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Maintenance plans for Backward counter

    Is it possible for having a preventive maintenance plan for a measurement point that counts backwards?
    Your inputs on this will be appreciated!

    Help !
    I am looking for help with Counters and Timers and using them with a Maintenance Plan. We have about 10 count down timers mounted in one of our facilities. These timers are tied to the machine and measures the time until a mini or major PM will occur. These count down timers were previously used with the old CMMS system to assist in the scheduling of maintenance activities. We have recently converted them from the old CMMS to SAP PM but I am struggling with getting the count down timers to work in SAP. These timers are reset at 5000 hrs and as the machine operates, time is removed from the timer. A technician periodically reports these times to the system for scheduling purposes.
    I have created the Measurement Point for a Functional Location.
    I have identified that it is a counter.
    I have it identified that it Counts Backwards.
    When I try to assign this measurement point to a Maintenance Plan, I get the error "Only counters that run forwards can be entered"
    How can I use the countdown timers to create pre configured (PM) work orders?
    Thanks in advance.

  • How to create backup maintenance plan for SQL 2014

    Depending on your backup product, it may include a hot backup for SQL - check that too

    I need to create a basic maintenance plan that backs up our DB nightly and also need some pointers on any other maintenance that should be done would be great. Obviously I'm very new to using SQL, trying to get my feet wet.
    This topic first appeared in the Spiceworks Community

  • Maintenance plan for SQL Server 2012 Database in AlwaysOn Availability Group

    Hi all,
    I need assistance creating a maintenance plan that will backup a databases logs in order to prevent them from filling up the drive they are located on. I have looked at some blogs but they do not specifically show how this is done.
    My database is in an AlwaysOn Availability Group.
    Thank you very much for your help!
    Jake

    Hi all,
    I need assistance creating a maintenance plan that will backup a databases logs in order to prevent them from filling up the drive they are located on. I have looked at some blogs but they do not specifically show how this is done.
    My database is in an AlwaysOn Availability Group.
    Regular maintenance plan would work. Only thing to remember is that when you create log backup plan, there is a checkbox which says whether it should honor backup preference or not.
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Forward Planning For Backups, Answers and Suggestions Plz

    Hi so I just bounght a 30gb Gen 5 and plan on using all or most of the 30gb in due time and now I'm just trying to make a plan for when it comes time to back all my data (music, videos, pictures)
    I've decided on getting myself some sort of external harddrive as the main backup media and probably eventually let it become the drive for my itunes folder. This will obviously be much more efficient then burning countless cd/dvds to store all that data.
    Here comes the part where i need some info:
    I did not use the "copy files to itunes music folder" option to save on hard drive space. If I turn this on now, will it place a copy of all the music files that are currently listed in my library into this folder?
    If it does not, is there any "simple" way to compile all the songs in my library to put them in a central location, as currently most files are spread across several directory structures and I'm afraid of reorganizing them as that may kill the links to the files in itunes.
    All answers and any suggestions are welcome.
    Thanks

    I think this is the best place to start.
    <href=http://docs.info.apple.com/article.html?artnum=301748iTunes: Moving your iTunes Music folder
    For when you get your new exHD and move everything to that.
    There are lots of different ways to back up. I use rewriteable DVDs and burn them as data.
    Also remember to back up your iTunes library files.
    http://docs.info.apple.com/article.html?artnum=93732

  • IP50 -  Maintenance Plan for Contract Item

    Dear Experts,
    When I am trying to create a Maintenance Plan in IP50 , the Equipment is copied to the Plan.
    Can anybody help on this issue.
    Regards,
    Shareeq

    Thanks PeteA,
    It is working now.   We will have to Click the Object Tab and Equipment range should be given in the Selection Parameters to get the List of Service Orders. But still we  are not able to get the Equipment Description in IW73.
    Regards,
    Shareeq
    Edited by: K M AHAMED SHAREEQ HUSSAIN on May 16, 2010 12:34 PM

  • Tcode for checking the Maintenance Plan

    Hello,
    I want the transaction code for checking the list of maintenance plan for a particular plant. I went thru tcode IP03, IP16 but could not find the option of plant there..
    Kindly guide..
    Regards,
    Naren

    Naren,
    As stated above, there isn't a plant field in the maintenance plan (only maintenance item, hence the reference ot IP17)
    However, it is quite common to use the maintenance plan Sort field as a plant field by customising the table settings for each plant.
    PeteA

  • Service products for Maintenance Plan

    Hi All,
    Is it possible to Create maintenance plan from a a Service product  - Contract Line item(VA41)? I have come across the Tcode OISF but do not know how to make use of it?
    Would appreciate if you could throw some light on this?
    Pranav

    Hello
    You have maintained the following data for the service product that you subsequently entered in the outline agreement under Logistics --> Customer Service >Service Agreements>Environment -->Sales and Distribution -->Service Products:
    ·        Plant for maintenance planning
    ·        Work center
    ·        Order type
    ·        Plant of maintenance work center
    ·        Business area
    ·        General maintenance task list (you cannot assign equipment task lists or functional location task lists)
    ·        Task list type
    Then-you have created an outline agreement that fulfils the following conditions:
    1)The contract category is Contract.
    2)The contract type is Service and Maintenance.
    3) On the tabstrip Sales, you have specified
                  I)the start and end dates of the contract
                  II)service product as outline agreement item
    4)You have specified the start and end dates for billing in the billing plan under Goto> Item>Billing plan.
    When Creating the Maintenance Plan for Above Contracts
    1)When creating a maintenance plan, you choose an appropriate maintenance plan category.
       Maintenance plan category with reference to an outline agreement, maintenance call object u201Cservice orderu201D
    Enter the following data:
    1)Valid outline agreement
    Regards,
    Rakesh

  • SQL Server Maintenance Plan Issue

    SQL Server Version:
    Microsoft SQL Server 2005 - 9.00.5000.00 (Intel X86) 
    Dec 10 2010 10:56:29 
    Copyright (c) 1988-2005 Microsoft Corporation 
    Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
    Issue : Maintenance Plan - DB backup plan & TRN Log backup plan skipped / some times not deleting the old backup files.
    Error : Failed to retrieve date for this request (Microsoft.SqlServer.SmoEnum)
    Additional Informaiton
    An exception occurred while executing a Transact-SQL statement or batch.
    (Microsoft.SqlServer.ConnectionInfo)
    A Server error occurred on the current command.
    The results, if any should be discarded (Microsoft Sql Server)
    Any experts can help me to resolve this issue.
    Thanks
    drmrpush
    MRVSFLY

    Hello,
    Same issue reported here:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/601fd83c-c49f-4bf8-b69d-95431197652d/maintenance-plan-is-not-opening-on-sql-server-2005-sp2?forum=sqlkjmanageability
    Please check solution on :
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/3e53ba8b-ea23-4629-98db-43c80ba9888e/cannot-save-maintenance-plans?forum=sqltools
    This problem occurs if some of the stored procedures while installing SP2 has not been applied successfully. So manually run the script below and it may resolve
    your issue. It resolved ours and we went throught exact same process of re-installing several times.
                    1)     
     First go to the folder Install . The default location is this = “C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Install “ .
    Please post back still your issue not resolves.
    2)     
    Then in this folder find this “sysdbupg.sql” .
    3)     
    Please open this script with a nodepad.
    4)     
    Then copy the
    whole script and then paste it in the Query window of the Management studio.
    5)     
    Then execute this script.
    6)     
    Once this script has been successfully executed, The issue should be resolved.
    Regards, Pradyothana DP. Please Mark This As Answer if it solved your issue. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/

  • While Creating Maintenance Plan ip41- Sales Document tab is deactive

    Hi,
    while Creating Maintenance Plan IP41- Sales Document is deactive.
    Unable to fill the Sales Number.
    Can anybody tell what is the procedure to active the Sales Document tab,since i have to entry sales number in it.
    Thanks in advance.
    Mohit

    hi
    can you explain in detail ,you can create the maintenance plan for sales document using T code IP50 .kindly check
    regards
    thyagarajan

  • Automatic Creation of Maintenance Plan, Measurement plan

    Hi Pal
    Business : The equipments are procuring for the purpose of supplying into customers.It is installed (via sales delevery) at customer location as requirement. From  the installation date rental will start and periodic visit is applicable after every 3 months. The technician will capture  some reading In initail installation time, periodic maintenance time.
    Requirement : The equipment will be created automatically thro serial no when doing the GR(Its possible) . Automatic creation of Maintenance Plan for the equipment  for 3 month frequency, 70% call horizon, early and late completion of 100%. Additionally the scedhule start date need to pick it from the notification end date of its respective equipment.Also measurement points should be generated in automatic way (Its fixed& common for all equipments).
    Is there any possiblity to complete this requirement? Please help me and suggest.
    Regards
    Thenna

    There is no suitable BAPI available to create Maintenance plan.
    Try for BDC.

  • IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan

    Hi Experts,
    IF Auto Update Statistics ENABLED in Database Design, Why we need to Update Statistics as a maintenance plan for Daily/weekly??
    Vinai Kumar Gandla

    Hi Vikki,
    Many systems rely solely on SQL Server to update statistics automatically(AUTO UPDATE STATISTICS enabled), however, based on my research, large tables, tables with uneven data distributions, tables with ever-increasing keys and tables that have significant
    changes in distribution often require manual statistics updates as the following explanation.
    1.If a table is very big, then waiting for 20% of rows to change before SQL Server automatically updates the statistics could mean that millions of rows are modified, added or removed before it happens. Depending on the workload patterns and the data,
    this could mean the optimizer is choosing a substandard execution plans long before SQL Server reaches the threshold where it invalidates statistics for a table and starts to update them automatically. In such cases, you might consider updating statistics
    manually for those tables on a defined schedule (while leaving AUTO UPDATE STATISTICS enabled so that SQL Server continues to maintain statistics for other tables).
    2.In cases where you know data distribution in a column is "skewed", it may be necessary to update statistics manually with a full sample, or create a set of filtered statistics in order to generate query plans of good quality. Remember,
    however, that sampling with FULLSCAN can be costly for larger tables, and must be done so as not to affect production performance.
    3.It is quite common to see an ascending key, such as an IDENTITY or date/time data types, used as the leading column in an index. In such cases, the statistic for the key rarely matches the actual data, unless we update the Statistic manually after
    every insert.
    So in the case above, we could perform manual statistics updates by
    creating a maintenance plan that will run the UPDATE STATISTICS command, and update statistics on a regular schedule. For more information about the process, please refer to the article:
    https://www.simple-talk.com/sql/performance/managing-sql-server-statistics/
    Regards,
    Michelle Li

  • PM archive maintenance plan data

    Hi all,
    I try to archive maintenance plan by use t-code sara
    - select archive object PM_MPLAN
    - select maintenance plan for archive
    and run will shown message "no maintenance plan was selected"
    please help me to solve this problem,
    Thanks

    hi
    have you set the deletion flag for the maintenance plan ,kindly refer the following link for the prerequisite for Archiving the maintenance plan
    http://help.sap.com/saphelp_47x200/helpdata/en/a4/96ba49e41c11d1951d00a0c93029cf/content.htm
    regards
    thyagarajan

  • Maintenance plan

    Dear All
    Is there any possible way to schedule two maintenance item in the same maintenance plan separately. ie I have a maintenance plan with maintenance item already on schedule. Now I will add another maintenance item to this plan I want a different schedule for the new  with out disturbing the present.
    With Regards
    Arun

    No, its not possible. Scheduling can be done only at maintenance plan level.
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-pm/one-maintenance-plan-for-multiple-maint-item-with-different-call-dates-1496940
    http://www.sapfans.com/forums/viewtopic.php?f=3&t=85719

Maybe you are looking for

  • Start Routine code error of Perform routine 9998

    Hi, I have install standard and then migrate to 7.0 all the flow of modeling. but after loading data in PSA, while activation i will found following problem (error in routine). In PERFORM or CALL FUNCTION ROUTINE_9998, the actual parameter SOURCE_PAC

  • How can I sync the same iTunes 11 library between 2 users on the same Mac?

    With iTunes 10 I was able to have one main iTunes library under one user and have a second user (on the same Mac) access it by putting an alias of the iTunes Libray.itl and iTunes Music Library.xml files in the second user's iTunes folder.  This ensu

  • How do I get a image to load first on website?

    Not sure if this is possible, but I have created a website and I have a image as the background. The only problem is that all the other iamges load up before the background. How can I get the background image to load first (so the viewer, when visiti

  • Problem installing Photoshop CS6

    Trying to install CS6 on a Dell 64 bit computer. Get error msg " A problem occurred while extracting some files. Check disc space on your computer and the write privleges on the destination folder". What do I do to install the program?  Thanks Winfor

  • Website navigation is not working on the Pearl 8220 (Flip)

    The websites were working fine, but today, when I am trying to navigate, it's just not working. I can "Download file" or "Go to Link", but I was working on a page and put in my information, but where it said 'Login', the button never reacted. This ha