mirror of
https://github.com/borgbackup/borg.git
synced 2026-04-26 16:49:50 -04:00
export-tar: set tar format to GNU_FORMAT explicitly
Python 3.8 changed the default format to PAX, but GNU format is documented for Borg.
This commit is contained in:
parent
4a9b910be8
commit
ca36f10bf6
1 changed files with 1 additions and 1 deletions
|
|
@ -884,7 +884,7 @@ class Archiver:
|
|||
|
||||
# The | (pipe) symbol instructs tarfile to use a streaming mode of operation
|
||||
# where it never seeks on the passed fileobj.
|
||||
tar = tarfile.open(fileobj=tarstream, mode='w|')
|
||||
tar = tarfile.open(fileobj=tarstream, mode='w|', format=tarfile.GNU_FORMAT)
|
||||
|
||||
self._export_tar(args, archive, tar)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue