NAME
archive_radacct - Remove a months worth of data out of the `radacct` table and archive it into a `radacct-YYYY-MM` table.
SYNOPSIS
# specify a specific month to process
archive_radacct --month|-m 2009-06
# display help
archive_radacct --help|-h
# display the manual page
archive_radacct --man|-M
OPTIONS
- --month | -m
-
Specify the month in which you want to work on in the form YYYY-MM. If the month parameter is not supplied, we will work on the month that was existent three months ago.
DESCRIPTION
archive_radacct is a utility script for the FreeRADIUS::Database module.
It archives data from the `radacct' table into a newly created table in the database. If the 'delete_after_archive' directive in the freeradius_database.conf file is enabled, we will delete from the radacct table after the archive is complete.
AUTHOR
Steve Bertrand, <steveb@cpan.org>
COPYRIGHT
Copyright (C) 2012 by Steve Bertrand
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.9 or, at your option, any later version of Perl 5 you may have available.