[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible bug to report (loss of data)
I have what I hope is not a bug but some kind of pilot error to
report.
I wanted to change an archives name. (m2-ImagesMusic)
A previous post mentioned this with an ensuing error. This is a
different case.
My original archive was not touched in any of the commands so far as
evidenced by this report today:
reader > tarsnap --print-stats -f m2-ImagesMusic
Total size Compressed size
All archives 47451648538 36380067956
(unique data) 34288392255 27769702415
m2-ImagesMusic 47015370569 35992271855
(unique data) 33883962222 27409965425
That tallies with the original upload report (which I no longer have).
OK,
Digging in the archives I found this question and answer:
Colin Percival | 9 Mar 22:03
Re: Rename archives?
On 03/09/11 12:40, Morten A. B. Sjøgren wrote:
> Because of a change in hostname, which is used to generate archive
> names, my archive names are inconsistent. Is it possible to
> rename old archives?
Only by copying the archive (via tarsnap -c -f foo @@bar) and
deleting the old archive.
So I did that:
tarsnap -c -f m2-ImagesMusic-11.06.30_083216 @@m2-ImagesMusic
tarsnap: Error reading archive m2-ImagesMusic: Pathname in pax header
can't be converted to current locale.
Total size Compressed size
All archives 47451647043 36380066594
(unique data) 34288390760 27769701053
This archive 432979189 386430105
New data 105045 73442
tarsnap: Error exit delayed from previous errors.
------- --------- ---=--- --------- --------
And followed with the rest of the procedure .. deleting the original.
reader > tarsnap -d -f m2-ImagesMusic
Total size Compressed size
All archives 436276474 387794739
(unique data) 404428538 359735628
This archive 47015370569 35992271855
Deleted data 33883962222 27409965425
------- --------- ---=--- --------- --------
But now the renamed archive is way smaller than the original:
reader > tarsnap --print-stats -f m2-ImagesMusic-11.06.30_083216
Total size Compressed size
All archives 436276474 387794739
(unique data) 404428538 359735628
m2-ImagesMusic-11.06.30_083216 432979189 386430105
(unique data) 401151733 358381728
So its dropped from the original: 47015370569
to: 432979189
Hopefully I'm just not understanding what the numbers mean.