-
Follow Us!
-
Search the Blog
-
-
Recent Posts
- Cisco to Juniper BGP command conversions March 15, 2020
- Cisco ASA BGP configuration November 20, 2019
- Cisco ASA with PPPOE failover line October 28, 2019
- Let’s talk about AF-Groups, Session-Groups and Neighbor-Groups October 26, 2019
- Let’s talk about Peer-Groups, Session-Templates and Policy-Templates October 26, 2019
-
Archives
- March 2020
- November 2019
- October 2019
- September 2019
- September 2016
- August 2016
- January 2016
- June 2014
- April 2014
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
-
Tags
- Apache
- Array
- ASA
- BGP
- C
- Cisco
- Cisco 877
- Cisco ASA
- Compression
- deduplication
- EIGRP
- Eval
- failover
- FreeBSD
- FTP
- FTTC
- GRE
- Hash
- Infinity
- IPv6
- Jail
- Juniper
- K&R
- Mac
- Mod_Secure
- MySQL
- Nagios
- Objective-C
- Perl
- Quota
- References
- restore
- Schwartzian Transform
- Security
- Sendmail
- Snapshot
- Sorting
- Spamassassin
- SRX
- SSL
- uniq
- Virtusertable
- VPN
- Xcode4
- ZFS
-
General Links
Perl Links
-
Tag Archives: MySQL
MySQL ZFS snapshot restoration
Since yesterdays test on ZFS snapshots, we now have 25 snapshots in the snapshot archive which can be seen below. # cd /DATA/mysql/.zfs/snapshot/ # ls -lah total 36 dr-xr-xr-x 21 root wheel 21B Oct 16 21:00 . dr-xr-xr-x 4 root … Continue reading
Posted in FreeBSD Administration, MySQL, ZFS
Tagged FreeBSD, MySQL, Snapshot, ZFS Restore
Leave a comment
Using ZFS snapshots to keep MySQL backups
Whilst at a customer site the other day the question was raised over how they could keep a fair volume of backups of a MySQL database off site, while minimising bandwidth and disk space. So the usual ‘moon on a … Continue reading
MySQL innodb buffer pool size issues
I’m currently archiving some database records from our AVS logging platform. My previous technique was to rename the logging table and create a new one, leaving the renamed table to be cut up as required. I had to do it … Continue reading
Posted in FreeBSD Administration, MySQL
Tagged FreeBSD, innodb, innodb_buffer_pool_size, MyISAM, MySQL
Leave a comment
Sloppy File Handling – Perl
When reading around the subject of file handling in Perl its easy to get sloppy, phrases like ‘automatic cleanup’ and the like lull us into believing that the close statement is just a ‘nice to have’. Well this burnt me … Continue reading
Posted in FreeBSD Administration, MySQL, Perl
Tagged Filehandles, FreeBSD, MySQL, Perl
Leave a comment
Quick MySQL backups
As a hosting provider we are often asked to provide a backup or dump of a mysql database. The easiest way to do it is to performa MySQLdump into a file into the webspace and the secure it with file … Continue reading
Posted in Apache, FreeBSD Administration, MySQL
Tagged Apache, FreeBSD, MySQL, mysqldump
Leave a comment
Perl DBI MySQL failover databases
Further to the last post on Eval, here is how we can try server A, then if it fails, use server B instead. The hub of the issue is ‘or die’ , ‘or warn’ and ‘or’. Here is my test … Continue reading
Quick MySQL Server setup notes
Here are my quick and dirty setup notes for MySQL server cd /usr/ports/databases/mysql51-server make install ee /etc/rc.conf add –/– mysql_enable=”YES” mysql_dbdir=”/data/mysql” –/– /usr/local/etc/rc.d/mysql-server start Now we need to add a password to secure it and another password for remote admin: … Continue reading