This commit is contained in:
@@ -12,6 +12,7 @@ These values can all be specified as an environment variable or as a command lin
|
||||
|
||||
- [AYANOVA_FOLDER_BACKUP_FILES](ops-config-folder-backup-files.md)
|
||||
- [AYANOVA_FOLDER_USER_FILES](ops-config-folder-user-files.md)
|
||||
- [AYANOVA_FOLDER_TEMPORARY_SERVER_FILES](ops-config-folder-temporary-files.md)
|
||||
|
||||
## BACKUP UTILITY "pg_dump" PATH
|
||||
- [AYANOVA_BACKUP_PG_DUMP_PATH](ops-config-backup-pgdump-path.md)
|
||||
@@ -31,8 +32,7 @@ These values can all be specified as an environment variable or as a command lin
|
||||
|
||||
- [AYANOVA_JWT_SECRET](ops-config-jwt-secret.md)
|
||||
- [AYANOVA_USE_URLS](ops-config-use-urls.md)
|
||||
- [AYANOVA_FOLDER_USER_FILES](ops-config-folder-user-files.md)
|
||||
- [AYANOVA_FOLDER_BACKUP_FILES](ops-config-folder-backup-files.md)
|
||||
|
||||
|
||||
## SECURITY
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
# BACKUP FILES FOLDER SETTING
|
||||
|
||||
This setting controls where AyaNova stores backup and restore files used by the backup and restore features built into AyaNova.
|
||||
In addition this folder is used when importing from an AyaNova 7 export file.
|
||||
|
||||
Warning: this folder MUST NOT be the same location set for [AYANOVA_FOLDER_USER_FILES](ops-config-folder-user-files.md) or AyaNova will not start.
|
||||
Warning: this folder MUST NOT be the same location set for [AYANOVA_FOLDER_USER_FILES](ops-config-folder-user-files.md) or [AYANOVA_FOLDER_TEMPORARY_SERVER_FILES](ops-config-folder-temporary-files.md) or AyaNova will not start.
|
||||
|
||||
## Default
|
||||
|
||||
|
||||
34
docs/8.0/ayanova/docs/ops-config-folder-temporary-files.md
Normal file
34
docs/8.0/ayanova/docs/ops-config-folder-temporary-files.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# TEMPORARY SERVER FILES FOLDER SETTING
|
||||
|
||||
This setting controls where AyaNova stores files temporarily while servicing requests such as report generation etc.
|
||||
|
||||
Warning: this folder MUST NOT be the same location set for [AYANOVA_FOLDER_USER_FILES](ops-config-folder-user-files.md) or [AYANOVA_FOLDER_BACKUP_FILES](ops-config-folder-backup-files.md) or AyaNova will not start.
|
||||
|
||||
## Default
|
||||
|
||||
If no override is specified AyaNova will store temporary files in a `tempfiles` folder in the AyaNova root folder where AyaNova is started from.
|
||||
|
||||
## Overriding
|
||||
|
||||
AyaNova expects the temporary files folder path to be provided by an environment variable or command line parameter named
|
||||
|
||||
`AYANOVA_FOLDER_TEMPORARY_SERVER_FILES`
|
||||
|
||||
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
||||
`c:\data\ayanova\tempfiles`
|
||||
|
||||
Example command line parameter
|
||||
|
||||
`dotnet run --AYANOVA_FOLDER_TEMPORARY_SERVER_FILES="/var/lib/ayanova/tempfiles"`
|
||||
|
||||
Example environment variable
|
||||
|
||||
Windows
|
||||
|
||||
`set "AYANOVA_FOLDER_TEMPORARY_SERVER_FILES=c:\data\ayanova\tempfiles"`
|
||||
|
||||
Linux / MAC
|
||||
|
||||
`export AYANOVA_FOLDER_TEMPORARY_SERVER_FILES="/var/lib/ayanova/tempfiles"`
|
||||
|
||||
If both a command line parameter and an environment variable are set the command line parameter takes precedence.
|
||||
@@ -3,7 +3,7 @@
|
||||
This setting controls where AyaNova stores user uploaded files used by features that allow file attachment or uploads.
|
||||
AyaNova stores these files with random names in the folder specified.
|
||||
|
||||
Warning: this folder MUST NOT be the same location set for [AYANOVA_FOLDER_BACKUP_FILES](ops-config-folder-backup-files.md) or AyaNova will not start.
|
||||
Warning: this folder MUST NOT be the same location set for [AYANOVA_FOLDER_BACKUP_FILES](ops-config-folder-backup-files.md) or [AYANOVA_FOLDER_TEMPORARY_SERVER_FILES](ops-config-folder-temporary-files.md) or AyaNova will not start.
|
||||
|
||||
## Default
|
||||
|
||||
|
||||
@@ -114,6 +114,7 @@ nav:
|
||||
- 'Translation / Language': 'ops-config-default-translation.md'
|
||||
- 'Backup files folder': 'ops-config-folder-backup-files.md'
|
||||
- 'User files folder': 'ops-config-folder-user-files.md'
|
||||
- 'Server temporary files folder': 'ops-config-folder-temporary-files.md'
|
||||
- 'Database configuration': 'ops-config-db.md'
|
||||
- 'PORT and URL configuration': 'ops-config-use-urls.md'
|
||||
- 'Environment variable reference': 'ops-config-environment-variables.md'
|
||||
|
||||
Reference in New Issue
Block a user