Windows backup not working

Hi,
I'm trying to run a windows backup but it's failing with the following error.
Server specification: " Microsoft web server 2008 R2 sp1"
Error showing in backup tool: "The operation was stopped Detailed error The system writer is not found in the backup"
Error in event logs: Two events one with even 8193(total four entries) and one event with ID 517
errors: Volume Shadow Copy Service error: Unexpected error calling routine XML document is too long.  hr = 0x80070018, The program issued a command but the command length is incorrect.
Volume Shadow Copy Service error: Unexpected error calling routine CreateVssExamineWriterMetadata.  hr = 0x80042302, A Volume Shadow Copy Service component encountered an unexpected error.
Check the Application event log for more information.
The backup operation that started at '‎2014‎-‎08‎-‎23T13:00:09.593737300Z' has failed with following error code '2155347997' (The operation ended before completion.). Please review the event details for a solution, and then rerun the backup operation once
the issue is resolved.
Running "vssadmin list writes" list some writes and all of them showing "no error".
Could somebody help me on this?
Regards,
Jaf

Hi,
The system writer fails because permissions to files in the %windir%\winsxs\filemaps\ or %windir%\winsxs\temp\PendingRenames directories are incorrect.
Please refer to the article below to resolve the issue:
Backup Fails with Error Message "Writer Missing" or "Failed" or "Timed Out" or "Waiting for Completion" in VSSADMIN
http://social.technet.microsoft.com/wiki/contents/articles/7309.backup-fails-with-error-message-writer-missing-or-failed-or-timed-out-or-waiting-for-completion-in-vssadmin.aspx
Best Regards,
Mandy 
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • WS2012 R2 Recovery from Windows Backup Not Working

    Hi,
    I tried to perform a bare metal recovery of a Windows Server 2012 R2 operating system backup but I can't get it to recover or access earlier restore points.  Any help would be appreciated!  I want to avoid reinstalling the OS *again*.
    I have a hardware install of Windows Server 2012 R2 on drive (a), backup services saved to drive (b), and my server folders on RAID pool (c).  I had verified that Windows Server Backup was executing daily and I was previously able to see several backups
    in the list of restore points.
    I first tried to use the Windows Recovery Wizard to restore a "Volumes" recovery on drive (a); however, I can't select the "Source Volume" (C:) to equal the "Desination Volume" (C:).  I just want to replace the current drive
    (a) with what's backed up.  Why is this?  Should this be working with source equal to destination?
    Then, when restoring Windows using startup disk & recovery options, I can't see more than the last backup.  Older restore points are not available.  Plus, my local administrator password is not being accepted.  So many things are going wrong...
    The last thing I did was enable the Windows Server Essentials role and set it up, which did include picking a domain name.  I wasn't happy with the ".local" TLD that was automatically created so I wanted to restore before Essentials was set up.
     Is this what is preventing a recovery?
    Thanks!
    Steve

    Hi Steve,
    For performing a restore, please make sure you boot with an installation disk and restore to correct target volume - here is an article with pictures incase there is any difference on your side:
    http://blogs.technet.com/b/sbs/archive/2010/06/11/how-to-perform-a-bare-metal-restore-on-small-business-server-2008.aspx
    Note: Steps are for Windows SBS 2008 but it is the same as using a Windows 2012 R2 installation disk to do a recovery.
    Meanwhile from the description, it is a file server before installing Windows Server Essentials role. So it is a domain controller now.
    Then it should also work by uninstall Windows Server Essentials role:
    It may not able to be uninstalled at once but it will suggest to uninstall some roles (which it installed in order to convert to Essential server and a DC) first. If all suggested roles could be uninstalled, you can also uninstall Windows Server Essentials
    role so that it will back from DC to file server - you can reinstall it later.
    If you have any feedback on our support, please send to [email protected]

  • Backup not working for File Server

    We have System Center 2012 Sp1 installed with Agent Version : 4.1.3453.0
    We are protecting File Server which is member in DFS. We have Volume of More than 2TB and which is spanned accross multiple VHDs.
    I am facing problem with Backup not working and DPMRA service is getting stopped unexpectedly. When i try to create recovery point manually i don't get option to syncrhonize the changes. 1st and 3rd option is geryed out.
    I am getting Error on DPM as Affected area:    E:\
    Description:    The replica of Volume E:\ on<ServerName> is inconsistent with the protected data source. All protection activities for data source will fail until the replica is synchronized with consistency check. You can recover data
    from existing recovery points, but new recovery points cannot be created until the replica is consistent.
    For SharePoint farm, recovery points will continue getting created with the databases that are consistent. To backup inconsistent databases, run a consistency check on the farm. (ID 3106)
        DPM failed to communicate with the protection agent on <Server> because the agent is not responding. (ID 43 Details: Internal error code: 0x8099090E)
        More information
    Recommended action:    1) Check recent records from the DPMRA source in the Application Event Log on FUSE.win2k.internal to find out why the agent failed to respond.
    2) Make sure that the DPM server is remotely accessible from <Server>
    3) If a firewall is enabled on the DPM server, make sure that it is not blocking requests from <Server>
    4) Restart the DPM Protection Agent service on <Server>. If the service fails to start, re-install the protection agent.
        Synchronize with consistency check.
        Run a synchronization job with consistency check...
    Resolution:    To dismiss the alert, click below
        Inactivate
    I have Re-installed Agent but it is not helping.
    I have Other Volume labeled as F: and sized at 600 GB. Backup of that Volume is working fine for Same server.
    Please Suggest how to troubleshoot.
    Thanks in Advance.
    Swapnil
    Thanks, Swapnil Prajapati

    HI Chris,
    Sharing files using Bluetooth
    To share files using Bluetooth, you first need to make sure Bluetooth is turned on, and then use Bluetooth File Exchange to send a file.
    To turn on Bluetooth:
    Choose Apple menu > System Preferences and click Bluetooth.
    Select the On checkbox. To allow other Bluetooth enabled devices to “discover” your computer and send files, also select the Discoverable checkbox.
    Select “Show Bluetooth status in the menu bar” so you can quickly send files and perform other actions using the Bluetooth status menu in the menu bar.
    To send files using Bluetooth:
    Choose Send File from the Bluetooth status menu in the menu bar.
    If the Bluetooth menu isn’t visible, choose Apple menu > System Preferences, click Bluetooth, and select “Show Bluetooth status in the menu bar.”
    In the window that appears, select the file you want to send and click Send.
    Select the device you want to send the file to and click Send.
    If you don’t see the device you want to send the file to, make sure the device has Bluetooth turned on and is discoverable.
    You do not need File Sharing turned on for Bluetooth technology.
    Another way to share files between two Macs is How to use Firewire Target Disk Mode
    Carolyn

  • Adobe Bridge CS5 in windows 7 not working?

    Adobe Bridge CS5 in windows 7 not working. I was using bridge perfectly for last 2 years. It stops working since 3 days. I tried to install updates. Showing some error to install.
    Tried to install creative cloud..again some error. Error code : 82
    Could you please advice how I can fix my adobe bridge.

    https://www.youtube.com/watch?v=xDYpTOoV81Q&feature=youtu.be
    please check this video I uploaded..this is what happens when I click adobe bridge.. just blinks and go off. bridge not working on task manager

  • Why is Time machine backup not working after Mavericks upgrade?

    Why is Time machine backup not working after Mavericks upgrade?

    I had the same problem due to the Fire Wire port.  Apple tested it told me it is OK!, I tried a new cable, and have tested both ports on my back up device.  I find it strange that as soon as I installed Mavericks.  The drive does work using USB.  It could be a coincidence, I don't absolutely know at this point, my back up drive ports could stop working, but I doubt it!

  • Why the buttons created by Acrobat XI in window do not work in android mobile or ipod touch?

    Why the buttons created by Acrobat XI in window do not work in android mobile or ipod touch?

    Hi,
    Could you please send us a test file which has those form buttons? Please email that file to us at DL-adobereader-android <[email protected]>
    Thanks,
    - Reader Mobile team

  • Popups: Navigation from view to window does not work

    Hi,
    I open a second window as popup. This window has 2 views embedded, displaying view1 first. On some actions I would like to navigate to view2.
    Defining an outbound plug on view1 and an inbound plug on view2, connecting them and firing the outbound withith the onaction works absolutely fine.
    However, for some reasons I would like to avoid a direct navigation, but would like to navigate from view1 to the popupo window and from there to view2 (or maybe another view, ofcourse also embedded in the same popup window). Unfortunately I fail on this scenario - I can fire the view-to-window plug, but the destination on the window side (handle in method) is never reached.
    Since the same concept works fine on non-popup windows I wonder whether a navigation from view to embedded window does not work for popups?
    Any idea?

    Hi Yashpal,
    no, just one window.
    The first link is view1 -> window, the second window -> view2.
    I.e., I fire in the view the outbound plug, which is connected with its window.
    In the window I fire an outbound plug, which is connected to view2.
    In theory this should work - for non-popup windows I do not have any problem at all, however, for popup windows the navigation from view1 to the window is not processed.
    In the meantime I played a little bit further: Instead of firing a navigation from view1, I now fire an event defined in the component contoller, on which an event method is registered within the window. Doing so, I reach the window, which I didn't reach via the navigation link. Once in the window, firing to view2 works just fine ...
    Hope the issue is a bit clearer now. Also I found a solution, I am surprised that the simpler way via navigation does not work.

  • ITunes drag to import new songs in library or to create playlists from folders on windows does not work!

    iTunes drag to import new songs in library or to create playlists from folders on windows does not work!
    WHY? I have to solve, how can I do? Thank you

    up

  • Same issue Network Discovery not working and Windows Update not working

    I've read the threads. 
    This is a Vista Ultimate upgrade. My OOOOH My I have clocked 8 hours
    Everything was working before. I tried all of the recommended  services turning on restarting.
    Also, ran into the problem of my memory being eaten. Suspected cause hibernate mode, which I had to disable. Scott Hasselman blog recommended the fix which is a cheap work around that limits machines functionality!!
    I'm and IT Engineer specializing in MS product lines since Windows 1.0. MFC foundation classes etc.. What is the real problem ?
    I don't have the NetBIOS over tcp/ip in my services?
    I figure that the cost of my time and other individuals pays for the OS four times over. Give me a Microsoft developer subscription or something to make me happy. This is my development machine and I'm loosing time and money.
    FYI, Just upgraded my second machine to Windows 8.1 OMG !!2 Hours to upgrade after the download. I loose my configuration settings. I required to have a Windows Live whatever account!!! This is not the way to compete and keep customers.
    Windows XP has been by far the best deployment experience. I need a Knowledge base that gives solutions , not a troubleshooting scenario that does or does not work!!
    Please , don't tell me to go and by a OEM Surface I cannot recommend this to my clients. 
    Thank You

    Hi,
    If it worked previously, a quick solution is to run System Restore and get back to the previous status when the issue didn’t occur.
    What is System Restore?
    http://windows.microsoft.com/en-us/windows7/What-is-System-Restore
    When you turn on network discovery, do you get any error prompt?
    Please check if you have any error message about network discovery in event viewer.
    Open Event Viewer
    http://windows.microsoft.com/en-US/windows7/Open-Event-Viewer
    What information appears in event logs (Event Viewer)?
    http://windows.microsoft.com/en-US/windows7/What-information-appears-in-event-logs-Event-Viewer
    Please use Windows Live SkyDrive (http://www.skydrive.live.com/) to upload the Error logs to a public folder and share the URLs with us.
    Also, please temporarily turn off your firewall and all the security programs for a test.
    As far as I know, Network discovery requires that the DNS Client, DNS Client, Network Connections, Network Location Awareness,  Remote Procedure Call (RPC), Function Discovery
    Resource Publication, TCP/IP Netbios helper, SSDP Discovery, and UPnP Device Host services are started and set to automatic.
    You should check again if you have started all these services.
    Regarding the update issue, I suggest you try the following suggestions.
    1. Temporarily disable firewall and antivirus program to test the issue.
    2. Open the Windows Update troubleshooter
    http://windows.microsoft.com/en-US/windows7/Open-the-Windows-Update-troubleshooter
    3. Reset Windows Update components
    http://support.microsoft.com/kb/971058
    You may follow the steps from the link below to fix the issue.
    Windows Update Not Working.
    http://support.microsoft.com/kb/555989
    You may also see the common Windows Updates troubleshooting guide.
    Fix Microsoft Windows Update Issues
    http://support.microsoft.com/kb/906602
    Hope it helps.
    Regards,
    Blair Deng
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Windows updates not working because it extract patches on Mac partition first., Windows updates not working because it extract patches on Mac partition first.

    I have installed BootCamp 5.1 and Windows updates not working because it extract files on Mac partition before installation. Is there any workaround for same ?

    To replicate this issue - Try to download .net framework 4.5 from microsoft website and than run that setup on windows partition.
    Before installation. it will first extract all the binaries to a other drivers, since in my case other primary drive is E which is a Mac partition so it always give me an error while extractiing and therefore setup is not able to execute propely.
    Let me try to get the screen shot of error and send it here.

  • BMR/Systemstate backup not working on windows server 2008 error 2147942487

    Hi, trying to backup system image using SCDPM 2010 RTM.Most of the server are getting healthy backups except for this one server which is giving error:
    Affected area: Computer\System Protection
    Occurred since: 1/27/2014 2:43:27 PM
    Description: The replica of System Protection Computer\System Protection on server.DOMAIN.COM is inconsistent with the protected data source. All protection activities for data source will fail until the replica is synchronized with consistency check. You can recover data from existing recovery points, but new recovery points cannot be created until the replica is consistent.
    For SharePoint farm, recovery points will continue getting created with the databases that are consistent. To backup inconsistent databases, run a consistency check on the farm. (ID 3106)
    DPM cannot create a backup because Windows Server Backup (WSB) on the protected computer encountered an error (WSB Event ID: 517, WSB Error Code: 0x80070057). (ID 30229 Details: Internal error code: 0x809909FB)
    More information
    Recommended action: For resolution actions and more information on the WSB error, go to http://technet.microsoft.com/en-us/library/cc734488(WS.10).aspx.
    Synchronize with consistency check.
    Run a synchronization job with consistency check...
    Resolution: To dismiss the alert, click below
    Inactivate alert
    On the server, event viewer show the following events:
    1. Backup Log:
    Backup started at '2014-01-27T11:26:21.356950100Z' failed with following error code '2147942487'.
    2. Application Log:
    The description for Event ID 517 from source Microsoft-Windows-Backup cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    27-Jan-14 11:26:21 AM
    2147942487
    %%2147942487
    The resource loader failed to find MUI file
    However, when I observe the backup process using "wbadmin get status", it reaches 99% then stops.
    Running backup of volume Local Disk(C:), copied (97%).
    Running backup of volume Local Disk(C:), copied (98%).
    Running backup of volume Local Disk(C:), copied (99%).
    Backup stopped before completing.
    Summary of backup:
    Backup stopped before completing.
    The parameter is incorrect.
    The server hardware is HP blade with two disk which are mirrored, and has 12 GB free space. below is the output from systeminfo command:
    Host Name: server
    OS Name: Microsoftr Windows Serverr 2008 Enterprise
    OS Version: 6.0.6002 Service Pack 2 Build 6002
    OS Manufacturer: Microsoft Corporation
    OS Configuration: Member Server
    OS Build Type: Multiprocessor Free
    Registered Owner: Admin
    Registered Organization: -
    Product ID: 55041-339-7818202-76771
    Original Install Date: 04-Aug-08, 3:15:18 PM
    System Boot Time: 21-Jan-14, 3:58:47 PM
    System Manufacturer: HP
    System Model: ProLiant BL460c G1
    System Type: x64-based PC
    Processor(s): 2 Processor(s) Installed.
    [01]: Intel64 Family 6 Model 23 Stepping 6 GenuineIntel ~3000 Mhz
    [02]: Intel64 Family 6 Model 23 Stepping 6 GenuineIntel ~3000 Mhz
    BIOS Version: HP I15, 02-May-11
    Windows Directory: C:\Windows
    System Directory: C:\Windows\system32
    Boot Device: \Device\HarddiskVolume1
    System Locale: en-us;English (United States)
    Input Locale: en-us;English (United States)
    Time Zone: (GMT+03:00) Kuwait, Riyadh
    Total Physical Memory: 16,381 MB
    Available Physical Memory: 8,320 MB
    Virtual Memory: Max Size: 21,821 MB
    Virtual Memory: Available: 13,722 MB
    Virtual Memory: In Use: 8,099 MB
    Page File Location(s): C:\pagefile.sys
    Domain: DOMAIN.COM
    Logon Server: N/A
    Hotfix(s): 157 Hotfix(s) Installed.
    [01]: {47740627-D81D-4A45-A215-03B075A18EC7}
    [02]: {3D019598-7B59-447A-80AE-815B703B84FF}
    [03]: {A8E86480-A9C1-4414-8AA2-B05A485C82F0}
    [04]: {C444285D-5E4F-48A4-91DD-47AAAA68E92D}
    [05]: {DB33A524-845E-4855-9E90-A5619BCDD527}
    [06]: {ECC3A660-90E3-4A89-9FE8-F8B3C633B12E}
    [07]: {65AFCB03-3111-47E2-B1ED-198D6B0BC96E}
    [08]: {F5E29D9D-519A-36C7-87E3-9A22A8180B1B}
    [09]: KB971513
    [10]: KB971512
    [11]: 944036
    [12]: 982861
    [13]: KB960362
    [14]: KB2079403
    [15]: KB2117917
    [16]: KB2141007
    [17]: KB2160329
    [18]: KB2183461
    [19]: KB2207566
    [20]: KB2286198
    [21]: KB2296011
    [22]: KB2296199
    [23]: KB2305420
    [24]: KB2345886
    [25]: KB2347290
    [26]: KB2387149
    [27]: KB2388210
    [28]: KB2416400
    [29]: KB2416470
    [30]: KB2419640
    [31]: KB2423089
    [32]: KB2436673
    [33]: KB2442962
    [34]: KB2443685
    [35]: KB2447568
    [36]: KB2467659
    [37]: KB938464
    [38]: KB942288
    [39]: KB948609
    [40]: KB948610
    [41]: KB949189
    [42]: KB950762
    [43]: KB950974
    [44]: KB951066
    [45]: KB951698
    [46]: KB951978
    [47]: KB952004
    [48]: KB952287
    [49]: KB953733
    [50]: KB954155
    [51]: KB954459
    [52]: KB955020
    [53]: KB955069
    [54]: KB955302
    [55]: KB955430
    [56]: KB955839
    [57]: KB956250
    [58]: KB956572
    [59]: KB956744
    [60]: KB956802
    [61]: KB957097
    [62]: KB957200
    [63]: KB957321
    [64]: KB957388
    [65]: KB958481
    [66]: KB958483
    [67]: KB958623
    [68]: KB958624
    [69]: KB958644
    [70]: KB958687
    [71]: KB959130
    [72]: KB959426
    [73]: KB960225
    [74]: KB960803
    [75]: KB961371
    [76]: KB961501
    [77]: KB967190
    [78]: KB967723
    [79]: KB968389
    [80]: KB968537
    [81]: KB969058
    [82]: KB969897
    [83]: KB969897
    [84]: KB969947
    [85]: KB970238
    [86]: KB970430
    [87]: KB970653
    [88]: KB971468
    [89]: KB971486
    [90]: KB971557
    [91]: KB971657
    [92]: KB971737
    [93]: KB971930
    [94]: KB971961
    [95]: KB972036
    [96]: KB972270
    [97]: KB972636
    [98]: KB973346
    [99]: KB973507
    [100]: KB973525
    [101]: KB973565
    [102]: KB973687
    [103]: KB973917
    [104]: KB974145
    [105]: KB974318
    [106]: KB974455
    [107]: KB974470
    [108]: KB974571
    [109]: KB975364
    [110]: KB975467
    [111]: KB975517
    [112]: KB975560
    [113]: KB975759
    [114]: KB975929
    [115]: KB976098
    [116]: KB976264
    [117]: KB976470
    [118]: KB976662
    [119]: KB976749
    [120]: KB976768
    [121]: KB976772
    [122]: KB977165
    [123]: KB978251
    [124]: KB978262
    [125]: KB978542
    [126]: KB978601
    [127]: KB978886
    [128]: KB979099
    [129]: KB979306
    [130]: KB979309
    [131]: KB979482
    [132]: KB979687
    [133]: KB979688
    [134]: KB979899
    [135]: KB979910
    [136]: KB980182
    [137]: KB980195
    [138]: KB980218
    [139]: KB980232
    [140]: KB980248
    [141]: KB980302
    [142]: KB980436
    [143]: KB980842
    [144]: KB981322
    [145]: KB981332
    [146]: KB981793
    [147]: KB981852
    [148]: KB982132
    [149]: KB982214
    [150]: KB982519
    [151]: KB982664
    [152]: KB982666
    [153]: KB982799
    [154]: KB983589
    [155]: KB948465
    [156]: KB960568
    [157]: KB968930
    Network Card(s): 1 NIC(s) Installed.
    [01]: HP NC373i Multifunction Gigabit Server Adapter
    Connection Name: Local Area Connection 2
    DHCP Enabled: No
    IP address(es)
    [01]: x.x.x.x
    [02]: fe80::f494:43c2:7d90:e774
    Hyper-V Requirements: VM Monitor Mode Extensions: No
    Virtualization Enabled In Firmware: No
    Second Level Address Translation: No
    Data Execution Prevention Available: No
    Things I have tried:
    1. I tried to backup manually to external HDD using wsb snap-in, but it has failed in the same way.
    2. Stop and re-add protection.
    3. I have researched the error, some results suggest that some bad sectors might exist, however, when I run the command, it forces me to schedule the command on next boot. when I reboot, it loads windows after that gives a message "Cannot open the volume
    for direct access"
    How to end this loop? please help. Thanks for considering my question ...

    Hello Ebttikar,
    Please try clean boot then test how the issue goes. Following are the detailed steps about clean boot:
    Log on to the computer by using an account that has administrator rights.
    Click Start, type msconfig.exe in the Start Search box, and then press ENTER to start the System Configuration Utility.
    On the General tab, click Selective Startup, and then click to clear the Load startup items check box. (The Use Original Boot.ini check box is unavailable.)
    On the Services tab, click to select the Hide all Microsoft services check box, and then click Disable all.
    Click OK, Choose Don’t show this message again and then click Restart.
    Please check if RDP session issue is still the same.
    Please let me know the result.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Monthly and Yearly backups not working for Protection Group?

    Hi
    We have a Protection Group with 160 members currently attached to it. The group has the following customized Recovery Points:-
    - 1 recovery point every 1 day for the last 2 weeks, 1 recovery point every 1 month for the last 60 months and 1 recovery point every year for the last 5 years.
    The schedule is as follows:-
    - Every Day at 01:00, Every Month on First Day at 01:00 and Every 12 Months on 01 January at 01:00.
    The daily tape backups are working fine without issue but neither the Monthly or Yearly backups are being attempted. We have checked the monthly backups for this issue for the last few months and are unable to see any evidence of the Monthly schedule even
    running? This means that we are having to manually label the Daily tapes once a month as Monthly tapes but they will then stay on the Reports for the next 5 years as DPM will constantly request these tapes back.
    Are you able to help with this matter?
    Not that we really want to do this but if we removed the group completely and re-create it would this cause problems with our restore points?

    Hi,
    This is a known issue that can occur in all current versions of
    DPM including DPM 2012, to correct the condition, you simply need to perform this step. Any time before the next scheduled (monthly or longer) backup, manually update
    the long term backup schedule by hitting the MODIFY button.  The code that runs when modifying the backup schedule redoes the bacup schedules and it fixes the scheduling issue. 
    Below is a DPM Power-shell script that will show you the scheduled backups for all recovery goals for all protection groups.  You can see the last time each recovery goal ran, and the NEXT run time, so you can monitor
    the goals and re-fix them if necessary.
    NOTE: It takes about 20-30 minutes before the fixed next run time schedule will be populated after modify the protection group and updating the schedule.
    # This script will list all currently scheduled backup to tape jobs #
    # It will list scheduled, last run and next run dates #
    # Note: The script takes in consideration that the DPM Database was installed locally on its #
    # Default instance. If SQL is installed on a different location/instance, edit the line #
    # that starts with $instance = '.\msdpm2010 #
    # Author : Wilson Souza #
    # Date Created : 1/13/2012 #
    # Last modified : 1/17/2012 #
    # Version : 1.0 #
    # This version of the script was only tested on DPM 2010 #
    param([string] $verbose)
    add-pssnapin sqlservercmdletsnapin100
    Add-PSSnapin -Name Microsoft.DataProtectionManager.PowerShell
    $ConfirmPreference = 'None'
    cls
    $instance = '.\msdpm2010' # <---- If DPM Database is on a different location, edit this line accordinly
    $query = "use DPMDB
    go
    CREATE FUNCTION label (@GUID varchar(36), @kindred varchar(4), @vault varchar(8))
    returns varchar (1024)
    as
    Begin
    declare @result varchar (1024)
    select @result = vaUltlabel from tbl_mm_vaultlabel where mediapoolid = @GUID and generation =
    case @kindred
    when 'Fath' Then '2'
    when 'Gran' then '1'
    when 'grea' Then '0'
    end and
    vault =
    case @vault
    when 'Offsite1' then '3'
    when 'Offsite2' then '4'
    when 'Offsite3' then '5'
    when 'Offsite4' then '6'
    when 'Offsite5' then '7'
    when 'Offsite6' then '8'
    when 'Offsite7' then '9'
    else
    '1'
    end
    RETURN @result
    END
    go
    use DPMDB
    select ScheduleId as name
    ,def.JobDefinitionId as JD
    ,FriendlyName as PG
    ,SUBSTRING (CONVERT(VARCHAR(10),active_start_date),5,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),active_start_date),7,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),active_start_date),1,4) as SD
    ,jobs.date_created as SCD
    ,SUBSTRING (CONVERT(VARCHAR(10),last_run_date),5,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),last_run_date),7,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),last_run_date),1,4) + ' ' +
    SUBSTRING (CONVERT(VARCHAR(6),last_run_time),1,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),last_run_time),3,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),last_run_time),5,2) as LRD
    ,SUBSTRING (CONVERT(VARCHAR(10),next_run_date),5,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),next_run_date),7,2) + '-' + SUBSTRING (CONVERT(VARCHAR(10),next_run_date),1,4) + ' ' +
    SUBSTRING (CONVERT(VARCHAR(6),next_run_time),1,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),next_run_time),3,2) + ':' + SUBSTRING (CONVERT(VARCHAR(6),next_run_time),5,2) as NRD
    ,dbo.label ((substring(xml,(patindex('%MediaPoolId%',Xml))+13,36)), (substring(xml,(patindex('%generation%',Xml))+12,4)), (substring(xml,(patindex('%vault%',Xml))+7,8))) as TL
    ,case
    when substring(xml,(patindex('%vault%',Xml))+7,3) = 'off' then 'Long-Term'
    else 'Short-term'
    end as STLT
    ,case
    when substring(xml,(patindex('%generation%',Xml))+12,4) = 'Fath' then 'Recovery Goal 1'
    when substring(xml,(patindex('%generation%',Xml))+12,4) = 'Gran' then 'Recovery Goal 2'
    when substring(xml,(patindex('%generation%',Xml))+12,4) = 'Grea' then 'Recovery Goal 3'
    end as RG
    from tbl_SCH_ScheduleDefinition sch
    ,msdb.dbo.sysjobs jobs
    ,tbl_JM_JobDefinition def
    ,DPMDB.dbo.tbl_IM_ProtectedGroup prot
    ,msdb.dbo.sysjobschedules jobsch
    ,msdb.dbo.sysjobsteps jobsteps
    ,msdb.dbo.sysschedules syssch
    where CAST(sch.ScheduleId as NCHAR (128)) = jobs.name
    and def.JobDefinitionId = sch.JobDefinitionId
    and def.ProtectedGroupId = prot.ProtectedGroupId
    and jobs.job_id = jobsch.job_id
    and jobs.job_id = jobsteps.job_id
    and jobsch.schedule_id = syssch.schedule_id
    and (def.Type = '913afd2d-ed74-47bd-b7ea-d42055e5c2f1' or def.Type = 'B5A3D25C-8EB2-4032-9428-C852DA5CE2C5')
    and sch.IsDeleted = '0' and def.ProtectedGroupId is not null
    order by FriendlyName, next_run_date, next_run_time
    go
    drop function label
    go"
    $result = Invoke-Sqlcmd -ServerInstance $instance -Query $query
    $count = 1
    write-host " The list below shows all scheduled backup to tape jobs (short term and long term)" -f green
    write-host
    if ($verbose.ToLower() -eq '')
    write-host " For optimun output, set PoweShell Width for screen buffer size to at least 200" -f yellow; write-host
    write-host
    write-host " Protection Group name Creation Date [Schedule Creation Date] [Last Run Date / time] [Next Sched Run Date/time] Goal type Recovery Goal # Custom Tape Label"
    write-host " ------------------------------ ------------- ------------------------ ---------------------- -------------------------- ---------- --------------- -----------------"
    foreach ($result1 in $result)
    if ($color -eq 'white') {$color = 'cyan'} else {$color = 'white'}
    write-host ("{0,2}"-f $count) -foreground green -nonewline
    write-host ( " - {0,-30} {1,-13} {2,-24} {3,-24} {4,-27} {5,-10} {6,15} " -f $result1.PG, $result1.SD, $result1.SCD, $result1.LRD, $result1.NRD, $result1.STLT, $result1.RG) -nonewline -f $color
    write-host $result1.TL -f yellow
    $count++
    else
    write-host " For optimun output, set PoweShell Width for screen buffer size to at least 110" -f yellow; write-host
    write-host " Protection Group Term Goal Tape Label"
    write-host " ------------------------------ ---------- --------------- --------------"
    foreach ($result1 in $result)
    if ($color -eq 'white') {$color = 'cyan'} else {$color = 'white'}
    write-host ("{0,2}"-f $count) -foreground green -nonewline
    write-host ( " - {0,-30} {1,-10} {2,15} " -f $result1.PG, $result1.STLT, $result1.RG) -nonewline -f $color
    write-host $result1.TL -f yellow
    $count++
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.
    I cant seem to get this script to run.. can someone point out what might be missing..
    I've tried creating a shortcut like the following as well:
    Target: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -File "C:\Program Files\Microsoft
    DPM\DPM\bin\dpmcliinitscript.ps1" "C:\Data\scripts\scheduledjobs.ps1"
    Start in: "C:\Program Files\Microsoft DPM\DPM\bin\"
    If i run as admin in just takes you to a command line prompt in PS..
    Any thoughts on what is missing here.. i've modified the ps1 to reflect 2012 in my case.. 2012 R2
    DPM
    Tech, the Universe, Everything: http://tech-stew.com
    Ok, the 1.6 script works.. but only if i run it from the ps1 script file.. by right clicking it and doing the Run with Powershell option (non admin).. my shortcut doesnt work.. same issue.. it just goes to a power shell prompt.  The right click and
    run is non admin mode as well.
    When I run it with the right click it shows no jobs scheduled.. If i look in dpm 2012 r2 i see a yearly tape backup scheduled for today.. the script doesnt show me a way to also get the monthly to appear (i've set the monthly for a day later but it doesnt
    appear in the scheduled tasks for next 7 days).. i was under the impression this script would help force the monthly to appear/run.. but even the yearly that does show in DPM scheduled tasks isnt showing up with the script (maybe admin issue?)
    Tech, the Universe, Everything: http://tech-stew.com

  • Itunes 11 backup - not working

    Hi everybody
    Before updating an ipad app I'm trying to backup data to my macbook using itunes. (this is what the app developer recommends for this particular update)
    But the backup is not working and I don't what is happening.
    I am running Mountain Lion 10.8.2 and itunes 11 on my macbook.
    According to Apple support, I should be able to do this in iTunes 11:
    Transfer files from your iPod touch, iPhone, or iPad to your computer
                               Connect your iPod touch, iPhone, or iPad to your computer and select your device.                                                 
                               Click Apps.                       
                               Below File Sharing, from the list on the left, select the app on your device that you want to transfer a file from.                       
                               From the list on the right, select the file you want to transfer, and click “Save to.”                       
                               In the window that appears, select the destination where you want to save the file, and click Open.                       
    The file is saved to the selected destination on your computer.
    I have followed all these steps, however nothing seems to happen when i click Open.
    If I browse to the folder/destination that I had selected when I clicked Open, it is completely empty.
    In this case I had created a folder on my desktop to save the backup to.
    Can anyone offer me any suggestions?
    FWIW I am trying to save .fdb files - which I am unfamiliar with.
    Thanks.

    Hey guys, I had the same problem. I checked all three options:
    1/ Crossfade kept it at 10 as 12 wouldnt work)
    2/ Sound enhancer
    3/ Sound check
    Then I relaunched itunes and it now works. Hopefully it keeps working, and haopefully this helps you guys out also !

  • Windows Media not working.

    I cannot figure out why my Windows Media is not working.  I can't download pictures or do any backups to dvd's.  For the backup it keeps saying the dvd is filled and it's a brand new one.  It just won't let me do anything that involves window
    media.

    Are you able to do the same outside Windows Media Player?
    You may go for a System Restore. Select any restore point when there was no such issue.
    You may also run the Fix it
     application for  fixing problems.
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • DX4000 Search in Windows Explorer not working

    I'm the administrator of a 6TB DX4000 which is the NAS at our office of 4 PCs. The Sentinel holds about 25GB of our working data (word, excel, pdf, and other files), which I back-up every 2 days onto a WD My Passport Ultra UDB drive. I can do this using Copy/Paste functions in Windows Explorer. The USB drive can be connected via my PC or, for faster back-ups, via one of the USB ports at the back of the Sentinel (I have configured the USB drive as a shared folder). During and after the backups, everything works well (all of us at the office can save, modify, and create new folders and files). The only problem is that Windows Explorer stops displaying files/folders, also the WE search function stops working for a few hours in all PCs. Thus, we cannot locate files when the search function is not working, which is a big problem for us. This happens irregularly (sometimes after each backup and at times every couple of weeks). I’m quite certain that this issue is being originated by the backup process. I have tried a few things: restarted PCs/Sentinel/Switch/Modem to no avail. All updates have been carried-out. Also, I checked other forums/threads but haven't found a similar problem. Everything is working fine, except that we can’t do searches in WE (also searches don’t work in Word or any other software). Inexplicably, WE starts to work again by itself in full capacity a few hours later. Please let me know if there is a solution to this issue. Thanking you in advance.

    Hi Gramps, Many thanks for your thoughts.  It took me a while to try various ideas, hence my slow response. When Windows Explorer was not working, Remote Desktop Connection was not working either (it was hung-up and would not load further than saying something along the lines of: updating desktop settings).  However, the Dashboard remained operational during this time.  In answer to your query:  Yes, I shared the USB My Passport from the Dashboard when I first set-up the system 9 months ago. Following your ideas, I unshared the drive using the Dashboard.  This took few hours.  Then I rebooted the Sentinel and all the PCs.  I’m glad to report that the WE is now fully operational and that the WE search function is now working.  Also, RDC is working again. I’m beginning to agree with your thoughts that File Indexing is the problem since I have been disconnecting the USB My Passport as soon as the copying of files was completed (thus Indexing may have been incomplete). Please let me know if there is a way of testing if “File Indexing” has been completed. Much appreciated.

Maybe you are looking for

  • Error while creating sales order thru IDoc

    Hi,   While using FM IDOC_WRITE_AND_START_INBOUND, I am getting an error 'Customer not found with DUNS number from IDoc' and the application document is nor posted. I am passing valid customers in the ship to party and sold to party segments but stil

  • Where can i get a replacement screen for my iphone 5

    I dropped my phone and the lcd now has lines running down the whole of the screen and was wondering where I can get a genuine replacement screen?

  • Can't send texts to ONE person

    I was texting my friend perfectly fine all day through iMessage and then suddenly I couldn't send them anything. iMessage wasn't working and it wouldn't send as a text either. But it's just to them, I can text or use iMessage with any other contact i

  • Design view not showing actual layout

    I have a test page where I have a navigation div element created and it floats to the left. When I preview the page in IE, this navigation div element shows up as it should on the left part of the page but in the Design view of Dreamweaver CS3, the n

  • Package number in service entry

    Hi I understand package number(PACKNO) is a unique number in service entry and also this is system generated. In my case service entry should be created automatically from a third party system. XI gets data from third party system and will put into B