Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space KNOW and version 7.2
Info

The Macrium Reflect default settings allow you to set the default values used when creating a new backup definition.

 

  1. To edit default settings from the main toolbar click the 'Cog' icon as shown below.
     
  2. Select the area you want to amend.
  3. When you are happy with your selections click OK

              
Note

To change existing definition, right click on the definition and select 'Advanced Properties'. 

 

Table of Contents
maxLevel2

Default Backup settings

Anchor
0-0
0-0
Compression is used to reduce the file size of the completed backup.

Info

These options set the defaults for a new backup.

  • Three levels of compression can be chosen, the higher the compression level the smaller the backup file will be:

 

Note

Reducing the file size may increase the total backup time.


Compression allows you to chose an Intelligent sector copy or a Forensic copy of the partitions.

OptionDescription
Intelligent Sector Copy

Only backup the sectors that are being used by data on the disk. Pagefile (pagefile.sys) and hibernation (hiberfil.sys) will also be excluded.

Note

This reduces the time it takes for the backup to complete.

Forensic Copy

Backup every sector.

 


Anchor
0-1
0-1

File size options are used to select between automatic or fixed file size for an image. 

Info

These options set the defaults for a new backup.

 

 

Note

Incremental Retention Rules will not be run if backup files are split. This can be caused by setting a fixed size or if the destination file system is FAT32.

OptionDescription

Automatic (Recommended)

Let the system decide on how large the images are going to be created dependent on file system (NTFS, FAT32, DVD, CD)

Info

e.g FAT32 files are limited to 4GB therefore images are going to be split into 4GB or less files. 

Fixed file sizeCreate Images that will be split into many fixed size files. This is useful when copying Image files to CD/DVDs.

 

 

Anchor
0-2
0-2

Password option is used to enable password protection. 

Info

These options set the defaults for a new backup.

  • With the Password option turned on all the images created will require a password before they can be browsed or restored.

 

Note

Enter password text $PROMPT$ to specify a password at backup time.

 

  • AES Encryption levels can be chosen when adding a password:


Info

AES 256 bit encryption is the highest level of encryption available.

OptionDescription
Enable password protectionEnables protection of your image files.
Encrypt stored passwordsPasswords saved in your backup definition will be encrypted.

 

Anchor
0-3
0-3

Auto Verify Image allows automatic verification of images after they are created. 

Info

These options set the defaults for a new backup.

 

Note

This can add a significant amount of time to the backup process.

OptionDescription
Verify imageImages will be verified automatically when the backup completes.
Info
For more information on image verification please see Understanding Image Verification Failures


Anchor
0-9
0-9

Verify File System is used to check the integrity of the file system before a backup. 

Info

These options set the defaults for a new backup.

 

  • Reflect will automatically verify the integrity of the file system being backed up.
    For FAT32 and NTFS this means checking that all files and folders have their data entries correctly mapped to the file allocation table (FAT) or MFT Bitmap (NTFS). 

 

OptionDescription
Verify file system before backupVerify the file system on your disk prior to the backup; this will increase the time taken to complete your backup.
Backup without verifying the file systemBackup without verifying, thus making your backup a little quicker.

 

Anchor
0-25
0-25
Priority is used to change the CPU priority for images and backups.
 

 

OptionDescription
HighestYour backup will take less time to complete and may slow down other applications.
LowestYour backup may take longer to complete but it will have less effect on other running applications.

 

Anchor
0-27
0-27

Log file purge option enables you to manage the retention of your backup logs.
 

 

OptionDescription
Remove log filesChoose number of days of weeks
Move to Recycle Bin

Deleted logs will be moved to the Recycle Bin.

Perform at startupLogs will be deleted when Reflect starts up.
Info

You can press the Remove Now button to remove the logs manually at any time.

 

Anchor
0-28
0-28

Retention Rules are used to define how long you want to keep different backup types (Incremental, Differential and Full). 

Info

These options set the defaults for a new backup.

 

Include Page
_Retention Rules
_Retention Rules

 

