diff options
Diffstat (limited to 'content/blog')
-rw-r--r-- | content/blog/freebsd/going-social-2.md | 2 | ||||
-rw-r--r-- | content/blog/miscellaneous/sqlite-backups.md | 2 |
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" ``` |