Reprocessing Accounting Detail Files Without Affecting FreeRADIUS
    Matthew Newton 
    mcn at freeradius.org
       
    Sat Mar  8 11:09:21 UTC 2025
    
    
  
On 08/03/2025 10:54, Erdal Emlik via Freeradius-Users wrote:
> I am writing to seek advice on the best approach to reprocess accounting detail files without affecting the live operation of FreeRADIUS. Currently, I write accounting records into detail files in 15-minute intervals. However, sometimes I occasionally need to reprocess these files at a later time.
> 
> Would radrelay be the right tool for this, or is there a better approach? I am considering a solution where I can trigger the reprocessing via a single command or have a listener that can be activated with restarting FreeRADIUS.
radrelay these days is just a FreeRADIUS config that reads detail files 
and processes them.
Either start a separate instance of the daemon using that config to 
process as and when (the -n option is helpful here), or set up a main 
detail listener in the normal config that points to a file (or glob) 
that doesn't normally exist. When you want to process a file, copy it to 
the location that the listener is looking at.
-- 
Matthew
    
    
More information about the Freeradius-Users
mailing list