<p>I have this idea for a free backup application.</p>

<p>The largest problem I need to solve at the moment is how to access files which are being used or are system files. I would like the application to be able to perform a full backup of files (i.e. not on a disk sector by sector level).</p>

<p>I'll turn the server part of the application into a service. First of all this service will need to be run with administrative privileges I guess? And secondly, is it possible to access locked files and files used by the system? Maybe take those files after the next reboot? (I've seen some anti virus applications work that way.)</p>

<p>I will use C# and the .NET platform, as it seems to be the easiest way to develop Windows applications these days.</p>

[{'answer_id': 78314, 'author': 'Darrel Miller', 'author_id': 6819, 'author_profile': 'https://Stackoverflow.com/users/6819', 'pm_score': 1, 'selected': False, 'text': '<p>Do a Google on HoboCopy.  It is an open source backup tool for windows that can backup files that are in use using Windows Volume Shadow Service.</p>\n'}, {'answer_id': 78344, 'author': 'Adrian Clark', 'author_id': 148, 'author_profile': 'https://Stackoverflow.com/users/148', 'pm_score': 4, 'selected': True, 'text': '<p>What you\'re looking for regarding the files in use is the &quot;<a href="http://msdn.microsoft.com/en-us/library/bb968832(VS.85).aspx" rel="nofollow noreferrer" title="MSDN - Volume Shadow Copy Service">Volume Shadow Copy Service</a>&quot; which is available on Windows XP, Server 2003 and above.  This will allow you to copy files even when they are in use.</p>\n\n<p>I have found a CodeProject article &quot;<a href="http://www.codeproject.com/KB/dotnet/makeshadowcopy.aspx?display=Print" rel="nofollow noreferrer" title="CodeProject - Volume Shadow Copies from .NET">Volume Shadow Copies from .NET</a>&quot; which describes a simple Outlook PST backup application written against Volume Shadow Copy.</p>\n'}, {'answer_id': 78350, 'author': 'chakrit', 'author_id': 3055, 'author_profile': 'https://Stackoverflow.com/users/3055', 'pm_score': 1, 'selected': False, 'text': '<p>Nothing in .NET that could do that directly AFAIK.</p>\n\n<p>I think you are looking for <strong><a href="http://msdn.microsoft.com/en-us/library/bb968832(VS.85).aspx" rel="nofollow noreferrer">Volume Shadow Copy</a></strong> on XP/Vista which is designed for this kind of task.</p>\n'}]
['https://Stackoverflow.com/questions/78282', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']