summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar STFN <stfndev@protonmail.com>2024-12-09 11:40:33 +0100
committerLibravatar GitHub <noreply@github.com>2024-12-09 11:40:33 +0100
commit4fbe06e332976e12d2a9a97264452c5627f39fe5 (patch)
tree9b189f5104bfe21393435030529b51fe53e333b0
parent[chore]: Bump golang.org/x/image from 0.22.0 to 0.23.0 (#3608) (diff)
downloadgotosocial-4fbe06e332976e12d2a9a97264452c5627f39fe5.tar.xz
[docs] Add missing --config-path arg in backup documentation (#3607)
-rw-r--r--docs/admin/backup_and_restore.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/admin/backup_and_restore.md b/docs/admin/backup_and_restore.md
index 9ad430bbe..83059c9e6 100644
--- a/docs/admin/backup_and_restore.md
+++ b/docs/admin/backup_and_restore.md
@@ -186,7 +186,7 @@ You'll need to put that file on your GoToSocial instance and make sure the file
For this to work reliably, you should ensure that the [storage-local-base-path](../configuration/storage.md) in your GoToSocial configuration uses an absolute path. Otherwise you'll have to tweak the paths yourself.
```sh
-$ gotosocial admin media list-attachments --local-only | \
+$ gotosocial --config-path /path/to/config.yaml admin media list-attachments --local-only | \
/path/to/media-to-borg-patterns.py \
<storage-local-base-path>
```
@@ -210,7 +210,7 @@ If you're running Borgmatic as a systemd service, you can [create a drop-in](htt
```ini
[Service]
-ExecStartPre=/path/to/gotosocial admin media list-attachments --local-only | /path/to/media-to-borg-patterns.py <storage-local-base-path> /etc/borgmatic/gotosocial_patterns
+ExecStartPre=/path/to/gotosocial --config-path /path/to/config.yaml admin media list-attachments --local-only | /path/to/media-to-borg-patterns.py <storage-local-base-path> /etc/borgmatic/gotosocial_patterns
```
Documentation that's good to review: