Replies: 7 comments
-
Usually borg recurses starting from the recursion roots (paths) given as commandline argument or in the pattern file as |
Beta Was this translation helpful? Give feedback.
-
In my
So in theory the empty folder
should be included in the backup? Unfortunately it isn't, at least not in the output of |
Beta Was this translation helpful? Give feedback.
-
OK, that sounds like a bug or some other issue. Can you give a simple script that does all needed to reproduce and show the problem? |
Beta Was this translation helpful? Give feedback.
-
Well, I do not want to post my complete --pattern-from file and my whole folder/file structure here, but try this:
Then put a borg-exclude.txt in the parent directory of borgroot/:
Then do
Result:
As you can see, "emptysupfolder" is missing. |
Beta Was this translation helpful? Give feedback.
-
It rather seems like all directories are missing from the If one runs it without |
Beta Was this translation helpful? Give feedback.
-
Reproduced with borg 1.2-maint branch and this script:
|
Beta Was this translation helpful? Give feedback.
-
@rucksman thanks for reporting this, you found a (cosmetic) bug. \o/ I locked this topic, so all further discussion (if any) is either in issue #7209 (if it matches the topic there) or in a new issue (if there is anything else to do, in that case it will need a new reproducer script in the style as seen above and a separate issue). |
Beta Was this translation helpful? Give feedback.
-
I discovered that (at least with option
--list
and--dry-run
) empty (sub-)folders are not backed up. Is this by design or some error on my side? I am working with--pattern-from
and a pattern file wirh something like this:All files in /path/to/some/folder will be backup up according to
--list
and--dry-run
, but not the empty folder /path/to/some/folder/subfolder. Is there a way to keep the folder structure, i.e. to include the empty folder?Beta Was this translation helpful? Give feedback.
All reactions