Skip to content

Commit b7747ae

Browse files
authored
Adding details on --flush option
1 parent fa5cc56 commit b7747ae

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

articles/azure-netapp-files/azacsnap-cmd-ref-backup.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-netapp-files
55
author: Phil-Jensen
66
ms.service: azure-netapp-files
77
ms.topic: reference
8-
ms.date: 05/15/2024
8+
ms.date: 07/02/2024
99
ms.author: phjensen
1010
---
1111

@@ -65,6 +65,20 @@ The `-c backup` command takes the following arguments:
6565
azacsnap -c backup --volume data --prefix hana_TEST --retention 9 --trim
6666
```
6767

68+
- `[--flush]` an option to request the operating system kernel to flush I/O buffers for volumes after the database is put into "*backup mode*". In prior versions we used the "mountpoint" values to indicate volumes to flush, with AzAcSnap 10 the `--flush` option will take care of it. Therefore this key/value ("mountpoint") can be removed from the configuration file.
69+
- On Windows volumes which are labelled as "Windows" or "Recovery", and are NTFS will not be flushed. You can also add "noflush" to the volume label and it will not be flushed.
70+
- On Linux all I/O is flushed using the Linux `sync` command.
71+
72+
Running the following example on the same host running the database will:
73+
1. Put the database into "*backup mode*".
74+
2. Request an operating system kernel flush of I/O buffers for local volumes (see operating system specific details).
75+
3. Take a storage snapshot.
76+
4. Release the database from "*backup mode*".
77+
78+
```bash
79+
azacsnap -c backup --volume data --prefix hana_TEST --retention 9 --trim --flush
80+
```
81+
6882
- `[--ssl=]` an optional parameter that defines the encryption method used to communicate
6983
with SAP HANA, either `openssl` or `commoncrypto`. If defined, then the `azacsnap -c backup`
7084
command expects to find two files in the same directory, these files must be named after

0 commit comments

Comments
 (0)