ispCP - Board - Support
mysql fullbackup mit nice option? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: mysql fullbackup mit nice option? (/thread-9914.html)



mysql fullbackup mit nice option? - fulltilt - 03-08-2010 09:01 PM

ich lege tägliche fullbackups von mysql an, der Dump ist ungefähr 550MB gross und die Load geht schon heftig hoch.
Code:
mysqldump --opt --password=xxxxx --allow-keywords --flush-logs --hex-blob --quote-names --all-databases > /backup/mysql.sql
Habs gerade mal mit nice versucht - macht aber keinen Unterschied, wirkt sich das denn überhaupt nicht aus?
Code:
nice -n 19 mysqldump --opt --password=xxxxx --allow-keywords --flush-logs --hex-blob --quote-names --all-databases > /backup/mysql.sql

habs auch mal in eine .sh gepackt:
nice -n 19 /root/mysqldump.sh