Solved

what is the syndax for creating system state backup using  Wbadmin with scheduled daily  backup ?

Posted on 2011-03-15
7
847 Views
Last Modified: 2012-08-13
hi all

easy one i think...

 what is the syndax for creating system state backup using  Wbadmin with scheduled daily  backup on each day at 5:00 am?

lest say the location for the backup is in remote location (File server)  \\hostname\sharename
0
Comment
Question by:ymg800
  • 3
  • 2
7 Comments
 
LVL 3

Expert Comment

by:Rdsterling
ID: 35137429
You cannot backup to a network drive directly using wbadmin. Use wbadmin start systemstatebackup
to backup to a volume. Then you'd have to create another scheduled task to copy the backup to your network drive.  See here for more details http://technet.microsoft.com/en-us/library/cc742124(WS.10).aspx
0
 

Author Comment

by:ymg800
ID: 35144998
so i used:

wbadmin start systemstatebackup -backupTarget:d:

1.this put the copy under drive D:WindowsImageBackup\servername, right?

2. it's prompt me with a question if yes or no..., can i automate the answer to yes to run it as a script?

3. next step is to use bath file and use the "move" command and them go to scheduel task in windows to time it every day to run this  bath?

thx.
0
 
LVL 3

Expert Comment

by:Rdsterling
ID: 35149035
use the -quiet switch at the end, so wbadmin start systemstatebackup -backupTarget:d: -quiet
0
 

Author Comment

by:ymg800
ID: 35224927
how can i run this command daily?
0
 
LVL 3

Accepted Solution

by:
Rdsterling earned 500 total points
ID: 35265771
Setup a Scheduled Task in Task Scheduler.

Create your batch file (for this example we'll call it backup.cmd) containing the lines

wbadmin start systemstatebackup -backupTarget:d: -quiet
xcopy /s D:\WindowsImageBackup\servername \\severname\share

where servername is the name of your server and share is the name of the share name on the server
Save the batch file to a folder. For this example we'll call the folder scripts.

Open Task Scheduler and run through the Task Scheduler wizard to create a new Scheduled Task pointing to the batch file. Set it to run Daily.

Look here for more information on Task Scheduler 2.0 in Windows 2008.

http://msdn.microsoft.com/en-us/library/bb756979.aspx
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Set up secondary Domain Controller 4 70
Drobo data gransfare rate over Ethernet is slow 4 28
Server backups 5 37
E-mail delayed during DNS server reboot 8 31
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

813 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

18 Experts available now in Live!

Get 1:1 Help Now