Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-03-15
7
Medium Priority
?
865 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
5 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

782 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