I am at 98% of an 8GB SSD, and I have a 3 GB mysql data that I need to gzip and or tar and then download it, so then I can delete it.
How can I tar or gzip the sql (or the mysql tables) so that that I don't have to make a copy of the 3GB file and get disk full errors.
Running Debian 6.
Use the mysqldump utility to direct the file wherever you like:
If you need to, you can pipe the output through gzip:
Further, you can send the output from gzip to another server via ssh: