Skip to content

Commit

Permalink
Add warning for migrating from S3 to other storage (#436)
Browse files Browse the repository at this point in the history
* Add warning for migrating from S3 to other storage

* Update migrate.md

* Update multiple_storage_backends.md
  • Loading branch information
killing authored Jan 7, 2025
1 parent da60ec3 commit c9358e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manual/deploy_pro/migrate.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Data migration takes 3 steps:
3. Run final migration
4. Replace the original seafile.conf

**Note**: Since version 11, when you migrate from S3 to other storage servers, you have to use V4 authentication protocol. This is because version 11 upgrades to Boto3 library, which fails to list objects from S3 when it's configured to use V2 authentication protocol.

## Create a new temporary seafile.conf

We need to add new backend configurations to this file (including `[block_backend]`, `[commit_object_backend]`, `[fs_object_backend]` options) and save it under a readable path.
Expand Down
2 changes: 2 additions & 0 deletions manual/deploy_pro/multiple_storage_backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ Then you can add option `for_new_library` to the backends which are expected to

## Multiple Storage Backend Data Migration

**Note**: Since version 11, when you migrate from S3 to other storage servers, you have to use V4 authentication protocol. This is because version 11 upgrades to Boto3 library, which fails to list objects from S3 when it's configured to use V2 authentication protocol.

Run the `migrate-repo.sh` script to migrate library data between different storage backends.

```
Expand Down

0 comments on commit c9358e9

Please sign in to comment.