Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.