X
    Categories: Personal

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..

using..

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

Namran Hussin:

View Comments (1)

Related Post
Leave a Comment