Using tar over SSH Session

I wanted to make a tar of a folder on a remote server. But the server don’t have much disk space left, so the tar operation failed.

The server had no rsync installed to copy over the folder to another server.

To save generated tar file on another server, i used command

Example

NOTE: Make sure you connect to remote server using SSH and accept the key before you run above command as it will fail if you don’t accept key beforehand.

See tar

Add a Comment

Your email address will not be published. Required fields are marked *