I am backing up Ubuntu and went to check out how it was going and noticed it was backing up my Windows too. How do I exclude Windows during backup? It says /host, so would I just do --exclude=/host?

I'm backing up everything in terminal. I don't have a /media/windows folder.
/host seems to contain all my windows documents and everything.

  • 1
    What backup tool are you using? Also, where is your windows mounted on your system (usually /media/windows, I think)? – Scaine Jan 8 '11 at 20:11

Since you don't specify how you are backing up, it is hard to say, but assuming you are using tar, then yes, just add --exclude=/host, or better yet, use --one-file-system to prevent it from recursing into other mount points.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy