Backing up WSUS over WAN ?

VMware specific discussions

Backing up WSUS over WAN ?

Veeam Logoby Wad4iPod » Wed Apr 29, 2015 3:58 pm

Greetings,
We're sending our sever backup copies over a WAN (with the WAN accelerator option).
The WSUS server tends to involve sending more data (given the dynamic nature of WSUS-periodic update downloads etc) than we would like (costs over WAN = 95%).
Are there folks that have excluded WSUS files, the DB, other - to be a bit more efficient in the process?
Thank you
Wad4iPod
Enthusiast
 
Posts: 69
Liked: never
Joined: Wed Aug 04, 2010 12:34 am

Re: Backing up WSUS over WAN ?

Veeam Logoby Wad4iPod » Thu Apr 30, 2015 4:07 am

I may try excluding the Content download folder from the backup. Then when a restore is performed - using the WSUSUTIL.exe reset process to re-download the content.
Anyone try this before?
Original Link giving credit to the author.
http://blogs.technet.com/b/gborger/arch ... large.aspx

How to Do a Reset:

Note: You may want to execute the procedure below during off hours as your WSUS server will be downloading quite a bit of data.

1) Correct any settings above or disapprove any unneeded updates.

2) Close any open WSUS consoles.

3) Go to Administrative Tools – Services and STOP the Update Services service.

4) In Windows Explorer browse to the WSUSContent folder (typically D:\WSUS\WSUSContent or C:\WSUS\WSUSContent)

5) Delete ALL the files and folders in the WSUSContent folder.

6) Go to Administrative Tools – Services and START the Update Services service.

7) Open a command prompt and navigate to the folder: C:\Program Files\Update Services\Tools.

8) Run the command WSUSUtil.exe RESET

-This command tells WSUS to check each update in the database, and verify that the content is present in the WSUSContent folder. As it finds that the content is not present in the folder, it executes a BITS job to download the content from Microsoft. This process takes quite a bit of time and runs in the background.

How do you tell when the process is complete?

Other than noticing that the WSUSContent folder is no longer growing you can also check the SoftwareDistribution.log:

C:\Program Files\Update Services\LogFiles\SoftwareDistribution.log

When you start the reset process, you should see a line towards the bottom of the log which looks like this:

WsusService.13 ExecutionContext.runTryCode State Machine Reset Agent Starting

After waiting for some time, check the log again and search for the text “State Machine Reset Agent Finished”

WsusService.13 ExecutionContext.runTryCode State Machine Reset Agent Finished
Wad4iPod
Enthusiast
 
Posts: 69
Liked: never
Joined: Wed Aug 04, 2010 12:34 am

Re: Backing up WSUS over WAN ?

Veeam Logoby dellock6 » Thu Apr 30, 2015 3:47 pm

I will too suggest to exclude the patch download folder, and rebuild it after a restore to keep the VM to a reasonable size.
Just one note however: Veeam works at the virtual disk level, not at folder level. So in order to do the exclusion, you need first to configure the wsus virtual machine with two different virtual disks, and exclude the disk where you store the patches.
Luca Dell'Oca
EMEA Cloud Architect @ Veeam Software

@dellock6
http://www.virtualtothecore.com
vExpert 2011-2012-2013-2014-2015-2016
Veeam VMCE #1
dellock6
Veeam Software
 
Posts: 5047
Liked: 1330 times
Joined: Sun Jul 26, 2009 3:39 pm
Location: Varese, Italy
Full Name: Luca Dell'Oca

Re: Backing up WSUS over WAN ?

Veeam Logoby Wad4iPod » Sat May 02, 2015 7:54 pm

Thank you -
Wad4iPod
Enthusiast
 
Posts: 69
Liked: never
Joined: Wed Aug 04, 2010 12:34 am


Return to VMware vSphere



Who is online

Users browsing this forum: EricB and 25 guests