This tutorial show you how to migrate Seafile form Windows(using SQLite) to Linux.
First, you should Deploy Seafile with SQLite. And we assume that you deploy Seafile under /home/haiwen/
directory.
rm /home/haiwen/seahub_settings.py
rm /home/haiwen/seahub.db
rm -r /home/haiwen/seafile-data
cp /home/haiwen/ccnet/seafile.ini /home/haiwen/seafile.ini
rm -r /home/haiwen/ccnet
Note:
seafile.ini
is used to record the path toseafile-data
, we will use it later, so we just copy it out, not delete it.
-
copy file
seahub_settings.py
from Windows seafile-server to Linux/home/haiwen/
; -
copy file
seahub.db
from Windows seafile-server to Linux/home/haiwen/
; -
copy sub-directory
seafile-data
from Windows seafile-server to Linux/home/haiwen/
; -
copy sub-directory
ccnet
from Windows seafile-server to Linux/home/haiwen/
; -
copy
/home/haiwen/seafile.ini
to new Linux ccnet directory.
./seafile.sh start
./seahub.sh start