Fixed VACUUM INTO sqlite3 commands across various articles
This commit is contained in:
parent
b5715473e6
commit
1045a21fd5
3 changed files with 3 additions and 3 deletions
|
@ -200,7 +200,7 @@ Backups are configured with borg on my host `lore.adyxax.org` and stored on `yen
|
||||||
- { name: gotosocial-data, path: "/jails/fedi/root/home/fedi/storage" }
|
- { name: gotosocial-data, path: "/jails/fedi/root/home/fedi/storage" }
|
||||||
- name: gotosocial-db
|
- name: gotosocial-db
|
||||||
path: "/tmp/gotosocial.db"
|
path: "/tmp/gotosocial.db"
|
||||||
pre_command: "echo 'VACUUM INTO \"/tmp/gotosocial.db\"'|sqlite3 /jails/fedi/root/home/fedi/sqlite.db"
|
pre_command: "echo \"VACUUM INTO '/tmp/gotosocial.db'\"|sqlite3 /jails/fedi/root/home/fedi/sqlite.db"
|
||||||
post_command: "rm -f /tmp/gotosocial.db"
|
post_command: "rm -f /tmp/gotosocial.db"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ If by chance you are using my [borg ansible role]({{< ref "docs/adyxax.org/backu
|
||||||
```
|
```
|
||||||
- name: srv-short-db
|
- name: srv-short-db
|
||||||
path: "/tmp/short.db"
|
path: "/tmp/short.db"
|
||||||
pre_command: "echo 'VACUUM INTO \"/tmp/short.db\"'|sqlite3 /srv/short-data/short.db"
|
pre_command: "echo \"VACUUM INTO '/tmp/short.db'\"|sqlite3 /srv/short-data/short.db"
|
||||||
post_command: "rm -f /tmp/short.db"
|
post_command: "rm -f /tmp/short.db"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,6 @@ There is only on jobs :
|
||||||
```yaml
|
```yaml
|
||||||
- name: ktistec-db
|
- name: ktistec-db
|
||||||
path: "/tmp/ktistec.db"
|
path: "/tmp/ktistec.db"
|
||||||
pre_command: "echo 'VACUUM INTO \"/tmp/ktistec.db\"'|sqlite3 /srv/ktistec-db/ktistec.db"
|
pre_command: "echo \"VACUUM INTO '/tmp/ktistec.db'\"|sqlite3 /srv/ktistec-db/ktistec.db"
|
||||||
post_command: "rm -f /tmp/ktistec.db"
|
post_command: "rm -f /tmp/ktistec.db"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue