คำตอบ System state script not run through task scheduler?

  • 12 มีนาคม 2555 5:43
     
     

    Hi all,

    I created one batch file for take domain controller system state backup. when i run the batch file manually, the backup will run. systemstate backup not running when i put that script in task scheduler. please suggest me what i need to do? thanks in advance. my script as follows,

    @echo on
    For /F "tokens=2-4 delims=/ " %%A in ('Date /t') do (
    Set DATE1=%%A
    Set DATE2=%%B
    Set DATE3=%%C
    )
    set HH=%TIME:~0,2%
    set MM=%TIME:~3,2%
    set SS=%TIME:~6,2%
    set vsite=%date3%-%date2%-%date1%_%hh%-%mm%-%ss%
    mkdir \\10.200.2.45\Corpsvrbackup\PDC-2.26\SystemStateBackup\%vsite%
    set vbremote=\\10.200.2.45\Corpsvrbackup\PDC-2.26\SystemStateBackup\%vsite%
    wbadmin start systemstatebackup -backuptarget:%vbremote% -quiet


    Dhakshinamoorthy Balasubramanian

ตอบทั้งหมด

  • 12 มีนาคม 2555 10:06
     
     

    Can you let me know the errors that you are seeing? Are these tasks not getting scheduled or, they are scheduled but backup is not completed?

    Regards

    Satish

  • 12 มีนาคม 2555 10:21
     
     

    Hi Satish,

    please see my task scheduler settings,


    Dhakshinamoorthy Balasubramanian

  • 19 มีนาคม 2555 1:38
    ผู้ดูแล
     
     คำตอบ
     

    Hi,

    As for script issues, please go to power shell forum for better support, thanks for your understanding.

    http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/threads


    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.

    • ทำเครื่องหมายเป็นคำตอบโดย Jeff RenModerator 19 มีนาคม 2555 1:39
    •