Home » Questions » Computers [ Ask a new question ]

Why does this rsnapshot exclude not work?

Why does this rsnapshot exclude not work?

Rsnapshot passes excludes directly to rsync, but rsync's behavior appears inconsistent.

Asked by: Guest | Views: 211
Total answers/comments: 1
Guest [Entry]

"Turning rsync verbosity way up shows the problem:

rsync_short_args -avvv

Output:

[client] add_rule(-s ""SKIPTHIS/"")

Whereas when I was copy-pasting into the shell, the shell was consuming the quotes and rsync said:

[client] add_rule(-s SKIPTHIS/)

Changing the exclude rule in my config file to:

exclude SKIPTHIS/**

works."