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/azure-netapp-files/azacsnap-cmd-ref-backup.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: azure-netapp-files
5
5
author: Phil-Jensen
6
6
ms.service: azure-netapp-files
7
7
ms.topic: reference
8
-
ms.date: 07/29/2022
8
+
ms.date: 05/15/2024
9
9
ms.author: phjensen
10
10
---
11
11
@@ -15,9 +15,9 @@ This article provides a guide for running the backup command of the Azure Applic
15
15
16
16
## Introduction
17
17
18
-
A storage snapshot based backup is run using the `azacsnap -c backup` command. This command performs the orchestration of a database consistent storage snapshot on the DATA volumes, and a storage snapshot (without any database consistency setup) on the OTHER volumes.
18
+
A storage snapshot based backup is run using the `azacsnap -c backup` command. This command performs the orchestration of a database consistent storage snapshot on the DATA volumes, and a storage snapshot (without any database consistency setup) on the OTHER volumes.
19
19
20
-
For DATA volumes `azacsnap`will prepare the database for a storage snapshot, then it will take the storage snapshot for all configured volumes, finally it will advise the database the snapshot is complete. It will also manage any database entries which record snapshot backup activity (e.g. SAP HANA backup catalog).
20
+
For DATA volumes `azacsnap`prepares the database for a storage snapshot, then it takes a storage snapshot for all configured volumes, finally it tells the database the snapshot is complete. It also manages any database entries which record snapshot backup activity (for example, SAP HANA backup catalog).
21
21
22
22
## Command options
23
23
@@ -27,36 +27,36 @@ The `-c backup` command takes the following arguments:
27
27
-`data` snapshots the volumes within the `dataVolume` stanza of the configuration file.
28
28
1.**data** Volume Snapshot process
29
29
1. put the database into *backup-mode*.
30
-
1. take snapshots of the Volume(s) listed in the configuration file's `"dataVolume"` stanza.
30
+
1. take snapshots of the Volumes listed in the configuration file's `"dataVolume"` stanza.
31
31
1. take the database out of *backup-mode*.
32
32
1. perform snapshot management.
33
33
-`other` snapshots the volumes within the `otherVolume` stanza of the configuration file.
34
34
1.**other** Volume Snapshot process
35
-
1. take snapshots of the Volume(s) listed in the configuration file's `"otherVolume"` stanza.
35
+
1. take snapshots of the Volumes listed in the configuration file's `"otherVolume"` stanza.
36
36
1. perform snapshot management.
37
-
-`all` snapshots all the volumes in the `dataVolume` stanza and then all the volumes in the `otherVolume` stanza of the configuration file. The
37
+
-`all` snapshots all the volumes in the `dataVolume` stanza and then all the volumes in the `otherVolume` stanza of the configuration file. The
38
38
processing is handled in the order outlined as follows:
39
39
1.**all** Volumes Snapshot process
40
40
1.**data** Volume Snapshot (same as the normal `--volume data` option)
41
41
1. put the database into *backup-mode*.
42
-
1. take snapshots of the Volume(s) listed in the configuration file's `"dataVolume"` stanza.
42
+
1. take snapshots of the Volumes listed in the configuration file's `"dataVolume"` stanza.
43
43
1. take the database out of *backup-mode*.
44
44
1. perform snapshot management.
45
45
1.**other** Volume Snapshot (same as the normal `--volume other` option)
46
-
1. take snapshots of the Volume(s) listed in the configuration file's `"otherVolume"` stanza.
46
+
1. take snapshots of the Volumes listed in the configuration file's `"otherVolume"` stanza.
47
47
1. perform snapshot management.
48
48
49
49
> [!NOTE]
50
50
> By creating a separate config file with the boot volume as the otherVolume, it's possible for `boot` snapshots to be taken on an entirely different schedule (for example, daily).
51
51
52
-
-`--prefix=` the customer snapshot prefix for the snapshot name. This parameter has two purposes. Firstly purpose is to provide a unique name for grouping of snapshots. Secondly to determine the `--retention` number of storage snapshots that are kept for the specified `--prefix`.
52
+
-`--prefix=` the customer snapshot prefix for the snapshot name. This parameter has two purposes. Firstly provide a unique name for grouping of snapshots. Secondly to determine the `--retention` number of storage snapshots that are kept for the specified `--prefix`.
53
53
54
54
> [!IMPORTANT]
55
55
> Only alpha numeric ("A-Z,a-z,0-9"), underscore ("_") and dash ("-") characters are allowed.
56
56
57
-
-`--retention` the number of snapshots of the defined `--prefix` to be kept. Any additional snapshots are removed after a new snapshot is taken for this `--prefix`.
57
+
-`--retention` the number of snapshots of the defined `--prefix` to be kept. Any extra snapshots are removed after a new snapshot is taken for this `--prefix`.
58
58
59
-
-`--trim` available for SAP HANA v2 and later, this option maintains the backup catalog and on disk catalog and log backups. The number of entries to keep in the backup catalog is determined by the `--retention` option above, and deletes older entries for the defined prefix (`--prefix`) from the backup catalog, and the related physical logs backup. It also deletes any log backup entries that are older than the oldest non-log backup entry. This operations helps to prevent the log backups from using up all available disk space.
59
+
-`--trim` available for SAP HANA v2 and later, this option maintains the backup catalog and on disk catalog and log backups. The number of entries to keep in the backup catalog is determined by the `--retention` option above, and deletes older entries for the defined prefix (`--prefix`) from the backup catalog, and the related physical logs backup. It also deletes any log backup entries that are older than the oldest non-log backup entry. This `--trim` operation helps to prevent the log backups from using up all available disk space.
60
60
61
61
> [!NOTE]
62
62
> The following example command will keep 9 storage snapshots and ensure the backup catalog is continuously trimmed to match the 9 storage snapshots being retained.
@@ -68,7 +68,7 @@ The `-c backup` command takes the following arguments:
68
68
- `[--ssl=]` an optional parameter that defines the encryption method used to communicate
69
69
with SAP HANA, either `openssl` or `commoncrypto`. If defined, then the `azacsnap -c backup`
70
70
command expects to find two files in the same directory, these files must be named after
71
-
the corresponding SID. Refer to [Using SSL for communication with SAP HANA](azacsnap-installation.md#using-ssl-for-communication-with-sap-hana). The following example takes a `hana`type snapshot with a prefix of `hana_TEST` and will keep`9` of them communicating with SAP HANA using SSL (`openssl`).
71
+
the corresponding SID. Refer to [Using SSL for communication with SAP HANA](azacsnap-configure-database.md#using-ssl-for-communication-with-sap-hana). The following example takes a `hana`type snapshot with a prefix of `hana_TEST` and keeps`9` of them communicating with SAP HANA using SSL (`openssl`).
> For Azure Large Instance, the configuration file volume parameter for the boot volume might not be visible at the host operating system level.
164
164
> This value can be provided by Microsoft Operations.
165
165
166
-
The commanddoes not output to the console, but does write to a log file only. It does _not_ write
166
+
The commanddoesn't output to the console, but does write to a log file only. It does _not_ write
167
167
to a result file or `/var/log/messages`.
168
168
169
-
In this example the *log file* name is `azacsnap-backup-bootVol.log` (see [Log files](#log-files)).
169
+
In this example, the *log file* name is `azacsnap-backup-bootVol.log` (see [Log files](#log-files)).
170
170
171
171
## Log files
172
172
173
-
The log file name is constructed from the following "(command name)-(the `-c` option)-(the config filename)". For example, if running the command`azacsnap -c backup --configfile h80.json --retention 5 --prefix one-off`then the log file will be called `azacsnap-backup-h80.log`. Or if using the `-c test` option with the same configuration file (e.g. `azacsnap -c test --configfile h80.json`) then the log file will be called `azacsnap-test-h80.log`.
173
+
The log file name is constructed from the following "(command name)-(the `-c` option)-(the config filename)". For example, if running the command `azacsnap -c backup --configfile h80.json --retention 5 --prefix one-off` then the log file is called `azacsnap-backup-h80.log`. Or if using the `-c test` option with the same configuration file (e.g. `azacsnap -c test --configfile h80.json`) then the log file is called `azacsnap-test-h80.log`.
174
174
175
175
> [!NOTE]
176
176
> Log files can be automatically maintained using [this guide](azacsnap-tips.md#manage-azacsnap-log-files).
Copy file name to clipboardExpand all lines: articles/azure-netapp-files/azacsnap-cmd-ref-test.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: azure-netapp-files
5
5
author: Phil-Jensen
6
6
ms.service: azure-netapp-files
7
7
ms.topic: reference
8
-
ms.date: 08/04/2021
8
+
ms.date: 05/15/2024
9
9
ms.author: phjensen
10
10
---
11
11
@@ -39,7 +39,7 @@ For SSL, this command can take the following optional argument:
39
39
-`--ssl=` forces an encrypted connection with the database and defines the encryption
40
40
method used to communicate with SAP HANA, either `openssl` or `commoncrypto`. If defined,
41
41
then this command expects to find two files in the same directory, these files must be
42
-
named after the corresponding SID. Refer to [Using SSL for communication with SAP HANA](azacsnap-installation.md#using-ssl-for-communication-with-sap-hana).
42
+
named after the corresponding SID. Refer to [Using SSL for communication with SAP HANA](azacsnap-configure-database.md#using-ssl-for-communication-with-sap-hana).
43
43
44
44
### Output of the `azacsnap -c test --test hana` command
0 commit comments