Skip to content

Commit b63d8a5

Browse files
authored
Merge pull request #3680 from luixxiul/fix
Update docs/configuring-playbook-s3-goofys.md
2 parents 65db73e + 1c0ba91 commit b63d8a5

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

docs/configuring-playbook-s3-goofys.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,13 @@ If you have local media store files and wish to migrate to Backblaze B2 subseque
3434
3535
It's a good idea to [make a complete server backup](faq.md#how-do-i-backup-the-data-on-my-server) before migrating your local media store to an S3-backed one.
3636
37-
Follow one of the guides below for a migration path from a locally-stored media store to one stored on S3-compatible storage:
37+
After making the backup, follow one of the guides below for a migration path from a locally-stored media store to one stored on S3-compatible storage:
3838
39-
- [Storing Matrix media files on Amazon S3 with Goofys (optional)](#storing-matrix-media-files-on-amazon-s3-with-goofys-optional)
40-
- [Usage](#usage)
41-
- [Migrating from local filesystem storage to S3](#migrating-from-local-filesystem-storage-to-s3)
42-
- [Migrating to any S3-compatible storage (universal, but likely slow)](#migrating-to-any-s3-compatible-storage-universal-but-likely-slow)
43-
- [Migrating to Backblaze B2](#migrating-to-backblaze-b2)
39+
- [Migrating to any S3-compatible storage (universal, but likely slow)](#migrating-to-any-s3-compatible-storage-universal-but-likely-slow)
40+
- [Migrating to Backblaze B2](#migrating-to-backblaze-b2)
4441
4542
### Migrating to any S3-compatible storage (universal, but likely slow)
4643
47-
It's a good idea to [make a complete server backup](faq.md#how-do-i-backup-the-data-on-my-server) before doing this.
48-
4944
1. Proceed with the steps below without stopping Matrix services
5045
5146
2. Start by adding the base S3 configuration in your `vars.yml` file (seen above, may be different depending on the S3 provider of your choice)
@@ -72,7 +67,7 @@ It's a good idea to [make a complete server backup](faq.md#how-do-i-backup-the-d
7267

7368
7. Start the S3 service by running this **on the server**: `systemctl start matrix-goofys`
7469

75-
8. Sync the files again by re-running the `rsync` command you see in step #6
70+
8. Sync the files again by re-running the `rsync` command you see in step #5
7671

7772
9. Stop the S3 service by running this **on the server**: `systemctl stop matrix-goofys`
7873

@@ -93,8 +88,6 @@ It's a good idea to [make a complete server backup](faq.md#how-do-i-backup-the-d
9388

9489
### Migrating to Backblaze B2
9590

96-
It's a good idea to [make a complete server backup](faq.md#how-do-i-backup-the-data-on-my-server) before doing this.
97-
9891
1. While all Matrix services are running, run the following command on the server:
9992

10093
(you need to adjust the 3 `--env` line below with your own data)
@@ -126,7 +119,7 @@ It's a good idea to [make a complete server backup](faq.md#how-do-i-backup-the-d
126119
mv /matrix/synapse/storage/media-store /matrix/synapse/storage/media-store-local-backup
127120
```
128121

129-
5. Put the [Backblaze B2 settings seen above](#backblaze-b2) in your `vars.yml` file
122+
5. Put the [Backblaze B2 settings](configuring-playbook-s3.md#backblaze-b2) in your `vars.yml` file
130123

131124
6. Run the playbook: `ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start`
132125

0 commit comments

Comments
 (0)