Quantcast
Channel: Backup – Windows and Windows Server forum
Viewing all articles
Browse latest Browse all 3323

Using command line to schedule NTBackup

$
0
0

I'm pretty green when it comes to command line, so I'm hopping someone can give me a little help.

Trying to get a 2012 Server to do a full system backup.  System State, Bare Metal, and C.   I'm backing up to a network drive.

I need to do this as a scheduled task to run every other week.  I know once the task is made, I can use the GUI task scheduler to set up time/days to run, but I am not sure on the command.

Here is what I'm trying.  Please advise.

schtasks /create /sc weekly /mo 2 /d mon /tn week2 /st 10:00 /tr "wbadmin start backup -backuptarget:\\10.10.10.10\daily_backup -allcritical -quiet

Thanks for any tips


Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>