mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Updated Backup (markdown)
parent
02e022c571
commit
bc80a06704
1 changed files with 9 additions and 4 deletions
13
Backup.md
13
Backup.md
|
|
@ -101,7 +101,10 @@ makesRestore()
|
|||
|
||||
printf "\nThe database restore is in progress.\n\n"
|
||||
|
||||
$restore --quiet --drop --noIndexRestore -d wekan --port 27019 "${file}/dump/wekan"
|
||||
## Only if you get errors about existing indexes, use this below instead:
|
||||
## $restore --quiet --drop --noIndexRestore -d wekan --port 27019 "${file}/dump/wekan"
|
||||
|
||||
$restore --quiet --drop -d wekan --port 27019 "${file}/dump/wekan"
|
||||
|
||||
rm -rf "${file}"
|
||||
|
||||
|
|
@ -196,7 +199,9 @@ makesRestore()
|
|||
|
||||
# Restores.
|
||||
printf "\nThe database restore is in progress.\n\n"
|
||||
$restore --drop --noIndexRestore wekan --port 27019 $file/dump/wekan
|
||||
## Only if you get errors about existing indexes, use this below instead:
|
||||
## $restore --drop --noIndexRestore wekan --port 27019 $file/dump/wekan
|
||||
$restore --drop wekan --port 27019 $file/dump/wekan
|
||||
printf "\nRestore done.\n"
|
||||
|
||||
# Cleanups
|
||||
|
|
@ -433,11 +438,11 @@ http://example.com https://example.com {
|
|||
load /var/snap/wekan/common/certificates
|
||||
alpn http/1.1
|
||||
}
|
||||
root /var/snap/wekan/common/rantapuisto
|
||||
root /var/snap/wekan/common/example.com
|
||||
browse
|
||||
}
|
||||
|
||||
static.example.com {
|
||||
root /var/snap/wekan/common/hydesoft.fi
|
||||
root /var/snap/wekan/common/static.example.com
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue