Skip to content

Trying to understand how include & R patterns work #8349

Answered by ThomasWaldmann
cyb3rz3us asked this question in Q&A
Discussion options

You must be logged in to vote

Elsewhere in the Q&A, @ThomasWaldmann <https://github.com/
ThomasWaldmann> mentioned that an "R" pattern is essentially like
performing a change dir at the CLI.

Ehrm, did I? Do you have an URL?

If so, I am sorry, because that would be wrong. It is rather like giving these paths on the commandline to borg to use as root paths (starting paths) for the fs recursion, but it does not do a "change dir".

The goal is to to backup only the files in the 3a directory and> without borg scanning the entire FS below borgtest3.

Then just give the 3a path as root path, that is the simplest way.

Giving the full path is best, because it will work no matter from where you invoke the backup.

R /Volumes/…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cyb3rz3us
Comment options

Answer selected by cyb3rz3us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants