Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
itrabbit
Influencer
Posts: 20
Liked: 6 times
Joined: Nov 24, 2016 6:50 am
Full Name: Matt Dunleavy
Contact:

Media creator backs up all temp .net files

Post by itrabbit »

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?
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Media creator backs up all temp .net files

Post by Dima P. »

Hi,

If you are referring to 'Dotnet' - it is required for Veeam Recovery Media to run the restore code inside the BMR.
itrabbit
Influencer
Posts: 20
Liked: 6 times
Joined: Nov 24, 2016 6:50 am
Full Name: Matt Dunleavy
Contact:

Re: Media creator backs up all temp .net files

Post by itrabbit »

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
Mike Resseler
Product Manager
Posts: 8044
Liked: 1263 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Media creator backs up all temp .net files

Post by Mike Resseler »

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
itrabbit
Influencer
Posts: 20
Liked: 6 times
Joined: Nov 24, 2016 6:50 am
Full Name: Matt Dunleavy
Contact:

Re: Media creator backs up all temp .net files

Post by itrabbit »

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"
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Media creator backs up all temp .net files

Post by Dima P. »

Thanks for clarification. Good catch - I'll check with the dev team and let you know.
dheijl
Novice
Posts: 9
Liked: 2 times
Joined: Apr 17, 2015 11:21 am
Full Name: Danny Heijl
Contact:

Re: Media creator backs up all temp .net files

Post by dheijl »

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
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Media creator backs up all temp .net files

Post by Dima P. »

Thanks. We are still investigating, so stay tuned.
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 22 guests