Hi Harvii,
To ensure a consistent database, you'll want to stop all services as follows:
sudo service nsm stop
sudo service syslog-ng stop
sudo service apache2 stop
sudo pkill autossh
sudo pkill perl
Hope that helps!
Thanks,
Doug
On Sun, May 19, 2013 at 9:33 AM, Harvii Dent <
harvi...@gmail.com> wrote:
> Hello Everyone,
>
> I'm having a problem with the ibdata1 file under "/var/lib/mysql/" which is rapidly growing and has reached 16 GBs on the master SO server and on one of the sensors.
> This is a common problem with InnoDB tables and the fix is basically to drop and then restore the database (after adding innodb_file_per_table), as described here:
>
>
http://stackoverflow.com/questions/3927690/howto-clean-a-mysql-innodb-storage-engine
>
> Before attempting the method described above I want to backup the databases, are there any specifics that should be taken in consideration (i.e. mysqldump options)?
>
> I've never backed up a MySQL DB before so I'm wondering how SO users handle it? what processes services need to be stopped? etc.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups "security-onion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
security-onio...@googlegroups.com.
> To post to this group, send email to
securit...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/security-onion?hl=en-US.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>
--
Doug Burks
http://securityonion.blogspot.com