Anchor
0-29
0-29

Cloning 

Info

These options set the defaults for a new clone.

 

 

 

OptionDescription
Perform an Intelligent Sector Copy

Only backup the sectors that are being used by data on the disk. Pagefile (pagefile.sys) and hibernation (hiberfil.sys) will also be excluded.

Note

This reduces the time it takes for the clone to complete.

OptionDescription
Verify File SystemReflect will verify the integrity of your file system; Verification check that all files and folders data entries are correctly mapped to the file allocation table (FAT) or MFT Bitmap (NTFS)

Rapid Delta Clone

Include Page
_Rapid_Delta_Clone_(RDC)
_Rapid_Delta_Clone_(RDC)

Enable SSD TRIM
Include Page
_SSD_Trim_Support
_SSD_Trim_Support
Perform a Forensic Sector Copy

Backup every sector.

Note

This can add a significant amount of time to the backup process.

 

Anchor
0-30
0-30

Reparse Points options are used to include or exclude Reparse Points from a backup.

Info

These options set the defaults for a new backup.

 

  • Reparse points are a feature of the NTFS file system that provides the ability to create a link to a directories which then fictions as an alias of that directory.

 

Info

e.g. Reparse point is the folder "Documents and Settings" which when followed points (or expands) to a number of other folders. If followed then all folders the reparse point "contents" will be included in the backup.


The options below define whether reparse points are followed or whether reparse point definitions are backed up:

OptionDescription
System Reparse Points
Do not followOnly backup the Reparse Definitions (Recommended)
FollowBackup all the Reparse Points
User Reparse Points
Do not followBackup the Reparse Definitions
Follow Backup all the Reparse Points (Recommended)

 

Anchor
0-31
0-31

Backup Set Matching options sets rules for retention that is going to be applied to your backup sets. 

 

  • The options below define the logic used for appending to an existing backup set and how retention rules are applied when selecting 'Apply retention rules to matching backup sets in the target folder' in the backup wizard.
OptionDescription
Similar - Match on backups with at least one matching folderAdd and remove folders in your backup definition and still maintain a single backup set.

Strict - Match on backups with the same folders and filters

(As Macrium Reflect v5)

Retention rules will only be applied to exact matched backup sets.
All - Matching on any backupRetention rules will be applied to all File and Folder backups.

 

Anchor
0-32
0-32

Shutdown sets whether the computer should be shutdown after a backup task has completed.

Info

These options set the defaults for a new backup.

 

 

OptionDescription
Shutdown

This will Shutdown your computer after the backup is complete.

Note

A sub-option can be enabled to Force the shutdown process - All programs will be forced to close without being queried.

HibernateThis will Hibernate your computer after the backup is complete
SuspendThis will put your computer to Sleep after the backup is complete.

 

Default Restore settings

Anchor
5-4
5-4

Rapid Delta Restore will only restore the changed data blocks and not the whole backup file. 

Info

These options set the defaults for a new backup.

 

 

Note

Enabling Rapid Delta Restore decreases the time it will take to restore a backup. Only NTFS file systems that are not shrunk can be restored this way.

Info

To find out more about RDR please click here

 

Anchor
5-5
5-5

SSD Trim option enables SSD TRIM on restore. 

Info

These options set the defaults for a restore.

 

  • When a partition is restored, Reflect can flag all unused blocks using the TRIM operation.
    Writing to an unused block is much quicker than an in-use block as it avoids both the slow erase operation and the read-modify-write cycle. This results an increase of both the lifetime and the performance of the device. 
    It is effective for all Windows operating systems, even those that support SSD trim as the file system driver can only TRIM blocks on de-allocation; it cannot TRIM blocks written by another process. It is also effective for USB attached SSDs.                                          

                                                                                                                                                                          

Anchor
5-6
5-6

Verify Image
option verifies images before restoring. 

Info

These options set the defaults for a restore.

 

 

OptionDescription
No Thank YouReflect will not verify your images before the Restore process.
Yes PleaseReflect will verify your images before the Restore process.
Note

