Difference between revisions of "Backup"

From Linuxintro
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...)
(No difference)

Revision as of 14:13, 27 December 2008

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.