Seafile Migration (Ubuntu): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 34: Zeile 34:
<pre>
<pre>
cd /opt/seafile/seafile-server-latest
cd /opt/seafile/seafile-server-latest
</pre>
<pre>
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 5.1.0
<pre>
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 6.0.0
</pre>
<pre>
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 6.1.0
</pre>
<pre>
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 6.2.0
</pre>
<pre>
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 6.3.0
</pre>
<pre>
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 7.0.0
</pre>
<pre>
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 7.1.0
</pre>
</pre>



Version vom 30. Juli 2020, 15:28 Uhr

Noch in Bearbeitung


Server stoppen

sudo systemctl stop seahub.service
sudo systemctl stop seafile.service

Datenbanken restoren

mysql -u root -p ccnet_db < /<backup path>/seafile/sql/ccnet-db_last.sql 
mysql -u root -p seafile_db < /<backup path>/seafile/sql/seafile-db_last.sql 
mysql -u root -p seahub_db < /<backup path>/seafile/sql/seahub-db_last.sql 

Datenverzeichnise restoren

cd /mnt/synology/web1/seafile/
sudo mv seafile-data/ seafile-data_orig
sudo mv seahub-data/ seahub-data_org
sudo cp -a /media/backup/web1/seafile/data/seahub-data/ seahub-data
sudo cp -a /media/backup/web1/seafile/data/seafile-data/ seafile-data

Update Skripte

cd /opt/seafile/seafile-server-latest
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 5.1.0

<pre>
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 6.0.0
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 6.1.0
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 6.2.0
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 6.3.0
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 7.0.0
drwxrwxr-x  4 seafile seafile 4096 May 24 23:40 7.1.0

Server starten

sudo systemctl start seafile.service
sudo systemctl start seahub.service

Links

https://download.seafile.com/published/seafile-manual/maintain/backup_recovery.md

https://forum.seafile.com/t/restore-unklar/5591/8

https://download.seafile.com/published/seafile-manual/upgrade/upgrade.md


Zurück zu Seafile