Backup laptop data.. over ssh and tar..

cd /home ; tar cvf – user | ssh remotemachine ‘cd /destination ; tar xf -‘

it will transfer all file in /home/user to remotemachine:/destination

later on.. you might need to transfer back..


ssh remotemachine ‘cd /destination ; tar cvf – user’ | cd /home/ ; tar xf –

Related Post

3 Responses

  1. ahstod says:

    going ubuntu? you’ll still need centos5 VM to compile centos binary and RPMs …

  2. `narumi says:

    welcome to ubuntu world heh2..

  3. namran says:

    Is not going ubuntu..

    the above post is due to ‘silly’ mistake of pressing ‘next’..

    next time not to trust default
    setting of distro installation playing with
    ‘real’ partition..

    managed to recover some partition with

    .. my “/home” is still missing ,though..
    collecting bit by bit at the moment..


Leave a Reply

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