rsync --exclude option???
Hi,
Just a question whether a problem with rsync is a bug...
I wrote a nice little backup script for my entire disk. The line for the partition at / reads:
rsync -au --delete --exclude=/home --exclude=
and should exclude /home and /boot (which are on other partitions) and /media/*/*, in order not to copy mounted drives (and in particular not recurse into the external disk mounted at /media/usb2/).
I think it used to work, but recently it recursed into /media/usb2/ and the resulting crash managed to damage the whole system, which I had to recover from a third backup.
What works now is
rsync -au --delete --exclude=/home --exclude=
but I think the extra --exclude should not be necessary.
Should I report this as a bug?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu rsync Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- juancarlospaco
- Solved:
- Last query:
- Last reply: