Posted By

michaellehmkuhl on 02/17/10


textmate backup archive tar ssh

Versions (?)

Archive to a remote server using tar and ssh

 / Published in: Other

  1. tar cvpjf - --exclude=/selinux --exclude=/srv --exclude=/dev --exclude=/boot --exclude=/tmp --exclude=/mnt --exclude=/sys --exclude=/lost+found --exclude=/proc / | ssh [email protected] "dd of=/root/archive_of_my_server.tar.bz2"

Report this snippet  


RSS Icon Subscribe to comments
Posted By: 4fthawaiian on July 25, 2011

Nice. I wrote a similar snippet, but used "cat" instead of DD. I think I like yours better :)

You need to login to post a comment.