We help IT Professionals succeed at work.

Schedule a daily system state backup while only keeping the backup of the last 2 days

107 Views
Last Modified: 2018-02-02
Hi,

I want to do an automatic daily system state backup of my 2012 R2 DC. I only want to keep the backups of the last 2 days.

There is one caveat: I want to backup to a network share (and via the wizard it only allows one version of my backup).

This should be possible via a scheduled task or something, no?

Thanks a lot for the help already!

Kind regards,
Comment
Watch Question

Shaun VermaakSenior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
System Engineer
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Jozef WooSystem Engineer

Author

Commented:
Both answers are fantastic and very informative. Hard to choose which is the best solution. I have a slight preference to the second solution because it includes the exact commands I need in this case. Also, I was unaware of the existence of the "start systemstatebackup" parameter. I only knew the -systemstate argument used for the "start backup" parameter. This makes it even simpler! Thanks a mill both Ivan & Shaun!
Shaun VermaakSenior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019

Commented:
Glad we could help.

@OP, experts and future visitors:
Please remember to endorse my, or any other expert's comments that you found helpful by clicking on the "Thumb's Up" button

Read more on endorsements
https://www.experts-exchange.com/discussions/218503/What-are-Endorsements.html
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.