Difference between revisions of "Tar"
From MyWiki
(Created page with "tar cvf /home/george2/drives/3tb/backup_ssd.tar / --exclude /home/george2/drives/3tb --exclude /sys --exclude /run --exclude /tmp --exclude /proc --exclude /dev") |
|||
Line 1: | Line 1: | ||
− | tar cvf /home/george2/drives/3tb/backup_ssd.tar / --exclude /home/george2/drives/3tb --exclude /sys --exclude /run --exclude /tmp --exclude /proc --exclude /dev | + | tar cvf /home/george2/drives/3tb/backup_ssd.tar / --exclude /home/george2/drives/3tb --exclude /sys --exclude /run --exclude /tmp --exclude /proc --exclude /dev<br> |
+ | tar cpf - /some/important/data | ssh user@destination-machine "tar xpf - -C /some/directory/" <br> |
Latest revision as of 12:52, 29 September 2016
tar cvf /home/george2/drives/3tb/backup_ssd.tar / --exclude /home/george2/drives/3tb --exclude /sys --exclude /run --exclude /tmp --exclude /proc --exclude /dev
tar cpf - /some/important/data | ssh user@destination-machine "tar xpf - -C /some/directory/"