Windows 7 - Using wbadmin command

How to make a batchfile to create a disk image of one or multiple drives, backed up to an external device in Windows 7 and schedule it to run regularly. (without spending any money on additional backup programs and software)

If you have more than one internal hard drive you wish to backup in Windows 7 Home Premium, and you want/need to backup the drives to separate external hard drives, (eg. one external drive has insufficient storage space for all your internal drives, so separate backups are needed), windows 7 backup wont let you. Windows 7 "backup" is only able to create one backup schedule to one external hard drive.

Solution:-

To create a separate scheduled backup disk image from an internal drive to an external drive, a batch file can be written, saved in the windows folder and scheduled to run in windows task manager.

Example:- you have set up windows 7 backup to run a scheduled backup of drive C: to external drive F: and You also need to backup drives D: & E: to external dirve G:

Using the "wbadmin" command in windows 7.

Open notepad and type the following:-

@ECHO OFF
wbadmin start backup -backupTarget:G: -include:D:,E:

Substitute the drive letters for your particular drive letters or paths.

Save the file as wbadmin.bat in the C:\windows folder.

Open windows task scheduler and setup wbadmin.bat to run as administrator on the schedule you choose.

Note:- The command will run in the background and will not report if there is an error. Because of this it is important to check the disk image from time to time, to make sure the modified date is changing according to the schedule you set up.

Squashed Head Sandcastle

Sillyness

Manuals

Instruction Manuals

Fun & Games

wisdom

Articles

One last chance to save mankind?

With his 90th birthday in July, a trip into space scheduled for later in the year and a new book out next month, 2009 promises to be an exciting time for James Lovelock. But the originator of the Gaia theory, which describes Earth as a self-regulating planet, has a stark view of the future of humanity. He tells Gaia Vince we have one last chance to save ourselves - and it has nothing to do with nuclear power...

It's ok to quit

Motivational Speaker - Veraunda Jackson tells us it's ok to quit, shows us how and provides a dose of straight talking advice.

Is there an Artificial God?

In honour of Douglas Adams memory, the transcript of his speech at Digital Biota 2, held at Magdelene College Cambridge, in September 1998. Douglas presented this ''off the cuff'' which only magnifies his true genius.

Glastonbury ramblings

Glastonbury festival reminds me that I am lucky. It opened my eyes to a whole new world outside the “Rat race”. I am the luckiest person in the world, Just being here.

Spotlight

Teaching Intelligent Design!

I am writing you with much concern after having read of your hearing to decide whether the alternative theory of Intelligent Design should be taught along with the theory of Evolution. I think we can all agree that it is important for students to hear multiple viewpoints so they can choose for themselves the theory that makes the most sense to them. I am concerned, however, that students will only hear one theory of Intelligent Design.