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

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



----- Original Message -----
From: "Scott genevish" <genevish@xxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Monday, March 26, 2001 7:30 PM
Subject: Re: [cobalt-users] Free up space on /var


> 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