Backup Seafile
Version vom 4. September 2016, 12:12 Uhr von Martin Kirner (Diskussion | Beiträge)
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