[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Free up space on /var



On Monday, March 26, 2001, at 10:18 PM, John Theriault wrote:

OK, I've discovered it's a 170 MB log in the /var/lib/mysql
directory.    How do I archive it and start a new one?

-Scott

Try this:

tar cvf <filename.tar> <filename>

Then:

gzip <filename.tar>

This should do it. If the file is still too big, you might consider moving
it elsewhere in your filesystem.

John


I'm assuming the log will then be automatically created?

-Scott

Scott Genevish
genevish@xxxxxxx
http://www.genevish.org/