Github user joewitt commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1460#discussion_r101202901
--- Diff: nifi-docs/src/main/asciidoc/administration-guide.adoc ---
@@ -1934,9 +1934,10 @@ The first section of the _nifi.properties_ file is
for the Core Properties. Thes
|nifi.version|The version number of the current release. If upgrading but
reusing this file, be sure to update this value.
|nifi.flow.configuration.file*|The location of the flow configuration file
(i.e., the file that contains what is currently displayed on the NiFi graph).
The default value is ./conf/flow.xml.gz.
|nifi.flow.configuration.archive.enabled*|Specifies whether NiFi creates a
backup copy of the flow automatically when the flow is updated. The default
value is _true_.
-|nifi.flow.configuration.archive.dir*|The location of the archive
directory where backup copies of the flow.xml are saved. The default value is
./conf/archive. NiFi removes old archive files to limit disk usage based on
file lifespan and total size, as specified with max.time and max.storage
properties below. However, this cleanup mechanism takes into account only
automatically created archived flow.xml files. That is, if there are other
files or directories in this archive directory, NiFi will ignore them.
Automatically created archives have filename with ISO 8601 format timestamp
prefix followed by '_<original-filename>'. That is
<year><month><day>T<hour><minute><second>+<timezone offset>_<original
filename>. For example, `20160706T160719+0900_flow.xml.gz`. NiFi checks
filenames when it cleans archive directory. If you would like to keep a
particular archive in this directory without worrying about NiFi deleting it,
you can do so by copying it with a different filename pattern
.
-|nifi.flow.configuration.archive.max.time*|The lifespan of archived
flow.xml files. NiFi will delete expired archive files when it updates
flow.xml. Expiration is determined based on current system time and the last
modified timestamp of an archived flow.xml. The default value is 30 days.
-|nifi.flow.configuration.archive.max.storage*|The total data size allowed
for the archived flow.xml files. NiFi will delete the oldest archive files
until the total archived file size becomes less than this configuration value.
The default value is 500 MB.
+|nifi.flow.configuration.archive.dir*|The location of the archive
directory where backup copies of the flow.xml are saved. The default value is
./conf/archive. NiFi removes old archive files to limit disk usage based on
file lifespan total size, and number of files, as specified with max.time,
max.storage and max.count properties described below. This cleanup mechanism
takes into account only automatically created archived flow.xml files. If there
are other files or directories in this archive directory, NiFi will ignore
them. Automatically created archives have filename with ISO 8601 format
timestamp prefix followed by '_<original-filename>'. That is
<year><month><day>T<hour><minute><second>+<timezone offset>_<original
filename>. For example, `20160706T160719+0900_flow.xml.gz`. NiFi checks
filenames when it cleans archive directory. If you would like to keep a
particular archive in this directory without worrying about NiFi deleting it,
you can do so by copying it with a differ
ent filename pattern.
--- End diff --
if you do agree we should provide sensible defaults we should add/indicate
them in here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---