The verification process will ask you to insert / locate any missing media when required.

 

Anchor
5-7
5-7

Master Boot Record 
options select whether to recover and replace the Master boot record from the backup. 

Info

These options set the defaults for a restore.

 

  • Master Boot Record is a small program that executes when the computer starts up. If this program has become corrupt, perhaps due to a virus, then you may have problems starting the computers operating system.


Each backup contains a copy of the Master Boot Record that can be recovered by selecting the second option below:

OptionDescription
Do not replaceOriginal MBR will be kept without replacing it with the MBR contained in the backup image.
ReplaceMBR is replaced with the MBR from the the backup image.

Anchor
7-8
7-8
Update Settings

Update options establish rules for updating Reflect.

OptionDescription
Enable automatic check for updates

Chose when Reflect checks for updates.


 

Disable automatic update checkReflect will not check for updates automatically; updates will need to be manually checked for by using the update button.
Automatically restart Reflect after patchingReflect will automatically restart once the update has been downloaded and installed.

 

Scripts

Anchor
8-12
8-12
VBScript Logging options enable file logging in the same directory as your script file. 

Info

These options set the defaults for a script.

  • If enabled, the log file created will contain the same output as the Backup Wizard when your image or backup is running.
    The log file name will be left unique and based on the date and time of your image or backup.

 

Anchor
8-13
8-13

VBScript Shutdown
 option sets whether the PC should shutdown or log off at the end of the script. 

Info

These options set the defaults for a script.

Info
This could be used when creating a backup as the last job of the day.
Expand
titleGenerated code...
Code Block
languagevb
' Issue shutdown command

    objShell.Run "shutdown -s"
OptionDescription
Shut Down

Your PC will shutdown after the script has been ran.

Log Off

Your PC will Log Off after the script has been ran.



Anchor
8-14
8-14
VBScript Run Once A Day option executes a script the first time you logon, logoff or shutdown. 

Info

These options set the defaults for a script.

Expand
titleGenerated code...
Code Block
languagevb
' The following function call ensures that this script only runs once a day
    If HasRunToday Then 
        WScript.Quit
    End If

...........

'******************************************************************************
'* Function: HasRunToday
'*
'* Purpose:  determines if this script has run today
'*
'*
'* Input:    None
'* Output:   true if has run today false otherwise
'*
'******************************************************************************
Function HasRunToday
    Dim RegScriptKey
    Dim LastRunDate
    Dim objShell
 
    Set objShell = WScript.CreateObject("WScript.Shell")
    RegScriptKey = "HKCU\SOFTWARE\Macrium\Reflect\Scripts\" & WScript.ScriptFullName & "\LastRun"
    'Check if script has run today
    ON ERROR RESUME NEXT
    LastRunDate = objShell.RegRead(RegScriptKey)
    If LastRunDate =  cstr(Date) Then
          HasRunToday = true
    Else 
         objShell.RegWrite RegScriptKey, Date,"REG_SZ"
         HasRunToday  = false
    End If
    Set objShell = nothing
End Function
OptionDescription
Run once a day

The script will run only once a day.

Info

This is useful if you want a backup to happen at first login or shutdown.

 

Anchor
8-15
8-15
VBScript Run Programs selects programs or scripts to run at the start or end of the script. 

Info

These options set the defaults for a script.

Expand
titleGenerated code...
Code Block
languagevb
' Run program before backup
    objShell.Run """C:\Users\Public\Admin\Before backup.bat""", 1, true
' Do the backup
    ExitCode = Backup ("""C:\Program Files\Macrium\Reflect\reflect.exe"" -e -w <BACKUP_TYPE> ""C:\Users\Dev\Documents\Reflect\example.xml""")
' Run program after backup
    objShell.Run """C:\users\public\Admin\After backup.exe""", 1, true
OptionDescription
File name

Write the path and executable file name that you wish to run at the start of the script.

