Backup Seafile: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „== Links == Zurück zu Backps erstellen“)
 
 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<pre>
sudo cp -R --preserve=mode,timestamps /home/seafile/seafile/ /media/cloud_backup/seafile/
</pre>
<pre>
mysqldump -u root -p[<password>] seafile-db > /media/cloud_backup/seafile/seafile-db_latest.sql
mysqldump -u root -p[<password>] seahub-db > /media/cloud_backup/seafile/seahub-db_latest.sql
mysqldump -u root -p[<password>] ccnet-db > /media/cloud_backup/seafile/ccnet-db_latest.sql
</pre>
<pre>
mysql -u root -p[<password>] seafile-db < /media/cloud_backup/seafile/seafile-db_latest.sql
mysql -u root -p[<password>] seahub-db < /media/cloud_backup/seafile/seahub-db_latest.sql
mysql -u root -p[<password>] ccnet-db < /media/cloud_backup/seafile/ccnet-db_latest.sql
</pre>
== Links ==
== Links ==
[http://manual.seafile.com/maintain/backup_recovery.html http://manual.seafile.com/maintain/backup_recovery.html]




Zurück zu [[Backps erstellen]]
Zurück zu [[Backups erstellen]]

Aktuelle Version vom 4. September 2016, 12:12 Uhr

sudo cp -R --preserve=mode,timestamps /home/seafile/seafile/ /media/cloud_backup/seafile/
mysqldump -u root -p[<password>] seafile-db > /media/cloud_backup/seafile/seafile-db_latest.sql
mysqldump -u root -p[<password>] seahub-db > /media/cloud_backup/seafile/seahub-db_latest.sql
mysqldump -u root -p[<password>] ccnet-db > /media/cloud_backup/seafile/ccnet-db_latest.sql
mysql -u root -p[<password>] seafile-db < /media/cloud_backup/seafile/seafile-db_latest.sql
mysql -u root -p[<password>] seahub-db < /media/cloud_backup/seafile/seahub-db_latest.sql
mysql -u root -p[<password>] ccnet-db < /media/cloud_backup/seafile/ccnet-db_latest.sql


Links

http://manual.seafile.com/maintain/backup_recovery.html


Zurück zu Backups erstellen