s9s_backup argument list too long
i get this error when doing a backup:
root@galera3:~# s9s_backup --backup -i1 -tfull -b/root/backups
Starting a FULL backup
/usr/bin/s9s_backup: line 70: /usr//bin//mysql: Argument list too long
/usr/bin/s9s_backup: line 73: /usr//bin//mysql: Argument list too long
Backup finished - check Backups for status
i think this happens because i have too many tables files since i had to increase my system limit to ulimit -n 16384 so i could make the backup.
could you guys think of a fix for the s9s_backup script? i found this http://forums.mysql.com/read.php?35,136587,136592#msg-136592
-
Hi Paolo,
Just to confirm the backup finished ok, right?
If you go to "Backup" --> "Reports" you can see the status.About the argument list too long problem, i need to look at it.
Then you can do:
git clone https://github.com/severalnines/s9s-admin
cd s9s-admin/cluster
cp s9s* /usr/bin/The above fixes the ulimit problem (you should copy the s9s* files to all nodes).
Best regards and thanks for the feedback!
Johan
-
Hi,
Is this a galera cluster, in that case:http://support.severalnines.com/entries/23523886-Restore-Xtrabackup-on-Galera-Cluster
BRjohan
Please sign in to leave a comment.
Comments
5 comments