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

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

 

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

 

"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

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

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

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

 

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

Microsoft Community Contributor Award Recipient

Windows 7 Pro 64 SP1
 
 

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.
http://www.sevenforums.com/performan...tml#post702528
My System SpecsSystem Spec
06 May 2010   #19

 

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

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 for2: Command line image backup
Thread Forum
Solved backup registry in command line Backup and Restore
backup registry in command line Backup and Restore
Solved Windows Backup command line Backup and Restore
Gpedit via command line Performance & Maintenance
libraries and the command line Performance & Maintenance
Command Line General Discussion
Can you boot from the command line? Chillout Room

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 10:16 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33