Mirror Exact Copy Tool

Backup files from Source {path/folder} to Target {path/folder}

For Instance:
Assuming you have a folder name shared-docs located in the C:\
C:\shared-docs and you want to make an exact backup copy to an external hard drive.
NetstairBackopy.exe will do it for you with no knowledge of windows command or windows fileExplorer

All you need to do is modify the mirrorfiledb.xml following the sample with notepad
Sourcepath = the source path/folder of your files or folder that you would like to exact copy.
Targetpath = the target path/folder where you like make the exact copy.
Logfilepath = {path/folder/logfilename.txt} of your result log file.

mirrorfiledb.xml
<?xml version="1.0" encoding="utf-8" ?>
<archives>    
  <Backup>    
    <Sourcepath>C:\admin-docs</Sourcepath>
    <Targetpath>D:\Archives\admin-docs</Targetpath>
    <Logfilepath>D:\Archives\AdminLog.txt</Logfilepath>
  </Backup>
  <Backup>    
    <Sourcepath>C:\shared-docs</Sourcepath>
    <Targetpath>D:\Archives\shared-docs</Targetpath>
    <Logfilepath>D:\Archives\SharedLog.txt</Logfilepath>
  </Backup>
  <Backup>    
    <Sourcepath>C:\scan-docs</Sourcepath>
    <Targetpath>D:\Archives\scan-docs</Targetpath>
    <Logfilepath>D:\Archives\ScanLog.txt</Logfilepath>
  </Backup>  
  
</archives>
NetstairBackopy.exe.config         [Make sure that key="data-file" value={to path/folder where mirrorfiledb.xml is located}
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="data-file" value="C:\Program Files (x86)\Netstair Communications\NetstairBackopy\mirrorfiledb.xml"/>
    <add key="extra-switch" value=""/>
    <add key="restartable-mode" value=""/>
    <add key="only-newfiles" value=""/>    
  </appSettings>
  <system.diagnostics>
        <sources>
            <!-- This section defines the logging configuration for My.Application.Log -->
            <source name="DefaultSource" switchName="DefaultSwitch">
                <listeners>
                    <add name="FileLog"/>
                    <!-- Uncomment the below section to write to the Application Event Log -->
                    <!--<add name="EventLog"/>-->
                </listeners>
            </source>
        </sources>
        <switches>
            <add name="DefaultSwitch" value="Information" />
        </switches>
        <sharedListeners>
            <add name="FileLog"
                 type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" 
                 initializeData="FileLogWriter"/>
            <!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
            <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
        </sharedListeners>
    </system.diagnostics>
</configuration>

Download NetstairBackopy here -->NetstairBackopy.zip

Add Feedback