aboutsummaryrefslogtreecommitdiff
path: root/content/blog
diff options
context:
space:
mode:
authorJulien Dessaux2023-04-16 23:38:02 +0200
committerJulien Dessaux2023-04-16 23:38:02 +0200
commit1045a21fd5c62dfec6d83afdd2c621fb0a8f46ea (patch)
tree47b0a093c09b75a9ea65fe575f454d7a48267823 /content/blog
parentAdded wireguard on kubernetes part 1 blog article (diff)
downloadwww-1045a21fd5c62dfec6d83afdd2c621fb0a8f46ea.tar.gz
www-1045a21fd5c62dfec6d83afdd2c621fb0a8f46ea.tar.bz2
www-1045a21fd5c62dfec6d83afdd2c621fb0a8f46ea.zip
Fixed VACUUM INTO sqlite3 commands across various articles
Diffstat (limited to '')
-rw-r--r--content/blog/freebsd/going-social-2.md2
-rw-r--r--content/blog/miscellaneous/sqlite-backups.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/content/blog/freebsd/going-social-2.md b/content/blog/freebsd/going-social-2.md
index 537dfa9..ed35c31 100644
--- a/content/blog/freebsd/going-social-2.md
+++ b/content/blog/freebsd/going-social-2.md
@@ -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-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"
```
diff --git a/content/blog/miscellaneous/sqlite-backups.md b/content/blog/miscellaneous/sqlite-backups.md
index 4cf9bae..48bdc82 100644
--- a/content/blog/miscellaneous/sqlite-backups.md
+++ b/content/blog/miscellaneous/sqlite-backups.md
@@ -27,7 +27,7 @@ If by chance you are using my [borg ansible role]({{< ref "docs/adyxax.org/backu
```
- name: srv-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"
```