This commit is contained in:
2023-02-10 16:19:30 +00:00
parent 8a69e97673
commit 458e9ad6c7
7 changed files with 23 additions and 8 deletions

View File

@@ -101,7 +101,7 @@ The PostgreSQL utility pg_restore is used to restore the `.backup` file containi
The command format is:
`pg_restore -U postgres -c [PATH_TO_THE_AYANOVA_BACKUP_FILE_TO_BE_RESTORED.backup]`
Run the restore command from the console substituting your backup file path in the examples below:
Run the restore command from a command prompt substituting your backup file path in the examples below:
Windows server:
@@ -116,6 +116,14 @@ Windows self contained "single" user installation:
"C:/Program Files/ayanova/local-postgres/bin/pg_restore" -U postgres -c -d AyaNova "C:\temp\db-20211212195504569.backup"
```
Windows Powershell terminal with quoted path:
Powershell needs an ampersand character at the start of a quoted path to a command to correctly interpret the input as a command:
```bat
& "C:/Program Files/ayanova/local-postgres/bin/pg_restore" -U postgres -c -d AyaNova "C:\temp\db-20211212195504569.backup"
```
Linux server:
The database backup file must be placed in a location that the 'postgres' user has permission to read from.
@@ -141,7 +149,7 @@ Repeat the Linux server installation instruction step [Set ownership and permiss
AyaNova can be re-started at this point, for server type installations restart through the IIS 'site' in Windows or the Service in Linux.
If using the desktop single Windows installation, stop the PostgreSQL started in the earlier restore step by typing `ctrl-c` in the PostgreSQL console window then start AyaNova from the desktop launcher as normally.
If using the desktop single Windows installation, stop the PostgreSQL started in the earlier restore step by typing `ctrl-c` in the PostgreSQL window then start AyaNova from the desktop launcher as normally.
### Verify the data

View File

@@ -7,7 +7,7 @@ theme:
site_name: AyaNova manual
site_dir: '../../../server/AyaNova/wwwroot/docs'
strict: true
copyright: Copyright © 2023 Ground Zero Tech-Works Inc. REV-2023-01-27
copyright: Copyright © 2023 Ground Zero Tech-Works Inc. REV-2023-02-10
extra:
generator: false
# Extensions