forked from 3wordchant/capsul-flask
document how to take a Db snapshot
This commit is contained in:
parent
e9d6230c69
commit
5892b48867
10
README.md
10
README.md
@ -56,15 +56,9 @@ Run the app in gunicorn:
|
||||
pipenv run gunicorn --bind 127.0.0.1:5000 app:app
|
||||
```
|
||||
|
||||
## how to view the logs on the deployed system
|
||||
## how to view the logs on the database server (legion.cyberia.club)
|
||||
|
||||
application logs:
|
||||
|
||||
`journalctl -u capsul-flask --since -1w`
|
||||
|
||||
scheduled task logs:
|
||||
|
||||
`tail -n100 /var/log/capsul-flask.log`
|
||||
`sudo -u postgres pg_dump capsul-flask | gzip -9 > capsul-backup-2021-02-15.gz`
|
||||
|
||||
-----
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user