add migrate to local file system for single storage (#40)

* add migrate to local file system for single storage

* improve doc
This commit is contained in:
Xiangyue Cai 2021-07-21 16:42:01 +08:00 committed by GitHub
parent c587f0b0a4
commit e903aaf328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,31 @@ mv seafile.conf /opt
```
If you want to migrate to a local file system, the seafile.conf temporary configuration example is as follows:
```
cat > seafile.conf << EOF
[commit_object_backend]
name = fs
# the dir configuration is the new seafile-data path
dir = /var/data_backup
[fs_object_backend]
name = fs
# the dir configuration is the new seafile-data path
dir = /var/data_backup
[block_backend]
name = fs
# the dir configuration is the new seafile-data path
dir = /var/data_backup
EOF
mv seafile.conf /opt
```
Repalce the configurations with your own choice.
## Migrating large number of objects