• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2599
  • Last Modified:

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

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
jjoz
Asked:
jjoz
2 Solutions
 
Radhakrishnan RSenior Technical LeadCommented:
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
 
mwadminCommented:
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
 
jjozAuthor Commented:
yes you are right D: only !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now