Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Command line image backup

25 Apr 2010   #11
Tepid

Win 7 Ultimate 32bit
 
 

But not all 3rd party apps provide a command line, or a decent command line structure.


My System SpecsSystem Spec
.
26 Apr 2010   #12
blockie

 

Sorry,
Looking at the examples heretofore provided I got that idea. In a little while I will test this on my system. Thanks.
My System SpecsSystem Spec
26 Apr 2010   #13
blockie

 

"WBADMIN START BACKUP -backupTarget: -include:C: -quiet >> C:\mydailybackupLog.txt"

The above command line not do anything except open the dos window and display. The only change I made to yours was destination D and to backup C and remove the quotes.
My System SpecsSystem Spec
.

26 Apr 2010   #14
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Did you use an admin command prompt? (Rt click cmd.exe and run as admin)

If there isn't enough space on the target , you will get this in the log file C:\mydailybackupLog.txt

wbadmin 1.0 - Backup command-line tool
(C) Copyright 2004 Microsoft Corp.

Retrieving volume information...
This will back up volume Vista x86(C:) to D:.
There is not enough free space on the backup storage location to back up the data.
My System SpecsSystem Spec
26 Apr 2010   #15
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

You need to run Wbadmin commands in elevated cmd.

Right click on cmd, select "Run as Admin", then type your commands.
My System SpecsSystem Spec
26 Apr 2010   #16
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

I just did a backup and restore - it worked ok , but it's not quick, the image takes a lot of space, and care needs to be taken restoring from the command prompt.

Unless you are using Server 2008 it really is much easier quicker and safer to use a free 3rd party app.
My System SpecsSystem Spec
27 Apr 2010   #17
blockie

 

Still didn't work even with elevated command prompt. I think I will look into a third party program.
My System SpecsSystem Spec
27 Apr 2010   #18
derekimo

Microsoft Community Contributor Award Recipient

Win 10 Pro x64
 
 

Quote   Quote: Originally Posted by blockie View Post
Still didn't work even with elevated command prompt. I think I will look into a third party program.
This one mentioned by whs and his tutorial are very good.
https://www.sevenforums.com/performan...tml#post702528
My System SpecsSystem Spec
06 May 2010   #19
blockie

 

The following batch file worked from a elevated command window:

"WBADMIN START BACKUP -backupTarget: -include:c: -quiet "

However, if I add a folder to back up to, like :

"WBADMIN START BACKUP -backupTarget:\Images\ -include:c: "-quiet

I get an error msg that the destination path cannot be found. What am I doing wrong? The folder D:\Images does, in fact, exist.

Can't get rid of the smiley face. It should be colon D
My System SpecsSystem Spec
06 May 2010   #20
Tepid

Win 7 Ultimate 32bit
 
 

have you tried removing the last \

Code:
backupTarget:D:\Images
My System SpecsSystem Spec
Reply

 Command line image backup




Thread Tools




Similar help and support threads
Thread Forum
Executing command line command anywhere ?
I want to create a setup whereas a command line command can be run from any directory/folder, without having to be in the directory/folder whereas the command line command resides ?
General Discussion
Creating a system image from command line onto USB
To save a lot of time im just posting what I am trying to do and what I have available to me. I want to replace my hard drive, but I do not have a windows 7 CD (laptop did not come with one), and the manufacturer will not send me one (gave up after 3 hours of on hold). Right now all I have a...
Backup and Restore
backup registry in command line
Hello I am trying to back up a registry key, I am using the command >reg export hkey_local_machine\software\microsoft\windows c:\windows\regbackup and I keep getting the error message Unable to write to the file. There may be a disk or file system error. Not sure what I am doing wrong, any ...
Backup and Restore
Built-in System Image from Command line?
Hello! What I would like to do is make a batch (.bat) file which would tell my computer to do a full system image of my whole HDD - that is the Unnamed Drive partition (System) + C: partition (System) + D: partition. I would like the image to be created on my external USB 3.0 HDD (G: partiton)....
Backup and Restore
Windows Backup command line
Hi all, i'm very happy to be here !!! :D I do not come often because I work a lot! But when I'm there, I am pleased. OK. I have a little problem... I'm looking for the command line of Windows backup (sdclt.exe). I went to the MSDN site and nothing about ! I found in google few commands but...
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:25.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App