Backup

From Linuxintro
Revision as of 14:13, 27 December 2008 by imported>ThorstenStaerk (New page: To store a backup of your computer on another computer in the network, use tar -cv -f- $(ls -1 | grep -Ev "proc|sys|tmp|media|mnt") | ssh root@''target'' "cat >/root/slash.tar" This store...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

To store a backup of your computer on another computer in the network, use

tar -cv -f- $(ls -1 | grep -Ev "proc|sys|tmp|media|mnt") | ssh root@target "cat >/root/slash.tar"

This stores a backup of your computer, but not /proc, /sys, /tmp, /media and /mnt on the computer target in /root/slash.tar.