Namran Hussin Personal Backup laptop data.. over ssh and tar..

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 –

1 thought on “Backup laptop data.. over ssh and tar..”

Leave a Reply to hawk Cancel reply

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

Related Post

Sofaz..Sofaz..

A**Crewz WiLL Be RiGht Back AfTer This AdVerTiseMent. We Are CurrEntLy UndEr MainTaiNanCe. PleaSe Be PatIeNt We ArE SorrY For All The IntEruPtIons. ThanK You… ;) aiya… in the mean