Skip to content

Commit

Permalink
draft of note for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dwicinas authored and nidhibhammar committed Jul 29, 2024
1 parent ce26a3d commit 9898273
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ To configure EDB Postgres Advanced Server to enable compression and expiration o
1. To enable compression of log files, set the parameter `edb_audit_archiver_compress_size_limit` and `edb_audit_archiver_compress_time_limit` to the values you want.
1. To enable expiration of log files, set the parameter `edb_audit_archiver_expire_size_limit` and `edb_audit_archiver_expire_time_limit` to the values you want.
1. To enable both compression and expiration, set the parameters `edb_audit_archiver_compress_size_limit`, `edb_audit_archiver_compress_time_limit`, `edb_audit_archiver_expire_size_limit`, `edb_audit_archiver_expire_time_limit`, and `edb_audit_archiver_expire_command` to the values you want.
!!! Note
On Windows, the value you provide for `edb_audit_archiver_expire_command` must include the command prompt used to run the `copy` command. For example, you could enter the following command:

```
edb_audit_archiver_expire_command = 'cmd.exe copy "%p" "C:\Program Files\edb\as14\data"'
```
In this example, you could replace `cmd.exe` with any other command prompt, such as `powershell.exe` for the Windows PowerShell.

The following is an example of the configuration parameter settings in the `postgresql.conf` file.

Expand Down

0 comments on commit 9898273

Please sign in to comment.