Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2002 21:49:52 -0600
From:      "Mike Meyer" <mwm-dated-1011844193.063d00@mired.org>
To:        Philippe Rathe <prathe@reevescommunication.com>
Cc:        questions@freebsd.org
Subject:   Re: corruped files with tar to a tape
Message-ID:  <15432.60640.829019.127594@guru.mired.org>
In-Reply-To: <61382228@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Philippe Rathe <prathe@reevescommunication.com> types:
> Maybe we will loose our backup.

I hope note....

> I use this to backup from a samba share mount with mount_smbfs to ascsi  
> tape:
>  
> cd /mnt/samba_share
> tar -zc some_directory

I hope you meant "-zc some_file"..

> The output of tar look like this :
>  
> tar: file file.html shrunk by 144 bytes, padding with zeros.
> tar: file file2.html shrunk by 172 bytes, padding with zeros.

Is your samba share set up to automatically translate newlines on
read?

> It has the same size of the original but the end of the files ( 5%)
> has been overwritten by zeros!

Is the old end of the file still there, followed by all those nulls?

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15432.60640.829019.127594>