Backup Seafile

Aus Tutorials
Zur Navigation springen Zur Suche springen
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