This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

bsdtar.gz | 7-zip = broken file RESOLVED

Problems, solutions, software
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
cpcnw
Starter
Starter
Posts: 27
Joined: 11 Sep 2012 19:37
Status: Offline

bsdtar.gz | 7-zip = broken file RESOLVED

Post by cpcnw »

Hi All

I am using rsync to create nightly incremental backups and creating tar balls of these.

Just last night I logged into the n4f via pptp on my wintop, copied across one of the said tar balls (using WinSCP) then tried to open it via 7-Zip file manager which resulted in an error message. The same thing happened with WinZip ie complained about broken file.

I made sure WInSCP was using binary mode but it made no difference.

Copying across a tar ball from a linux box on the same network and using the method above works perfectly.

Is there something about bsdtar that I need to know about?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

FIXED: Turns out that it was the way I was passing options to bsdtar

My script had ;

Code: Select all

# tar -cfz tarfile.tar.gz /directory/iwant
Removing the leading '-' from the options so that the command reads;

Code: Select all

# tar cfz tarfile.tar.gz /directory/iwant
Apparently *with* the '-' is the traditional Unix syntax although bsdtar supports both - there is a subtle difference!!!
Last edited by cpcnw on 04 Sep 2014 17:25, edited 1 time in total.

kerrymanam
NewUser
NewUser
Posts: 1
Joined: 20 Oct 2015 10:27
Status: Offline

Re: bsdtar.gz | 7-zip = broken file RESOLVED

Post by kerrymanam »

Check this one ..........7-Zip 9.20

Kerry

Post Reply

Return to “Data recovery and backups”