Media creator backs up all temp .net files

Backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)

Media creator backs up all temp .net files

Veeam Logoby itrabbit » Thu Nov 24, 2016 7:27 am

On our physical servers we run alot of websites and all have compiled .net files. When Veeam endpoint creates its media DVD, it tries and copies all the temp .net files?
How do I stop it from doing this?
itrabbit
Influencer
 
Posts: 14
Liked: never
Joined: Thu Nov 24, 2016 6:50 am
Full Name: Matt Dunleavy

Re: Media creator backs up all temp .net files

Veeam Logoby Dima P. » Thu Nov 24, 2016 11:24 am

Hi,

If you are referring to 'Dotnet' - it is required for Veeam Recovery Media to run the restore code inside the BMR.
Dima P.
Veeam Software
 
Posts: 6686
Liked: 478 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Media creator backs up all temp .net files

Veeam Logoby itrabbit » Thu Nov 24, 2016 8:02 pm

Hi there, thank you for this, this is fine that it has to use Dot Net files, but it is including all ASP.NET Temporary files while it tries to create the disc.
Code: Select all
C:\Windows\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework64\v1.1.4322\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files

These files run into the Gigabytes on my physical web servers
itrabbit
Influencer
 
Posts: 14
Liked: never
Joined: Thu Nov 24, 2016 6:50 am
Full Name: Matt Dunleavy

Re: Media creator backs up all temp .net files

Veeam Logoby Mike Resseler » Fri Nov 25, 2016 7:06 am

Matt,

I think this is an interesting use case. We need .NET to do the restore, but because you are also using .NET (and heavily with your webservers) the entire .NET framework, including your webservers stuff gets copied to that recovery media. This won't be solved quickly, and we never had any complaint about it (the question though is... if they are saving it to an ISO, did they care or was the amount of temporary .NET files less than in your case...)

That being said, this is certainly something we can look at for further versions (not the one coming but after that...). If we find a temporary solution, we will certainly update this thread.

Thanks for letting us know.

Mike
Mike Resseler
Veeam Software
 
Posts: 3382
Liked: 384 times
Joined: Fri Feb 08, 2013 3:08 pm
Location: Belgium, the land of the fries, the beer, the chocolate and the diamonds...
Full Name: Mike Resseler

Re: Media creator backs up all temp .net files

Veeam Logoby itrabbit » Sat Nov 26, 2016 3:41 am

Thank you for your reply, I just don't know why you don't exclude the temporary asp.net files directories, they serve no purpose for what you need, and include everything else for .net

https://msdn.microsoft.com/library/ms366723

"By default, when you compile a Web application the compiled code is placed in the Temporary ASP.NET Files folder. This folder is a subdirectory of the location where you installed the .NET framework. Typically, the location is the following:
%SystemRoot%\Microsoft.NET\Framework\versionNumber\Temporary ASP.NET Files"
itrabbit
Influencer
 
Posts: 14
Liked: never
Joined: Thu Nov 24, 2016 6:50 am
Full Name: Matt Dunleavy

Re: Media creator backs up all temp .net files

Veeam Logoby Dima P. » Sat Nov 26, 2016 12:27 pm

Thanks for clarification. Good catch - I'll check with the dev team and let you know.
Dima P.
Veeam Software
 
Posts: 6686
Liked: 478 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Media creator backs up all temp .net files

Veeam Logoby dheijl » Tue Nov 29, 2016 3:37 pm

According to http://serverfault.com/questions/350550 ... -folder-in:

You can change the default location on a per website/application basis by editing the Configuration section of the Web.config file.

<system.web>
<compilation tempDirectory="D:\MyTempFiles" />
</system.web>


The application will re-compile and the files will be stored at this new location, after which you can safely remove the old folders. Note that the folder names will stay the same; e.g. if the old location was:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\9878g103\e67805p7

then the new one will be:

D:\MyTempFiles\root\9878g103\e67805p7

The change need not be on a per website/application basis. You can apply that change on a framework version basis by changing the framework's web.config file, for example: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.c‌​onfig. By doing this you impact all the websites that are targeting that version of the framework.

Danny
dheijl
Novice
 
Posts: 6
Liked: never
Joined: Fri Apr 17, 2015 11:21 am
Full Name: Danny Heijl

Re: Media creator backs up all temp .net files

Veeam Logoby Dima P. » Tue Nov 29, 2016 6:55 pm

Thanks. We are still investigating, so stay tuned.
Dima P.
Veeam Software
 
Posts: 6686
Liked: 478 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov


Return to Veeam Agent for Windows



Who is online

Users browsing this forum: No registered users and 1 guest