case 4142
This commit is contained in:
@@ -46,27 +46,31 @@ Be sure to include the quotation marks exactly as written.
|
||||
|
||||
PostgreSQL will display `database system is ready to accept connections` indicating it's up and running and ready for restore. Do not stop PostgreSQL until directed to do so after restore below.
|
||||
|
||||
### Identify the attachments data folder location
|
||||
|
||||
Check the [server configuration](ops-config-environment-variables.md) and identify the location of the attachment files. There are two ways this can be specified, either directly through the [AYANOVA_ATTACHMENT_FILES_PATH](ops-config-folder-user-files.md) setting or indirectly through the [AYANOVA_DATA_PATH](ops-config-data-path.md) setting in which case the attachments folder will be found in a folder called `attachments` inside the folder specified by the AYANOVA_DATA_PATH setting.
|
||||
###
|
||||
|
||||
### Make a copy of the AyaNova server's data folder
|
||||
|
||||
If there is any existing data then a file system copy of any existing AyaNova server's [data folders](ops-config-data-path.md) to a safe location should be done first as a precaution.
|
||||
If there is any existing data then a file system copy of any existing AyaNova server's [data folders](ops-config-data-path.md) to a safe location should be done first as a precaution.
|
||||
|
||||
Restoring data will wipe out any existing data and mistakes can happen.
|
||||
|
||||
If you have used the default configuration all data will be stored in sub-folders under the single folder specified in the [AYANOVA_DATA_PATH](ops-config-data-path.md). If you have split them out into [individually specified locations](ops-config-data-path.md) then be sure to make copies of each of them before proceeding with restoration.
|
||||
|
||||
The location of these folders is also logged on server startup in the [server log](ops-log.md) and also can be viewed in the AyaNova user interface on the [server information](ops-server-information.md) page.
|
||||
|
||||
If you have used the default configuration all data will be stored in sub-folders under the single folder specified in the [AYANOVA_DATA_PATH](ops-config-data-path.md). If you have split them out into [individually specified locations](ops-config-data-path.md) then be sure to make copies of each of them before proceeding with restoration.
|
||||
|
||||
The location of these folders is also logged on server startup in the [server log](ops-log.md) and also can be viewed in the AyaNova user interface on the [server information](ops-server-information.md) page.
|
||||
|
||||
### Restore the attachments
|
||||
|
||||
- Note: you do not need to erase any other folders that may also be in the data folder such as logs, backup or temp, only the attachments folder contents need to be erased
|
||||
- Erase the current contents of the attachments folder identifed above, it must be completely empty before the next step
|
||||
- Unzip the contents of the attachements zip file into the attachments folder. There will be a lot of folders with single letter of digit names contained within each other, this is normal, you will not see recognizable file names here.
|
||||
1. Identify the attachments data folder location
|
||||
|
||||
Check the [server configuration](ops-config-environment-variables.md) and identify the location of the attachment files. There are two ways this can be specified, either directly through the [AYANOVA_ATTACHMENT_FILES_PATH](ops-config-folder-user-files.md) setting or indirectly through the [AYANOVA_DATA_PATH](ops-config-data-path.md) setting in which case the attachments folder will be found in a folder called `attachments` inside the folder specified by the AYANOVA_DATA_PATH setting.
|
||||
|
||||
2. Erase the current contents of the attachments folder identifed above, it must be completely empty before the next step
|
||||
|
||||
Note: you do not need to erase any other folders that may also be in the data folder such as logs, backup or temp, only the attachments folder contents need to be erased
|
||||
|
||||
3. Unzip the contents of the attachements zip file into the attachments folder.
|
||||
|
||||
There will be a lot of folders with single letter of digit names contained within each other, this is normal, you will not see recognizable file names here.
|
||||
|
||||
### Restore the database
|
||||
|
||||
|
||||
Reference in New Issue
Block a user