• Hello,
    I am using tar.gz compression for my backup task that is succeeding with no error but trying to restore the backup_file.tar.gz fails at untar operation. I am using 7zip on Windows 10 to uncompress my backup file (the gz uncompress part works fine).
    Controlling archive still with 7zip is giving an error popup (screenshot at https://u.pcloud.link/publink/show?code=XZPgSsXZf2RxYtSspGFEL5nQYQQS8RMXD4wV).
    The extract is incomplete so I will never be able to restore my site in case of problem !!!
    I changed to zip compression and this one works fine !
    WordPress 5.7; BackWPup 3.8.0; Hosting Apache; PHP 7.4.8
    Thanks for help as this could impact many people…
    Eric Collart

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter ecollart

    (@ecollart)

    And I have exactly the same problem on another site using a different hosting service and a lot more smaller backup file size …
    WP 5.7; PHP 7.4.16; Apache 2.4.25; BackWPup 3.8.0

    Eric Collart

    Plugin Support happyAnt

    (@duongcuong96)

    @ecollart
    oh so you are running Windows to extract the Tar archive file, please try to extract it with the official Tar for Windows here: https://gnuwin32.sourceforge.net/packages/gtar.htm
    I hope that it could help ^^

    Thread Starter ecollart

    (@ecollart)

    Hello,

    @duongcuong96: thanks for the try to help but I can’t find something recent there …

    7zip is a well-known reliable program since years but I opened a discussion there too just in case…

    Eric

    Thread Starter ecollart

    (@ecollart)

    Hello again,

    7zip team analyzed the problem that is an incorrect size recorded in Tar for a directory (See the text below)

    `7z l 2021-04-14_20-08-12_UNTMT7WT02.tar

    Date Time Attr Size Compressed Name
    ——————- —– ———— ———— ————————
    2021-04-14 23:08:12 ….. 8158 8192 manifest.json
    2021-04-14 23:08:12 ….. 292 512 backwpup_readme.txt
    2016-07-05 02:43:04 D…. 4096 4096 wp-content\uploads\2015

    wp-content\uploads\2015 is directory. But your tar archive contaion incporrect size for that firectory item: 4096.
    The correct size for directory item in tar archive is 0.
    That thing breaks 7-Zip untar code.
    I don’t know why the value 4096 is stored for dictory items in that tar archive.`

    You can access this test backup file I created at https://u.pcloud.link/publink/show?code=XZcVEsXZJ2fh47o0cC8KkLezgmUv0Bbt3t7V where it is available for a few days.

    It seems the problem is effectively coming from BackWPup Tar feature.

    Thanks for your help

    Eric Collart

    Plugin Support happyAnt

    (@duongcuong96)

    @ecollart
    Thank you for the report, the tar.gz file could be extracted without issue on Linux, mac, and Windows with the official Tar for Windows or Winrar, that is the reason we didn’t notice the issue.
    Will contact our devs and report about that.
    Thank you again!

    Thread Starter ecollart

    (@ecollart)

    Hello,

    I favor good Open source and free softwares even on Windows, reason why I don’t use the Shareware WinRAR that has only a free trial of 40 days…

    Official Tar for Windows looks so outdated that I am a bit reluctant to use it…

    Thanks for taking my ticket now in account.

    Stay safe !

    Eric Collart

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem to “untar”’ is closed to new replies.