From e903aaf3286f78f14d3b09676fb10f3c4de09197 Mon Sep 17 00:00:00 2001 From: Xiangyue Cai Date: Wed, 21 Jul 2021 16:42:01 +0800 Subject: [PATCH] add migrate to local file system for single storage (#40) * add migrate to local file system for single storage * improve doc --- manual/deploy_pro/migrate.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/manual/deploy_pro/migrate.md b/manual/deploy_pro/migrate.md index b1dacf1c..b7079f92 100644 --- a/manual/deploy_pro/migrate.md +++ b/manual/deploy_pro/migrate.md @@ -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