ParametersInclude optional command line parameters for the program.
File nameWrite the path and executable file name that you wish to run at the end of the script.
ParametersInclude optional command line parameters for the program.


Anchor
8-16
8-16

VBScript Elevation is used for Vista and later, to run all programs with elevated privileges.

Info

These options set the defaults for a script.

Expand
titleGenerated code...
Code Block
languagevb
Sub VBMain()
    Dim objShell 
    Dim ExitCode
' Elevate this script for Admin privileges in Vista
    Elevate

.................


'******************************************************************************
'* Sub:     Elevate
'*
'* Purpose: Elevates this script for Vista UAC.
'*          This means that only one UAC Elevation prompt is displayed and
'*          functions/programs will not fail if they require admin privileges
'*
'* Input:   None
'* Output:  None
'*
'******************************************************************************
Sub Elevate
    Dim ShellApp
    Dim objShell 
    Dim objWshProcessEnv
    ' Don't elevate if run from Windows Task Scheduler
    If WScript.Arguments.Count > 0 Then 
        If WScript.Arguments.Item(0) = "-s" then
              Exit Sub
        End If
    End If
    Set objShell = WScript.CreateObject("WScript.Shell")
    Set objWshProcessEnv = objShell.Environment("PROCESS")
    If objWshProcessEnv("ELEVATED_APP") <> "True" Then
        objWshProcessEnv("ELEVATED_APP") = "True"
        Set ShellApp = CreateObject("Shell.Application") 
        Call ShellApp.ShellExecute("""" &  WScript.FullName  & """", """" & WScript.ScriptFullName & """" & " " & GetBackupTypeParameter,  , "runas")
        set ShellApp = nothing
        Set objWshProcessEnv = nothing
        wscript.quit 
    End If
    Set objWshProcessEnv = nothing
    Set objShell = nothing
End Sub 
Note

The return code from these scripts will always be zero. If you are running these scripts from the scheduler then this option is not necessary. The scheduler will elevate the script at startup.

 

 

OptionDescription
Enable Elevation

Enables UAC elevation for the entire script.

Info

This enables functions and programs to run outside the context of Macrium Reflect without requesting further elevation.




Anchor
8-17
8-17

VBScript Duplicate
 option creates a copy of the backup to a chosen directory when the backup completes

Info

These options set the defaults for a script.

 

Expand
titleGenerated code...
Code Block
languagevb
    SynchroniseDirectories ExitCode, "C:\C++"
................


'******************************************************************************
'* Function: RobocopyExists
'*
'* Purpose:  determines whether the program Robocopy can be called from the
'*           command line.
'*
'* Input:    None
'* Output:   boolean - true if Robocopy exists
'*
'******************************************************************************
Function RobocopyExists()
    On Error Resume Next
    Dim objShell
    Dim objExec
    Set objShell = WScript.CreateObject("WScript.Shell")
    Set objExec = objShell.Exec ("robocopy.exe", 0)

    If Err.Number = 0 Then
        RobocopyExists = True
    Else
        RobocopyExists = False
    End If
End Function


'******************************************************************************
'* Function: SynchroniseDirectories
'*
'* Purpose:  Copies all files created by the previous backup / image
'*           to a supplied directory. Uses Macrium environment variables to
'*           determine which files to copy. 
'*
'* Input:    ExitCode - The exit code of the last backup
'*           strBackupDirectory - Directory to copy to
'*
'******************************************************************************
Function SynchroniseDirectories(Byval ExitCode, Byval strSyncDirectory)
    Dim objShell
    Dim objWshProcessEnv
    Dim strEnvPrefix
    Dim strBackupDirectory
    Dim strCmdLine
    Dim iReturnCode    
    Dim fs
    Dim objSyncFiles
    Dim objBackupDirectory
    Dim objSyncDirectory
    Dim objBackupFile
    Dim objSyncFile
    Dim strExtension
    Dim dateBackupFile
    Dim dateSyncFile

' Only copy files if backup was successful 
    if ExitCode <> 0 Then
        Exit Function
    End If

    Set objShell         = WScript.CreateObject("WScript.Shell")
    Set objWshProcessEnv = objShell.Environment("VOLATILE")

' Get the prefix for the last backup set
    strEnvPrefix = objWshProcessEnv("MACRIUM_PREFIX")
    
' Get the directory where we just created a backup
    strBackupDirectory = objWshProcessEnv(strEnvPrefix + "_DIRECTORY")

    If right(strBackupDirectory, 1) = "\" Then strBackupDirectory = left(strBackupDirectory, len(strBackupDirectory)-1)
    If right(strSyncDirectory, 1)   = "\" Then strSyncDirectory   = left(strSyncDirectory, len(strSyncDirectory)-1)

    If RobocopyExists Then
        strCmdLine = "robocopy ""<SOURCE>"" ""<DESTINATION>"" *.mr* /copy:DAT /lev:0 /purge /r:0"
    Else
    ' Robocopy does not exist - using xcopy
        Set fs = CreateObject("Scripting.FilesystemObject")
        Set objBackupDirectory = fs.GetFolder(strBackupDirectory)
        Set objSyncDirectory = fs.GetFolder(strSyncDirectory)

        For Each objSyncFile in objSyncDirectory.Files
            strExtension = fs.GetExtensionName(objSyncFile)
            dateSyncFile = objSyncFile.DateLastModified
            If Left(strExtension,2) = "mr" Then
            ' Check if file has been deleted
                If Not(fs.FileExists(strBackupDirectory+"\"+objSyncFile.name)) Then
                    fs.DeleteFile(objSyncFile)
                Else
                ' Check if file has been modified
                    Set objBackupFile = fs.GetFile(strBackupDirectory+"\"+objSyncFile.name)
                    dateBackupFile = objBackupFile.DateLastModified
                    If DateDiff("m", dateBackupFile, dateSyncFile) <> 0 Then
                        fs.DeleteFile(objSyncFile)
                    End If
                End If
            End If
        Next

        strCmdLine = "xcopy ""<SOURCE>\*.mr*"" ""<DESTINATION>"" /c /d /h /i /v /y"
    End If

    strCmdLine = Replace(strCmdLine,"<SOURCE>", strBackupDirectory)
    strCmdLine = Replace(strCmdLine,"<DESTINATION>", strSyncDirectory)
    iReturnCode = objShell.Run(strCmdLine,0,true)

    if iReturnCode <> 0 then
' Handle synchronisation error
    else
' Everything OK
    end if

' Clean up
    Set objShell         = nothing
    Set objWshProcessEnv = nothing
End Function

OptionDescription
Enable file copyIf enabled the backup will create a copy of the files from the backup to the supplied destination.
DirectoryHere you will need to enter the folder that you want to copy/archive your backup files to.


Note

Please note that the synchronization will delete files in the target directory that do not exist in the backup directory.

 

Anchor
8-18
8-18

Powershell Logging 
options enable file logging in the same directory as your script file. 

Info

These options set the defaults for a script.

  • If enabled, the log file created will contain the same output as the Backup Wizard when your image or backup is running.
    The log file name will be left unique and based on the date and time of your image or backup.

 

Anchor
8-19
8-19

Powershell Shutdown option sets whether the PC should shutdown or log off at the end of the script. 

Info

These options set the defaults for a script.

Expand
titleGenerated code...
Code Block
languagepowershell
  Write-Host ' * Initiating shutdown... ' -NoNewLine;
  (Get-WMIObject Win32_OperatingSystem -ComputerName '.' -EnableAllPrivileges).Win32Shutdown(8);
OptionDescription
Shut Down

Your PC will shutdown after the script has been ran.

Log Off

Your PC will Log Off after the script has been ran.

 

Anchor
8-20
8-20

Powershell Run Once A Day option executes a script the first time you logon, logoff or shutdown. 

Info

These options set the defaults for a script.

Expand
titleGenerated code...
Code Block
languagepowershell
  if (HasRunToday)
  {
    Write-Host ' * Script already executed today. Exiting...';
    Write-Host 'Script finished with exit code 0.';
    Exit 0;
  }

................... 

#******************************************************************************
#* Func: HasRunToday
#*
#* Desc: determines if this script has run today
#*
#******************************************************************************
function HasRunToday()
{
    Write-Host ' * Checking last run time... ' -NoNewLine;
    $strRegPath    = 'HKCU:\Software\Macrium\Reflect\Scripts';
    $boolRanToday  = $false;
    $strDateToday  = Get-Date -UFormat %Y%m%d;
    if (Test-Path $strRegPath)
    {
        try
        {
            $strLastRunDate = (Get-ItemProperty -Path $strRegPath -Name $strScriptPath -ErrorAction Stop).$strScriptPath
            if ($strLastRunDate -eq $strDateToday)
            {
                $boolRanToday = $true;
            }
        } catch { };
    }
    if (!$boolRanToday)
    {
        Set-ItemProperty -Path $strRegPath -Name $strScriptPath -Value $strDateToday;
    }
    Write-Host 'Done.';
    return $boolRanToday;
}
       
OptionDescription
Run once a day

The script will run only once a day.

Info

This is useful if you want a backup to happen at first login or shutdown.

 

Anchor
8-21
8-21

Powershell Run Programs selects programs or scripts to run at the start or end of the script. 

Info

These options set the defaults for a script.

Expand
titleGenerated code...
Code Block
languagepowershell
  Write-Host ' * Executing "at start" program... ' -NoNewLine;
  $strRunAtStartApp  = 'C:\Users\Public\Admin\Before backup.bat';
  $strRunAtStartArgs = '';
  if ([string]::IsNullOrEmpty($strRunAtStartArgs))
  {
    Start-Process -FilePath $strRunAtStartApp;
  }
  else
  {
    Start-Process -FilePath $strRunAtStartApp -ArgumentList $strRunAtStartArgs;
  }

......

  Write-Host ' * Executing "at end" program... ' -NoNewLine;
  $strRunAtEndApp  = 'C:\Users\Public\Admin\After backup.exe';
  $strRunAtEndArgs = '';
  if ([string]::IsNullOrEmpty($strRunAtEndArgs))
  {
    Start-Process -FilePath $strRunAtEndApp;
  }
  else
  {
    Start-Process -FilePath $strRunAtEndApp -ArgumentList $strRunAtEndArgs;
  }


OptionDescription
File name

Write the path and executable file name that you wish to run at the start of the script.

ParametersInclude optional command line parameters for the program.
File nameWrite the path and executable file name that you wish to run at the end of the script.
ParametersInclude optional command line parameters for the program.


Anchor
8-22
8-22

Powershell Elevation  is used for Vista and later, to run all programs with elevated privileges.

Info

These options set the defaults for a script.

Expand
titleGenerated code...
Code Block
languagepowershell
function Main()
{
  Write-Host 'PowerShell script for Macrium Reflect Backup Definition File';
  Write-Host "BDF: $strXmlFilePath";
  Elevate;

.................


#******************************************************************************
#* Func: Elevate
#*
#* Desc: Elevates this script for UAC.
#*       This means that only one UAC Elevation prompt is displayed and
#*       functions/programs will not fail if they require admin privileges.
#*
#******************************************************************************
function Elevate()
{
  # Only elevate if not ran from the task scheduler.
  Write-Host ' * Checking elevated access rights... ' -NoNewLine;
  if (-Not $s)
  {
    # Check to see if we are currently running "as Administrator"
    if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]"Administrator"))
    {
      $ElevatedProcess = new-object System.Diagnostics.ProcessStartInfo "PowerShell";
      # Specify the current script path and name as a parameter
      $strType = GetBackupTypeParameter;
      $ElevatedProcess.Arguments = "-ExecutionPolicy Bypass & '" + $script:MyInvocation.MyCommand.Path + "' $strType";
      # Indicate that the process should be elevated
      $ElevatedProcess.Verb = "runas";
      # Start the new process
      [System.Diagnostics.Process]::Start($ElevatedProcess);
      # Exit this unelevated script with exit code for "Error: Not elevated"
      Exit 3;
    }
  }
  Write-Host 'Done.';
}
Note

The return code from these scripts will always be zero. If you are running these scripts from the scheduler then this option is not necessary. The scheduler will elevate the script at startup.


OptionDescription
Enable Elevation

Enables UAC elevation for the entire script.

Info

This enables functions and programs to run outside the context of Macrium Reflect without requesting further elevation.


Anchor
8-23
8-23

Powershell Duplicate option creates a copy of the backup to a chosen directory when the backup completes.

Info

These options set the defaults for a script.

Expand
titleGenerated code...
Code Block
languagepowershell
  
  if ($iExitCode -eq 0) # if backup completed successfully...
  {
    $strBackupDir = GetLastBackupPath;
    if (![string]::IsNullOrEmpty($strBackupDir))
    {
      SynchroniseDirectories $strBackupDir 'D:\Archive';
    }
  }

................

#******************************************************************************
#* Func: SynchroniseDirectories
#*
#* Desc: Copies all Macrium Reflect files to a supplied directory.
#*
#******************************************************************************
function SynchroniseDirectories($strSrcDir, $strDstDir)
{
  Write-Host ' * Synchronising directories... ' -NoNewLine;
  if (Get-Command robocopy -ErrorAction SilentlyContinue)
  {
    # robocopy is available...
    # /copy:DAT - D:Data
    #             A:Attributes
    #             T:Time stamps
    # /purge    - deletes destination files and directories that no longer 
    #               exist in the source
    # /lev:0    - Does not copy subdirectories
    &robocopy $strSrcDir $strDstDir *.mr* /copy:DAT /lev:0 /purge /r:0 | Out-Null
  }
  else
  {
    # Fall back to xcopy...
    
    # Delete files from the target directory not present in the source directory
    $strDstDirChildren = $strDstDir+"\*";
    Get-ChildItem $strDstDirChildren -include "*.mr*" | Foreach-Object {
      $strMaybeDeletedSrcFile = $strSrcDir + '\' + $_.Name;
      if (-not (Test-Path $strMaybeDeletedSrcFile))
      {
        Remove-Item $_
      }
      else 
      {
        $SrcFileTime = [datetime](Get-ItemProperty -Path $strMaybeDeletedSrcFile -Name LastWriteTime).lastwritetime;
        $DstFileTime = [datetime](Get-ItemProperty -Path $_.FullName             -Name LastWriteTime).lastwritetime;
        $SrcFileTimeString = $SrcFileTime.ToString("yyyMMddHHmmss")
        $DstFileTimeString = $DstFileTime.ToString("yyyMMddHHmmss")
        if ($SrcFileTimeString -ne $DstFileTimeString)
        {
          Remove-Item $_
        }
      }
    }
    # /c - Continues copying even if errors occur.
    # /d - Date check; only copies if file does not exist or is older.
    # /h - Copies hidden and system files.
    # /i - If the destination does not exist, and you are copying more than one
    #        file, this switch assumes that the destination is a folder.
    # /v - Verifies each new file.
    # /y - Overwrites existing files without prompting.
    &xcopy $strSrcDir\*.mr* $strDstDir /c /d /h /i /v /y | Out-Null
  }
  Write-Host 'Done.';
}
OptionDescription
Enable file copyIf enabled the backup will create a copy of the files from the backup to the supplied destination.
DirectoryHere you will need to enter the folder that you want to copy/archive your backup files to.
Note

Please note that the synchronization will delete files in the target directory that do not exist in the backup directory.


Anchor
3-24
3-24
Network Settings

Include Page
Network logon credentials
Network logon credentials

Email Settings

  • For many users, email notification of success or failure of a backup helps them keep on top of the status of their backups, particularly with scheduled backups which take place in the background.  

Include Page
_Email_Defaults
_Email_Defaults

Anchor
2-36
2-36
Events

Enable or disable Windows Events generated by Macrium Reflect.

Anchor
4-11
4-11

Advanced

Editor settings are used to amend the default editor settings for; VBScript files, Powershell script files, MS-DOS batch and XML.

 

Anchor
4-37
4-37

Advanced Backup Options are used to modify your backup options.

 

OptionDescription
Enable file write cachingIs useful if experiencing slow or failed backups.
Ignore bad sectors when creating images.Damaged disks may still be imaged if this option is selected.
Display backup notification delay for set number of seconds.Changes the time delay windows is displayed before a scheduled backup starts.
Disable CD/DVD drive enumerationThis option is useful if experiencing system lockup issues.
Do not abort a file and folder backup if a root folder is missing.Enabling this option will allow your File and Folder backup to continue even if a root folder of the backup is missing.
Enforce an entered image or File and Folder backup file name.Normally, if you run an Incremental or Differential image of say drive 'C', the target folder is searched for a recent backup set for the same source (Drive 'C'). The backup set is then appended to. The file name you have chosen for the backup will not be used in this matching process. 

If you enter your own file name and select "Enforce entered image or file and folder backup file name" then only backup sets using the same file name and for the same source will be appended to, if none is found then a new full will be created. 
Create a CD Engine log file Turning this option on allows reflect to create additional logs that can be used for troubleshooting created CD/DVD Rescue Media.
 
Report transfer rates.

Will allow you to change the way transfer rates are reported in.

 

 

Anchor
4-38
4-38
Advanced Incremental options are used for enabling Delta Indexes for Incremental backups



  • Enabling Delta indexes will reduce incremental file size and can increase the speed of merging Incremental backups during Synthetic Full and Incremental consolidation.
    Additionally, all previous files in the backup set, up to the previous Diff or Full, are required to continue to append to the set.

 

Note

If this option enabled then the image Index for each incremental is calculated when the file is opened. This may increase the time required to mount an Incremental backup in Windows Explorer.

 

For information on Changed Block Tracker please see here

 

Anchor
4-39
4-39
Destination Drive Discovery options change the way your destination drive is being discovered if the destination is a local drive.

 

 

Note

Changing the option affects new backup definitions. To apply to an existing backup definition, the definition XML file needs to be opened and re-saved by clicking 'Finish'.

OptionDescription
Use the assigned drive letter to locate the backup drive (default)The drive letter in the destination path is used exclusively to locate the backup target path.
Multiple backup drives can be be used in rotation if Windows assigns the same drive letter for each drive. 
Use the unique volume identifier to locate the backup driveThe unique volume identifier is associated with the backup drive is saved in the backup definition file and used to locate the destination path.
Windows will assign a different letter to the same dive and the new letter will be automatically chosen as the backup destination.

 

Anchor
4-40
4-40

VSS Options are used to set options for VSS

OptionDescription

Exclude all VSS writers to resolve specific snapshot failures.

This option will disable VSS writers. Due to Windows system configuration issues, VSS writers are the cause of some backup failures.

Note

This may cause issues with other VSS aware applications.

Automatically retry without VSS writers on failureReflect will try to create a backup of your system without using VSS; this option is useful when experiencing VSS related errors.

Create additional VSS logs for debugging.

Each backup will create additional VSS logs that can be used in order to troubleshoot VSS related issues when creating backups.

Exclude SQL Server writers.

Select this option if you are using dedicated SQL backup software. This will prevent SQL logs from being truncated when creating a Disk Image or File and folder backup.
Do not truncate Exchange logs when imaging or creating file and folder backups.Select this option if you are using dedicated MS Exchange backup software. This will prevent Exchange logs from being truncated when creating a Disk Images.

 

 

Anchor
4-41
4-41

Macrium Reflect PE Files options are used to select the drive where Macrium Reflect PE files will be stored.

  • If your system contains multiple drives you can choose on what Drive Macrium Reflect PE files are saved.