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 –

Related Post

Leave a Reply

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