[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Free up space on /var
- Subject: Re: [cobalt-users] Free up space on /var
- From: Scott genevish <genevish@xxxxxxx>
- Date: Mon Mar 26 22:36:59 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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/