locked
[Forum FAQ] Schedule multiple versions of System Image Backup in Windows 8.1 RRS feed

  • General discussion

  • As we known that there is no UI for user to configure Image backup in Windows 8.1, this is a guide for your to schedule multiple versions of System Image Backup.

    Step 1: Create a task to schedule an image backup with following command:

    SCHTASKS /Create /SC WEEKLY /D MON /TN WeeklyFullBackup /RL HIGHEST /ST 13:00 /TR “wbAdmin Start Backup -backupTarget:F: -include:C: -allCritical -quiet”

    Step 2: Schedule a robocopy to backup the saved image with BAT file:

    1. Please create a new folder (in this example, the new folder is e:\test2) to save your multiple copies of image backup:
    2. Write following batch file to copy backup and rename with backup date:

    *****************BAT********************
    @echo off
    robocopy e:\test1\ e:\test2\ test.wim
    ren e:\test2\test.wim  test_%date:~10,4%%date:~7,2%%date:~4,2%_%time:~0,2%%time:~3,2%.wim
    *******************************************

    NOTE: e:\test2 is my location to save multiple copies of image backup; e:\test1 is the location I create the system image backup.

    This BAT can also help to rename the copy of image backup with date and time like below:

      3.  Set up a basic task in Task schedule:

    Note: please make sure the time you configured follows the time you set for image backup in Step 1.

    Action -> Create basic task (Name you task) -> Trigger (Set how often this task should be run) -> Action (Start a program) -> Under Program/script, point to your bat file you create in Step 2.b -> Finish

    At the end, you can know more about SCHTASKS and Robocopy via following links:

    Robocopy

    http://technet.microsoft.com/en-us/library/cc733145.aspx

    Schtasks

    http://technet.microsoft.com/en-us/library/cc725744.aspx

    Welcome to your feedbacks.


    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Monday, May 12, 2014 9:54 AM