Answer the question
In order to leave comments, you need to log in
What is the correct way to write exceptions for rsync\rsnapshot?
Hey!
Can you please tell me how to correctly set exclusions for some folders / files?
With the help of rsnapshot I'm trying to backup the user's folder separately (so far in it).
snapshot_root /home/user/backup/
exclude_file /home/user/.config/rsnapshot.exclude
backup /home/user/ snapshot/
- /home/*/downloads/
- /home/**/downloads/
- /home/user/*/downloads/
- /user/downloads
- downloads/
- /downloads/
Answer the question
In order to leave comments, you need to log in
For example so.
rsync -avz '-e shh ' [email protected]:/home/ --exclude="downloads*" /somefolder/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question