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/backup-azure-linux-app-consistent.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,14 @@ To configure Prescript and post-script, follow these steps:
33
33
34
34
4. To use the following files, ensure that you have the corresponding permissions:
35
35
36
-
-**VMSnapshotScriptPluginConfig.json**: Permission “600.” For example, only “root” user should have “read” and “write” permissions to this file, and no user should have “execute” permissions.
36
+
-**VMSnapshotScriptPluginConfig.json**: Permission **600**. For example, only **root** user should have **read** and **write** permissions to this file, and no user should have **execute** permissions.
37
37
38
-
-**Pre-script file**: Permission “700.” For example, only “root” user should have “read”, “write”, and “execute” permissions to this file. The file is expected to be a shell script but theoretically this script can internally spawn or refer to other scripts like a Python script.
38
+
-**Pre-script file**: Permission **700**. For example, only **root** user should have **read**, **write**, and **execute** permissions to this file. The file is expected to be a shell script but theoretically this script can internally spawn or refer to other scripts like a Python script.
39
39
40
-
-**Post-script** Permission “700.” For example, only “root” user should have “read”, “write”, and “execute” permissions to this file. The file is expected to be a shell script but theoretically this script can internally spawn or refer to other scripts like a Python script.
40
+
-**Post-script** Permission **700**. For example, only **root** user should have **read**, **write**, and **execute** permissions to this file. The file is expected to be a shell script but theoretically this script can internally spawn or refer to other scripts like a Python script.
41
41
42
42
> [!IMPORTANT]
43
-
> The framework gives users a lot of power. Secure the framework, and ensure only “root” user has access to critical JSON and script files.
43
+
> The framework gives users numerous power. Secure the framework, and ensure only **root** user has access to critical JSON and script files.
44
44
> If the requirements aren't met, the script won't run, which results in a file system crash and inconsistent backup.
45
45
>
46
46
@@ -59,7 +59,7 @@ To configure Prescript and post-script, follow these steps:
59
59
60
60
-**postScriptNoOfRetries**: Set the number of times the post-script should be retried if there's any error before terminating. Zero means only one try and no retry if there's a failure.
61
61
62
-
-**timeoutInSeconds**: Specify individual timeouts for the prescript and the post-script (maximum value can be 1800).
62
+
-**timeoutInSeconds**: Specify individual time-outs for the prescript and the post-script (maximum value can be 1800).
63
63
64
64
-**continueBackupOnFailure**: Set this value to **true** if you want Azure Backup to fall back to a file system consistent/crash consistent backup if prescript or post-script fails. Setting this to **false** fails the backup if there's a script failure (except when you have a single-disk VM that falls back to crash-consistent backup regardless of this setting). When the **continueBackupOnFailure** value is set to false, if the backup fails the backup operation will be attempted again based on a retry logic in service (for the stipulated number of attempts).
65
65
@@ -79,12 +79,12 @@ Make sure you add appropriate logging while writing your prescript and post-scri
79
79
|Post-ScriptExecutionFailed |The post-script returned an error that might impact application state. |Look at the failure logs for your script to fix the issue and check the application state. |
80
80
| Pre-ScriptNotFound |The prescript wasn't found at the location that's specified in the **VMSnapshotScriptPluginConfig.json** config file. |Make sure that prescript is present at the path that's specified in the config file to ensure application-consistent backup.|
81
81
| Post-ScriptNotFound |The post-script wasn't found at the location that's specified in the **VMSnapshotScriptPluginConfig.json** config file. |Make sure that post-script is present at the path that's specified in the config file to ensure application-consistent backup.|
82
-
| IncorrectPluginhostFile |The **Pluginhost** file, which comes with the VmSnapshotLinux extension, is corrupted, so prescript and post-script can't run and the backup won't be application-consistent.| Uninstall the **VmSnapshotLinux** extension, and it will automatically be reinstalled with the next backup to fix the problem. |
82
+
| IncorrectPluginhostFile |The `Pluginhost` file, which comes with the VmSnapshotLinux extension, is corrupted, so prescript and post-script can't run and the backup won't be application-consistent.| Uninstall the **VmSnapshotLinux** extension, and it will automatically be reinstalled with the next backup to fix the problem. |
83
83
| IncorrectJSONConfigFile | The **VMSnapshotScriptPluginConfig.json** file is incorrect, so prescript and post-script can't run and the backup won't be application-consistent. | Download the copy from [GitHub](https://github.com/MicrosoftAzureBackup/VMSnapshotPluginConfig) and configure it again. |
84
-
| InsufficientPermissionforPre-Script | For running scripts, "root" user should be the owner of the file and the file should have “700” permissions (that is, only "owner" should have “read”, “write”, and “execute” permissions). | Make sure “root” user is the “owner” of the script file and that only "owner" has “read”, “write” and “execute” permissions. |
85
-
| InsufficientPermissionforPost-Script | For running scripts, root user should be the owner of the file and the file should have “700” permissions (that is, only "owner" should have “read”, “write”, and “execute” permissions). | Make sure “root” user is the “owner” of the script file and that only "owner" has “read”, “write” and “execute” permissions. |
86
-
| Pre-ScriptTimeout | The execution of the application-consistent backup pre-script timed-out. | Check the script and increase the timeout in the **VMSnapshotScriptPluginConfig.json** file that's located at **/etc/azure**. |
87
-
| Post-ScriptTimeout | The execution of the application-consistent backup post-scripts timed out. | Check the script and increase the timeout in the **VMSnapshotScriptPluginConfig.json** file that's located at **/etc/azure**. |
84
+
| InsufficientPermissionforPre-Script | For running scripts, **root** user should be the owner of the file and the file should have **700** permissions (that is, only **owner** should have **read**, **write**, and **execute** permissions). | Make sure **root** user is the **owner** of the script file and that only **owner** has **read**, **write** and **execute** permissions. |
85
+
| InsufficientPermissionforPost-Script | For running scripts, root user should be the owner of the file and the file should have **700** permissions (that is, only **owner** should have **read**, **write**, and **execute** permissions). | Make sure **root** user is the **owner** of the script file and that only **owner** has **read**, **write** and **execute** permissions. |
86
+
| Pre-ScriptTimeout | The execution of the application-consistent backup pre-script timed-out. | Check the script and increase the time-out in the **VMSnapshotScriptPluginConfig.json** file that's located at **/etc/azure**. |
87
+
| Post-ScriptTimeout | The execution of the application-consistent backup post-scripts timed out. | Check the script and increase the time-out in the **VMSnapshotScriptPluginConfig.json** file that's located at **/etc/azure**. |
0 commit comments