Table of Contents

scp copy von host zu host mit tar

ssh host1 "cd /path/to/files; tar -c ." | ssh host2 "cd /path/to/destination/; tar -x"

Backup mit tar auf einen anderen Host

tar zcvf - /path/to/files | ssh host "cat > /path/to/data.tar.gz"

Backup einer Disk/Partition

tar -cSp --numeric-owner --atime-preserve -f - /home/ | ( cd /mnt/neu/ && tar -xSpv --atime-preserve -f - )