Solved

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

Posted on 2011-03-15
7
845 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 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