Question: How can you copy a directory to another system with compression?
- tar -ssh user@192.158.1.1 /bin/newfile
- tar cvzf - /wwwdata | ssh root@192.168.1.201 "dd of=/backup/wwwdata.tar.gz"
- You can't compress the stream
- scp -r directory user@192.168.1.1:/tmp
Answer: The correct answer of the above question is Option B:tar cvzf - /wwwdata | ssh root@192.168.1.201 "dd of=/backup/wwwdata.tar.gz"