Solved

How to create WBAdmin automated backup script for system state only to D drive ?

Posted on 2011-02-10
3
2,443 Views
Last Modified: 2012-05-11
Hi Everyone,

is there any way to create automated script to backup system state on my Windows Server 2008 using WBAdmin into D drive inside a directory ?

I tried numerous time but it is still failed like the following script on cmd prompt.

any help would be greatly appreciated.

Thanks
C:\Users\Administrator>wbadmin START SYSTEMSTATEBACKUP -backuptarget:D:\Admin\Backup
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2004 Microsoft Corp.

Starting System State Backup [12/02/2011 4:22 AM]
Retrieving volume information...

This would backup the system state from volume(s) SYS(C:) to D:\Admin\Backup.
Do you want to start the backup operation?
[Y] Yes [N] No Y


ERROR - Specified backup location could not be found.


C:\Users\Administrator>wbadmin START SYSTEMSTATEBACKUP -backuptarget:D:\Admin
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2004 Microsoft Corp.

Starting System State Backup [12/02/2011 4:22 AM]
Retrieving volume information...

This would backup the system state from volume(s) SYS(C:) to D:\Admin.
Do you want to start the backup operation?
[Y] Yes [N] No Y


ERROR - Specified backup location could not be found.


C:\Users\Administrator>wbadmin START SYSTEMSTATEBACKUP -backuptarget:"D:\Admin\Backup" -quiet
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2004 Microsoft Corp.

Starting System State Backup [12/02/2011 4:23 AM]
Retrieving volume information...

This would backup the system state from volume(s) SYS(C:) to D:\Admin\Backup.

ERROR - Specified backup location could not be found.


C:\Users\Administrator>wbadmin START SYSTEMSTATEBACKUP -backuptarget:D:\ -quiet
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2004 Microsoft Corp.

Starting System State Backup [12/02/2011 4:23 AM]
Retrieving volume information...

This would backup the system state from volume(s) SYS(C:) to D:\.

ERROR - Specified backup location could not be found.


C:\Users\Administrator>

Open in new window

0
Comment
Question by:jjoz
3 Comments
 
LVL 21

Assisted Solution

by:RK
RK earned 50 total points
ID: 34868521
I am not aware of the scripting...But for this requirement you can use ntbackup for taking system state backup and schedule this for daily,weekly, monthly basis, So automatically it will perform this task whereever the destination, ie-"D".

Hopes this helps.
0
 
LVL 3

Accepted Solution

by:
mwadmin earned 450 total points
ID: 34868577
Hi jjoz,

If you want to run to the root of the D: Drive then please run it as follows (you need to drop the backslash);

wbadmin START SYSTEMSTATEBACKUP -backuptarget:D:

From what I can see you are not going to be able to specify the folder path, seems that System state backups using wbadmin will only allow you to specify Driver Letters or a volume GUID-based path.

Let me know if you come right.

Thanks,
M
0
 
LVL 1

Author Closing Comment

by:jjoz
ID: 34893570
yes you are right D: only !
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now