reference from: http://ubuntuforums.org/showthread.php?t=81311
1. Gen the Tar file:
tar cvpf sendai-backup.tar --exclude=/proc --exclude=/lost+found --exclude=/sendai-backup.tar --exclude=/mnt --exclude=/sys /
2. Restore the tar to target
tar xvpf sendai-backup.tar -C /
3. mkdir the exclude dir
mkdir proc
mkdir lost+found
mkdir mnt
mkdir sys
沒有留言:
張貼留言