The Advanced tab is used to configure a number of advanced backup settings.
On this tab, you can use the following elements:
Limit maximum backup time This option limits the maximum backup session time.
Limit maximum DC backup time This option limits the maximum backup session time for a single DC.
Run Scripts This option allows you to customize your environment by running PowerShell scripts before and/or after creating a backup. Custom scripts can be launched either on the Recovery Manager for Active Directory Console machine or on the domain controller side.
Diagnostic Logging Specify the logging setting for the Recovery Manager and Backup Agents for all domain controllers in the collection.
Run Scripts
In the Run PowerShell Scripts dialog, the following options can be specified:
Run the script before starting the backup - Launches specified PowerShell scripts before the backup creation process is started.
Stop the backup if the script fails - Stops the backup process if the script cannot be run without errors.
Run the script after backup creation is complete - Launches specified PowerShell scripts after backup is created.
Mark the backup as unsuccessful if the script fails - If the script fails, the backup process will be shown as failed with error in the RMAD console.
Upload Script - Using this option you can upload an existing PowerShell script file (.ps1). After the script is uploaded, the contents of the script will be displayed in the dialog and you can edit it if necessary.
Select Account - Here you can select an account under which the scripts will be running. For the "Console scripts", by default, the account under which the console is launched will be used. For the "DC scripts", there is no default value, and the user has to select an account. Otherwise, the settings will not be saved.
NOTE |
If the script is run on a domain controller, we strongly recommend using an account with the minimum rights required only to perform the actions specified in the script. |
NOTE |
The "Console scripts" are launched only once for each run of backup creation on the console machine. The "DC scripts" are run on each DC for which the backup is created. If the "script for DC" fails, the corresponding DC will have an error or warning. If the "console script" fails, then all DCs for which the backup process was started will have an error or warning. |
Recovery Manager for Active Directory provides an option to set the maximum timeout during which a script can run (the default value is 60 seconds). To change this value, set the HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Quest\Recovery Manager for Active Directory\Options\ScriptExecTimeoutInSeconds (DWORD) registry key to <required value>.
Failed script can lead to both Warning and Error results. It depends on the specified settings:
Option Name | Scenario 1 | Scenario 2 | Scenario 3 | Scenario 4 |
---|---|---|---|---|
Run the script before starting the backup | ✔ | ✔ | ||
Stop the backup if the script fails | ✖ | ✔ | ||
Run the script after backup creation is complete | ✔ | ✔ | ||
Mark the backup as unsuccessful if the script fails | ✖ | ✔ | ||
Result | Warning | Error | Warning | Error |
Running scripts can be dangerous - especially on a domain controller. Recovery Manager includes the following security measures for scripts:
Diagnostic logging Specify the logging setting for the Recovery Manager and Backup Agents for all domain controllers in the collection.
The following options are available:
Global settings - Use the default logging settings from the Recovery Manager Console root node: Recovery Manager for Active Directory->Settings…>Logging.
Enable - If you select this option, extended logging will be enabled for all domain controllers within the collection during the backup operation.
Disable - If you select this option, the log will contain only Warnings and Error messages.
The log files will be created in the %ProgramData%\Quest\Recovery Manager for Active Directory\Logs folder:
Agent side (domain controller): ErdAgent.log
Recovery Console: ErdServer.log
This tab allows you to override the global (or default) settings used to automatically unpack backups for all Computer Collections.
On this tab, you can use the following elements:
Use global settings. Specifies to use the global settings to automatically unpack each backup upon its creation.
Unpack each backup upon its creation. Allows you to configure settings specific to the Computer Collection to automatically unpack each backup upon its creation. In this option, you can specify the number of recent backup creation sessions from which you want to keep unpacked backups for each domain in the Computer Collection or select the domain controllers you need. Other backups created for the Computer Collection will be automatically deleted.
Do not unpack backups. Specifies not to unpack backups created for the Computer Collection.
For more information on managing unpacked backups, see Unpacking backups.
© ALL RIGHTS RESERVED. Feedback 이용 약관 개인정보 보호정책 Cookie Preference Center