public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Re: backup.pl - gzip not working as expected!?
       [not found] <b21362c2-ad3b-97e7-f383-722a1049871a@ipfire.org>
@ 2021-12-27 10:38 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2021-12-27 10:38 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2206 bytes --]

Hello,

Thank you for double-checking.

-Michael

> On 27 Dec 2021, at 10:32, Matthias Fischer <matthias.fischer(a)ipfire.org> wrote:
> 
> Hi,
> 
> On 26.12.2021 21:48, Michael Tremer wrote:
>> Hello,
>> 
>>> On 25 Dec 2021, at 20:53, Matthias Fischer <matthias.fischer(a)ipfire.org> wrote:
>>> 
>>> Hi,
>>> 
>>> I wondered for some time - since Friday 21.5.2021 ( ;-) ) - that the IPF
>>> files of the ISO backups turned out much larger than before.
>> 
>> Yes, they were indeed not compressed at all:
>> 
>> https://bugzilla.ipfire.org/show_bug.cgi?id=12737
> 
> Seems I was really busy in the last weeks, otherwise I would have seen
> that this problem was already reported. D'oh!
> 
>> So this should be resolved in c163. Can you test and confirm?
> 
> I first applied the changes from "[2/3] backup: Create tarball in one
> pass" and can confirm.
> 
> The IPF file of the *ISO backup* is now identical to the one created
> *without logs* and correctly compressed as reported by Larsen in
> https://bugzilla.ipfire.org/show_bug.cgi?id=12737#c2 (see attachment).
> 
> In a second run I also applied "[1/3] backup: Use filename as specified
> on console" and "[3/3] backup: Fork ISO job into the background in CGI
> script" from https://patchwork.ipfire.org/project/ipfire/list/?series=2450
> 
> Looking good.
> 
> Best,
> Matthias
> 
>> -Michael
>> 
>>> Today I tested: when I make a backup *without* logs, the resulting IPF
>>> is about *26MB* in size.
>>> 
>>> The same file is about *108MB* in size when I make an *ISO backup*.
>>> 
>>> So I ran ' /var/ipfire/backup/bin/backup.pl iso' from console and
>>> watched the output.
>>> 
>>> After some time, 'gzip' told me:
>>> 
>>> ...
>>> gzip: /var/ipfire/backup/2021-12-25-20:34.ipf already has .ipf suffix --
>>> unchanged
>>> ...
>>> 
>>> For results, please see attached screenshot (and yes: I use tables... ;-) ).
>>> 
>>> The first IPF was created using 'Generate ISO', the second using
>>> 'Exclude logfiles'.
>>> 
>>> Can anyone confirm?
>>> 
>>> Best,
>>> Matthias<ipf_files_differ_in_size.png>
>> 
> <01_ipf_iso_and_without_logs.png><02_ipf_iso_and_without_logs.png>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: backup.pl - gzip not working as expected!?
       [not found] <712b2fa2-2c72-0fa9-e9fb-b13fde945ab6@ipfire.org>
@ 2021-12-26 20:48 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2021-12-26 20:48 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

Hello,

> On 25 Dec 2021, at 20:53, Matthias Fischer <matthias.fischer(a)ipfire.org> wrote:
> 
> Hi,
> 
> I wondered for some time - since Friday 21.5.2021 ( ;-) ) - that the IPF
> files of the ISO backups turned out much larger than before.

Yes, they were indeed not compressed at all:

https://bugzilla.ipfire.org/show_bug.cgi?id=12737

So this should be resolved in c163. Can you test and confirm?

-Michael

> Today I tested: when I make a backup *without* logs, the resulting IPF
> is about *26MB* in size.
> 
> The same file is about *108MB* in size when I make an *ISO backup*.
> 
> So I ran ' /var/ipfire/backup/bin/backup.pl iso' from console and
> watched the output.
> 
> After some time, 'gzip' told me:
> 
> ...
> gzip: /var/ipfire/backup/2021-12-25-20:34.ipf already has .ipf suffix --
> unchanged
> ...
> 
> For results, please see attached screenshot (and yes: I use tables... ;-) ).
> 
> The first IPF was created using 'Generate ISO', the second using
> 'Exclude logfiles'.
> 
> Can anyone confirm?
> 
> Best,
> Matthias<ipf_files_differ_in_size.png>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-27 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <b21362c2-ad3b-97e7-f383-722a1049871a@ipfire.org>
2021-12-27 10:38 ` backup.pl - gzip not working as expected!? Michael Tremer
     [not found] <712b2fa2-2c72-0fa9-e9fb-b13fde945ab6@ipfire.org>
2021-12-26 20:48 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox