This commit is contained in:
2021-12-12 23:23:36 +00:00
parent 97b7ca8d7e
commit 692df5a60c

View File

@@ -14,11 +14,14 @@ The restoration process will restore all data entered in AyaNova to the point in
## Restore steps
### In the case of a completely new server installation
### New AyaNova server installation
If this is a restoration to a new computer that doesn't have AyaNova installed and confirmed running; then the first step is to [install AyaNova](ops-install.md)
It must be started and confirmed to be operating correctly **before** proceeded to the next step to ensure it's working and also so it can create the AyaNova database in PostgreSQL server correctly so it can be restored to later. PostgreSQL restore process requires the database to be present before restoring over top of it.
It must be started and confirmed to be operating correctly **before** proceeded to the next step to ensure it's working and also so it can create the AyaNova database in PostgreSQL server correctly so it can be restored to later.
**PostgreSQL restore process requires the database to be present before restoring to it**
Once the AyaNova server is running and has created a database it must be shut down before proceeding.
@@ -40,7 +43,11 @@ If the default values were used during installation the command will be:
"C:/Program Files/ayanova/local-postgres/bin/postgres.exe" -D "C:/ProgramData/ayanova/database" -p 5432
```
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.
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
@@ -56,3 +63,12 @@ If there is any existing data then a file copy of the existing data folders to a
- 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
### Restart the server
#### Server installation
#### Windows "single" standalone installation
, keep it running until the restore has completed below then stop it with `ctrl-c` key strokes so AyaNova server can take control of it again later when restarted.