-1

I have a 30 GB compressed sql file (with extension .sql.bz2) and if I unzip it will become 300 GB. However due to disk space issue, I can't do the same.

Could I split the compressed sql file something like using split linux command? I tried but with no success. Any other approach?

Thanks!

Community
  • 1
  • 1
Gaurav Kumar
  • 133
  • 1
  • 5
  • Welcome to StackOverflow. Please note, that this is not a free code-writing service, but we are eager to help fellow programmers (and aspirants) writing their own code. Please read the help topics on [How To Ask a Good Question](http://stackoverflow.com/help/how-to-ask). Afterwards, please update your question with the code you have written thus far in order to complete the task(s) you wish to achieve. – Quintin Balsdon Nov 08 '16 at 12:35

1 Answers1

0

You might take a look at this question: split-files-using-tar-gz-zip-or-bzip2 I assume the reason you want to split it is to move it? And that you know you probably wont be able to import a small slice of the file into a database?

Community
  • 1
  • 1
Terry Wendt
  • 28
  • 1
  • 7