/ Published in: Other
Expand |
Embed | Plain Text
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"
Comments
Subscribe to comments
You need to login to post a comment.

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