Hello,
in windows 8.1. there is an option to create a system image backup.
What can be done to configure this as a scheduled job to backup a machine every night as an image?
Thx
Technology Tips and News
Hello,
in windows 8.1. there is an option to create a system image backup.
What can be done to configure this as a scheduled job to backup a machine every night as an image?
Thx
You can create a scheduled task to run the following commands using WBADMIN:
wbAdmin start backup -backupTarget:E: -include:C: -allCritical -quiet
This would backup the C:\ to your E:\ drive. The -allCritical tells it to backup the critical volumes containing the system state and the -quiet tells it to run without prompting you. This is run through powershell so when you create your schedule task ensure the "Program/script" section states "powershell" and then the "Add arguments" line states:
-command &{wbAdmin start backup -backupTarget:E: -include:C: -allCritical -quiet}
See this link for more information: http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/12/use-scheduled-tasks-to-run-powershell-commands-on-windows.as
Hi Chris,
thx for the answer.
For windows 8.1. this is the only option? So no gui-version of Windows Server Backup in windows 8.1 (Enterprise)?
Thx
Hi,
Since MS took away the scheduling feature in System image backup, we can only use script in the Task Scheduler as Chrise mentioned.
You can also refer to this article:
How to schedule a Windows 8.1 System Image backup (step-by-step)
http://pureinfotech.com/2013/10/24/schedule-windows-81-system-image-backup/
This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
Hope this would be easy understanding.
Are there any options to save image-backups for multiple days?
Thx
Hi,
Please refer to the examples here for scheduling a task that runs every N days.
To schedule a task that runs every N days
http://technet.microsoft.com/en-us/library/cc725744.aspx#BKMK_days
Hi Kate,
i mean to have multiple copies of the backup and not just the latest backup.
Hi,
As I known, Windows doesn't support version history for System image backup.
It can be explained that this image is essentially a huge backup file contains the entire contents of your PC as it existed the day you created the image. The multiple backups will not only eat up much more your HDD but also produce hard task.
Thanks for your understanding.
Hi Kate,
as i know wbadmin in server-os from microsoft can have multiple copies of an image backup.
But not for Windows Client like Windows 8 and Windows 8.1, right?Hi Kate,
as i know wbadmin in server-os from microsoft can have multiple copies of an image backup.
Hi, is this true a clint-os cannot have multiple copies?
Also not with a workarround/copy of wbadmin.exe of a server-edition?
Thx
Hi,
Since MS took away the scheduling feature in System image backup, we can only use script in the Task Scheduler as Chrise mentioned.
You can also refer to this article:
How to schedule a Windows 8.1 System Image backup (step-by-step)
http://pureinfotech.com/2013/10/24/schedule-windows-81-system-image-backup/
This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
Hope this would be easy understanding.
This seems to be a workaround, but I feel that it lost real meaning of schedule, since we need to change the schedule command to backup severalTested and works make sure to change drives to backup and destination
SCHTASKS /Create /SC WEEKLY /D MON /TN WeeklyFullBackup /RL HIGHEST /ST 13:00 /TR wbAdmin Start Backup -backupTarget:F: -include:C: -allCritical -quiet
Kate,
I agree with you. In Win7 or Win8, multiple system images are kept automatically and disk space used is not that much more than a single image backup since incremental backups are done. In many ways Win8.1 is a step backward and I went back to Win8. Thanks.
With Windows 8.1 I have been doing nightly scheduled backups for some time now via the command Chris DeCarlo posted, to a permanently connected external USB 3 TB Western Digital MyBook drive.
They have been running well and once the initial data is written, the backups complete in short order. I get a couple of warning messages in the System Event Log but they seem to have to do with the drive being mounted and removed from the system by the backup.
What you might not know is that, even though Microsoft removed the Previous Versions feature, you can access individual backed-up files via tools that can access Volume Shadow Copies. Two such tools I know of are Z-VSSCopy and ShadowExplorer. The latter may be having some data integrity problems with Windows 8.1 but the author is aware of them and working on it.
The UI for setting up this kind of backup and the Previous Versions features are something Microsoft should not have removed! File History does NOT fill their shoes.
Hi,
I found a way to get this done:
Step 1: set a image backup schedule 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 this BAT file: please create a new folder to save your multiple copies:
To schedule the robocopy, please refer to this link:
http://caughtinpixels.com/how-to-create-a-backup-script-using-robocopy/
*****************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:
This option, which is not incremental in nature, will require same amount of disk space each day, making it impossible to save more than a few days of backup data -- unless you have an extremely large backup drive. Correct me if I am wrong. Thanks.
Jay
This option, which is not incremental in nature, will require same amount of disk space each day, making it impossible to save more than a few days of backup data -- unless you have an extremely large backup drive. Correct me if I am wrong. Thanks.
It's finishing often in less than an hour, and I have more than 1TB of data on C:. The command I use is:
wbadmin start backup -allCritical -vssFull -quiet -backupTarget:G:\
A VSS integrated system image backup absolutely IS incremental in nature if you use the -vssFull switch, and self-manages the backup drive space very well. It's one of the things Microsoft got very right. I'm doing it every night as I mentioned aboveIt's finishing often in less than an hour, and I have more than 1TB of data on C:. The command I use is:
wbadmin start backup -allCritical -vssFull -quiet -backupTarget:G:\
Please read previous postings. We know how to schedule a backup job.
This option, which is not incremental in nature, will require same amount of disk space each day, making it impossible to save more than a few days of backup data -- unless you have an extremely large backup drive.
I tried -vssFull option but it did not make any difference. Thanks.
I agree, what is the correct syntax for directing it to a specific directory including overwriting the previous without being prompted ?
Here's what I have and it doesn't work although the directory exists.
SCHTASKS /Create /SC DAILY /TN SysImageMon /RL HIGHEST /ST 19:00 /TR wbAdmin Start Backup -backupTarget:E:\SysImageMon -Force -include:C: -allCritical -quiet
I agree, what is the correct syntax for directing it to a specific directory including overwriting the previous without being prompted ?
Here's what I have and it doesn't work although the directory exists.
SCHTASKS /Create /SC DAILY /TN SysImageMon /RL HIGHEST /ST 19:00 /TR wbAdmin Start Backup -backupTarget:E:\SysImageMon -Force -include:C: -allCritical -quiet
Not sure if you solved this, but: WBAdmin Subfolder not Supported
It's another one of those face-palming decisions. There is a work-around, create a folder and then share it. Set the target to that share. IE:
backupTarget:"\\localpcname\sharedfolder\"
I'm not sure the way the Volume Snapshot Service works you can call it exactly "one full and multiple incremental" backups. The way it stores the data it's more like "a set of changes describing the recent history of the logical blocks of the drive". It can delete the oldest to make room and still have a full restoral capability. But the effect is the same - you can restore all the data from multiple different days.
What would you like to see to be convinced? The list of available backups to restore from a drive being used to hold such backup? Here you go:
At the moment as you can see I have 3 available. I've seen as many as 15. It has to do with the space available (I'm backing up a 2 TB system to a 3 TB drive) vs. how much is being backed up, when you've changed what on your critical volumes, and the time of the month.
I was initially confused by the times shown (10 pm), because I do my backups at 1 am, but I'm in Eastern time and by default the backup times are shown in Pacific time (presumably because Microsoft engineering runs on Pacific time).
Hope this helps!
Well, I will try one more time. Here is my task in Scheduler
"wbadmin" in Program/script and "start backup -allCritical -vssFull -quiet -backupTarget:E:\ " in Add arguments.
Only thing I had to change was on General tab, where at the bottom, Configure for: had default Vista showing. Now I have selected Windows 8.1. I hope this makes the difference. Thanks.
I doubt that the Configure for is the issue, as I see that mine's set to "Windows Vista, Windows Server 2008".
Here's what I'm doing in detail:
Thanks for the good tips Noel. I had the same experience as Jay Kulsh in that the -vssFull command doesn't make a difference. Having it present or not still results in an incremental backup for the c: drive which is desirable.
In my situation I would like to backup the c:,d:,e:,f:,h: drives each night with an incremental backup. The total size of the data on the drives is 5.4 TB, making the backup take about 24 hours. When I backup c:,d:, the c: drive backup is incremental but the other drive is not. Is there a way to have the backup be incremental for all of the drives? Thanks for any help.
The only thing that comes to mind is this: Do you have VSS enabled for the other drives?
Try running:
vssadmin list volumes
Do all the volumes you're backing up show up?
Keep in mind the first backup will have to be full (as I'm sure you realize, but I'm stating it for completeness here).
The thing I don't have a good handle on is what is the logic for the software to determine whether there's room for an incremental backup on the output media. It's possible it decides it has to delete the old snapshots to make room for a new one, after which it becomes necessary to copy everything again. I see my backup turn into a more or less full copy every now and then, because the oldest dataset has to be deleted. I see messages in the System event log like this one:
The oldest shadow copy of volume C: was deleted to keep disk space usage for shadow copies of volume C: below the user defined limit.
Do you see this message?
Thanks for the quick response.
I checked the drives by the command you gave and they all showed.
From my earlier tests of running backup with just c:,d:, there was lots of room for it to copy (about 5x extra room on the backup target). The backup target is a network location. I'm under the impression that only one copy of an image can be
saved to a network location. That shouldn't affect whether it's incremental or not since the backup of c: to that network location is incremental.
I checked the Event Viewer and didn't find a message like the one you mentioned. I see that there are information-level messages from Backup that say "The Block Level Backup Engine service has stopped." The last one came when the backup
finished. There are some messages from VSS that say "The VSS service is shutting down due to idle timeout." Is that something that could cause an issue?
Do you have other ideas? If not, I could live with weekly backups on the weekend and let it go the 24 hours. The only concern I have with this is with a failure during the backup which would leave me with nothing. I'm not a cursing man, but I could almost curse Microsoft for removing the Backup and Restore feature from Windows 8.1. Thanks for the help.
You may have something regarding the backup going to a network share. I'm a little fuzzy on the mechanics of it, but it's entirely possible the backup volume itself needs volume shadow copy capability in order to make the backups incremental.
We've reached the limit of my knowledge of the wbadmin feature at this point, as I stopped looking to refine my backup strategy when I found that when using a USB drive it works exactly as I need.
Perhaps someone else with more in depth knowledge of Volume Snapshot Services can contribute here...
Just an FYI, if you are still concerned about whether or not these are incremental, you could at least make 2 tasks that run every other day, storing to two different folders on the drive. The trick (besides what Kael29 pointed out to target the folders), is to add the parameter:
/MO 2
This modifies the daily interval to be every 2 days, which can be confirmed on the "Triggers" tab of Task Schedule.
...Larry
This solution is a bit too techie for me
here is another way for those less techie and not wanting to screw things up
I just post it at end of month on my calendar as a reoccurring event,
i have an icon in my taskbar - my brother helped me do this so can't tell you how to do that. for this icon, check out a book on windows 7 or windows 8 , the missing manual book should hellp
so when i see my calendar to do at end of month
i just hit the icon on task bar and the CREATE A SYSTEM IMAGE POPS UP
--
i do back up my files every 2 hours so i am easily all set for a system failure
Ok, the switch -vssFull seems to work for local backup with history.
Did anybody try to restore an older backup (not the newest)?
I am not able to test it, because I can't mount the usb restore drive to a hyper-v machine for testing.
Works the -vssFull switch with history on a network share?
I copied a -vssFull backup from the local USB3 disc to a Network share and the restore GUI showed only the last (the newest) backup.
thanks
Read up on volume snapshots. It's not just a matter of copying a backup dataset.
I have tested restoral of a non-leaf volume snapshot. It is possible from a USB drive directly. I believe there are limitations with network shares, though, which is probably what you've run into.