Menu ▾ ▴

#28 pruning does not exclude directories because of incorrect tar parameter order

open
nobody
None
5
2016-06-19
2016-06-19
Akom
No

There is (now?) a big difference between:
--files-from=- --no-recursion
and
--no-recursion --files-from=-

In the former case, tar will recurse into directories even though they are pruned, in the latter - it will not.

Patch attached

1 Attachments

Discussion

  • Akom

    Akom - 2016-06-19

    Version info:
    OS Ubuntu 16.04, all installed via apt
    flexbackup 1.2.1-6.3
    tar 1.28-2.1
    findutils 4.6.0+git+20160126-2

    The particular backup set in question is remote (via SSH, host:/dir format), the latter two versions are on the remote machine, although I believe they are the same on both.

     

Log in to post a comment.