projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18cfac8
)
Fix "things went wrong" documentation
author
Chocobozzz
<me@florianbigard.com>
Thu, 8 Feb 2018 08:37:18 +0000
(09:37 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 8 Feb 2018 08:52:57 +0000
(09:52 +0100)
support/doc/production.md
patch
|
blob
|
history
diff --git
a/support/doc/production.md
b/support/doc/production.md
index a10ccea3f7d39a8fa671a37dec13d86c2c1294ca..734f44d74d0ce7057732b93eee072d7d0703fff1 100644
(file)
--- a/
support/doc/production.md
+++ b/
support/doc/production.md
@@
-316,6
+316,6
@@
Change `peertube-latest` destination to the previous version and restore your SQ
$ OLD_VERSION="v0.42.42" && SQL_BACKUP_PATH="backup/sql-peertube_prod-2018-01-19T10:18+01:00.bak" && \
cd /var/www/peertube && rm ./peertube-latest && \
sudo -u peertube ln -s "versions/peertube-$OLD_VERSION" peertube-latest && \
- pg_restore -U peertube -c -d peertube_prod "$SQL_BACKUP_PATH"
+ pg_restore -U peertube -
W -h localhost -
c -d peertube_prod "$SQL_BACKUP_PATH"
sudo systemctl restart peertube
```