restore

Copy and Uncompress (ssh, gunzip, tar) from Remote Server

So you have a remote backup and you want to quickly have it restored locally or to another server without transferring, then uncompressing as 2 or 3 steps.

ssh user@remote-server "cat /path/to/compressed/backup.tar.gz" | tar xzvf -

Tags: , , , , , ,

Sunday, June 26th, 2011 Linux, Networking, Unix No Comments