"Stream" tar action from remote server through Putty?

Posted by Pekka on Server Fault See other posts from Server Fault or by Pekka
Published on 2010-03-18T17:45:53Z Indexed on 2010/03/18 17:51 UTC
Read the original article Hit count: 831

Filed under:
|
|
|

I am accessing a shared hosting account through Putty / SSH. The account is pretty full, 300 MB below its quota. I need to make a full backup of all data present on the account. Creating a bzip2 file using

tar cjf archive.tar.bz2 directory/* 

fails because there is not enough space for the tar.

Does anybody know a way to create a tar file and "stream" it to a local file on my PC? Through putty or any other SSH tool?

© Server Fault or respective owner

Related posts about linux

Related posts about ssh