mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-18 08:21:05 +00:00
[docs] Add missing --config-path arg in backup documentation (#3607)
This commit is contained in:
parent
f72e753a21
commit
4fbe06e332
|
@ -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.
|
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
|
```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 \
|
/path/to/media-to-borg-patterns.py \
|
||||||
<storage-local-base-path>
|
<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
|
```ini
|
||||||
[Service]
|
[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:
|
Documentation that's good to review:
|
||||||
|
|
Loading…
Reference in a new issue