mirror of https://github.com/borgbackup/borg.git
use same code in export-tar as in extract
the partial_extract parameter was missing and that can lead to to many items being preloaded.
This commit is contained in:
parent
908ea73949
commit
2815ba51fa
|
@ -1115,7 +1115,8 @@ class Archiver:
|
|||
return None, stream
|
||||
return tarinfo, stream
|
||||
|
||||
for item in archive.iter_items(filter, preload=True, hardlink_masters=hardlink_masters):
|
||||
for item in archive.iter_items(filter, partial_extract=partial_extract,
|
||||
preload=True, hardlink_masters=hardlink_masters):
|
||||
orig_path = item.path
|
||||
if strip_components:
|
||||
item.path = os.sep.join(orig_path.split(os.sep)[strip_components:])
|
||||
|
|
Loading…
Reference in New Issue