OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: lrosenman on August 21, 2024, 03:10:37 PM

Title: netflow backup always taking too long
Post by: lrosenman on August 21, 2024, 03:10:37 PM
Every upgrade (not just 24.7.x) times out on the netflow backup.  I'll have to go in and kill the bsdtar/sqlite3 processes.  Is there something to be done here?
Title: Re: netflow backup always taking too long
Post by: doktornotor on August 21, 2024, 03:22:04 PM
Disable the backups. Backing up gigabytes of data WILL take a long time.
Title: Re: netflow backup always taking too long
Post by: lrosenman on August 21, 2024, 03:22:36 PM
where can this be done?
Title: Re: netflow backup always taking too long
Post by: doktornotor on August 21, 2024, 03:25:42 PM
System - Settings - Miscellaneous?
Title: Re: netflow backup always taking too long
Post by: lrosenman on August 21, 2024, 03:56:35 PM
Thanks. We'll see if that makes stuff better in the long term with the next 24.7.x update.
Title: Re: netflow backup always taking too long
Post by: franco on August 21, 2024, 04:15:52 PM
@lrosenman nice to see you back on your feet?

I think we disabled backups per default config xml quite a while ago but installs do stick with the old defaults.


Cheers,
Franco
Title: Re: netflow backup always taking too long
Post by: lrosenman on August 21, 2024, 04:18:37 PM
Got out of the hospital Monday --  taking care of small stuff that's annoyed me while taking it easy. This install goes back quite a few years.
Title: Re: netflow backup always taking too long
Post by: franco on August 21, 2024, 05:48:03 PM
Glad to hear!
Title: Re: netflow backup always taking too long
Post by: tangofan on August 21, 2024, 05:53:20 PM
Quote from: franco on August 21, 2024, 04:15:52 PM
I think we disabled backups per default config xml quite a while ago but installs do stick with the old defaults.

FWIW, I downloaded the image of my current installation sometime in Mid-July of this year (v24.1) and the NetFlow Backup settings in System: Settings: Miscellaneous is set to 24hrs (see attachment).  To the best of my knowledge I never touched those settings after installation.

So perhaps disabling those backups by default is still pending?
Title: Re: netflow backup always taking too long
Post by: franco on August 21, 2024, 05:56:11 PM
I was under the impression that https://github.com/opnsense/core/commit/f1ea00308203 did this for 23.1 or even 22.7.
Title: Re: netflow backup always taking too long
Post by: tangofan on August 21, 2024, 06:57:07 PM
Quote from: franco on August 21, 2024, 05:56:11 PM
I was under the impression that https://github.com/opnsense/core/commit/f1ea00308203 did this for 23.1 or even 22.7.
I just installed a fresh 24.7 ISO image as a Virtual Box VM and the settings are indeed as you say (see attachment).

Since I am not aware of tinkering with these settings, I am wondering, if some package installation changed those settings... In any case OPNsense is in the clear on this.
Title: Re: netflow backup always taking too long
Post by: franco on August 21, 2024, 08:55:14 PM
I doubt it. system_advanced_misc.php is the only thing that would ever modify it.


Cheers,
Franco