Skip to content

Commit 5c713b2

Browse files
committed
(#39) xmpp2: standard operating procedures
1 parent 3500593 commit 5c713b2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

xmpp2/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,17 @@ How to Deploy
2222
If on Windows, feel free to use scripts `ansible-vault.ps1`, `ansible-playbook.ps1` as a substitute to use Ansible from WSL.
2323

2424
If running deployment for the first time, then run `ansible-playbook --ask-vault-pass auth.yml` to set up the user accounts and access properly.
25+
26+
Standard Operating Procedures
27+
-----------------------------
28+
29+
### Dump Database Backup for LogList
30+
```console
31+
$ docker exec -i loglist.postgresql pg_dump -d loglist -U postgres -F custom --no-acl > loglist.dmp
32+
```
33+
34+
### Restore Database Backup for LogList
35+
```console
36+
$ docker cp loglist.dmp loglist.postgresql:/loglist.dmp
37+
$ docker exec -i loglist.postgresql pg_restore -d loglist -U loglist --clean -1 /loglist.dmp
38+
```

0 commit comments

Comments
 (0)