From 1045a21fd5c62dfec6d83afdd2c621fb0a8f46ea Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 16 Apr 2023 23:38:02 +0200 Subject: Fixed VACUUM INTO sqlite3 commands across various articles --- content/blog/freebsd/going-social-2.md | 2 +- content/blog/miscellaneous/sqlite-backups.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'content/blog') 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" ``` -- cgit v1.2.3