Backup Queston about .ipf file size

Ive been using IPFire for quite awhile now and notice when I do a backup the .ipf file has grown from 20mb or so to over 600mb now and each new version it grows more. I guess I thougt it just backed up my firewall rules but its getting so large it no longer fits on my usb device so I can restore if needed. Am I missing something ?

The question is how many backups do you have on IPfire?

The next question is whether Exclude logfiles is checked when creating the backup.

HI, just keep one backup usually done just after a sucessful upgrade of the firewall. I do check the create .iso button which disables the exclude logfiles, but this behavior is just different that say about 3 upgrades ago, I guess its nothing like a show stopper just trying to figure out if I need to do anything different

Also what Core Update version are you running. On an older version there was a stage where cache files for Suricata were not being age removed and also that they were included in the backup.

That was fixed in that the cache files were no longer included in the backup and the cache entries were removed on an age basis.

Your Core Update version will enable me to see if the above issue might be linked or not.

Just finished the upgrade to core 204, but it did it on core 203 as well

If you are selecting the create iso button then you will create a file that is the whole ISO install file with the backup built in to it and currently the ISO image is around 670MB

Then it is nothing to do with the suricata cache problem. That was resolved before CU204 or CU203.

Right and thats exactly what I wish to happen, my issue is that the lone .ipf file is becoming extrodinarly large

Please show a screenshot of what you are seeing.

That is peculiar. I just ran the create iso on my CU204 system and got the following

Screenshot_2026-10-28_14-09-29

So my ipf is 66MB.

Can you download the 793MB .ipf file to your PC and then view the contents of that file.

On my Linux desktop I can do that with the xarchiver package.

You can then go through the various directories and see if you can find which one is containing a really large file or which one has a huge number of smaller files in it.

OK I’ll do that, I dont have anything to open it with at the moment but I’ll do and download xarchiver

To help figure out where the space is being used you could extract the .ipf file (using xarchiver or from the command line via a tar command) and then get baobab installed on your system and run that on the extracted directory.

With the Rings Chart option you can put your mouse pointer over the biggest directories and see what they contain and also drill down to that directory to see what files are involved.

Ok, I got XArchive downloaded but it does crash trying to open the file. This same thing is happening on 2 seperate machines in 2 different locations. I’ll do my best to try and get to the bottom of it but apparently its a challenge for me now. I do apprecaite all your sugguestions. I’ll let you know what I find but its gonna be just a minute!

You could then just extract the contents with a tar command from the command line. The .ipf file is just a tar archive.

I tried that

I do have a file from 6 months ago which does open and is 27.7mb is size the new one is 366.0 mb in size and wont open. Its just not normal to me to have the very same issue on 2 seperate machines.

Yes, that suggests a problem with the .ipf file creation, although i have no idea what.

Maybe using a tar command to extract it will give more clues with its error messages.

On your pc via a terminal program go to the directory where your .ipf file is stored and run the command

tar -xf name-of-your-ipf-file

This will then try to extract the backup into that location in a directory with the same name as the .ipf file has.

Hopefully the tar command will give more info on the problems found extracting it.

The lib directory / suricata has 57 items totalling 58.0 mb in size

The var / log directory has 185 items totallilng 9.3 GB

The var / cache directory has 4 items totalling 6 MB in size

The var / ipfire directory has 584 items totalling 36.6 MB

The others look pretty normal as to what I would expect not sure where the missing are coming from

Can you show a bit more for what is making up the 9.3GB. With the excluding logs option or the iso option, the only log info being backed up is the suricata reporter.db and some rrd files.

On my system that file in the backup is 91MB. If yours is around 9GB that would suggest you have been having a lot of suricata alerts. The rrd directory has around 30MB.

Can you confirm the size of your reporter.db file.