You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/backup/pre-backup-post-backup-scripts.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
title: Using Pre-Backup and Post-Backup Scripts
3
3
description: This article contains the procedure to specify pre-backup and post-backup scripts. Azure Backup Server (MABS).
4
4
ms.topic: how-to
5
-
ms.date: 07/30/2024
5
+
ms.date: 07/16/2025
6
6
author: jyothisuri
7
7
ms.author: jsuri
8
8
# Customer intent: As a system administrator, I want to configure pre-backup and post-backup scripts in the backup environment, so that I can automate data preparation and post-processing tasks for better backup efficiency and data management.
To specify pre-backup and post-backup scripts, follow these steps:
47
49
48
50
1. On the protected computer, open the ScriptingConfig.xml file with an XML or text editor.
49
51
@@ -58,9 +60,15 @@ To specify pre-backup and post-backup scripts
58
60
1. In the _PreBackupCommandLine_ tag, enter command-line parameters to be passed to the scripts, separated by spaces.
59
61
1. In the _PostBackupScript_ tag, enter the path and script name.
60
62
1. In the _PostBackupCommandLine_ tag, enter command-line parameters to be passed to the scripts, separated by spaces.
61
-
1. In the _TimeOut_ tag, enter the amount of time in minutes that MABS should wait after invoking a script before timing out and marking the script as failed.
63
+
1. In the `TimeOut` tag, enter the amount of time in minutes that MABS should wait after invoking a script before timing out and marking the script as failed.
62
64
63
65
1. Save the ScriptingConfig.xml file.
64
66
65
67
>[!Note]
66
68
>MABS will suffix an additional Boolean (true/false) parameter to the post-backup script command, indicating the status of the MABS backup job.
69
+
70
+
71
+
## Related content
72
+
73
+
-[About Azure Backup Server (MABS)](mabs-overview.md).
74
+
-[Back up file data with MABS](back-up-file-data.md).
0 commit comments