Auto Archive Clientexec Logs
Auto Archive Log will generates a file with an SQL dump of the log tables you select on a periodic basis (default setting is the 15th of the month), and delivers it to the locations you select and then deletes the log tables..
- First ensure you set up the cron job on your cPanel, Directadmin or other panel. You can find those details here.
- Next, go to Settings > Plugins > Automation Services and in the dropdown select Archive Logs.
- Select Yes for enabled in order to activate this feature. And go through the other options:
**Field Name ** | **Description ** |
---|---|
Archive events_log Table | Select YES to archive the events_log table, which contains the events logged according to the setting "general settings > global > Enable Events Logging". |
Compress files with gzip | Only possible if you have the zlib extension in your PHP installation. |
Deliver to remote FTP or SFTP account | To send the files to a remote FTP or SFTP account enter the host and your credentials in the format ftp://username:[email protected]/subdirectory for FTP or sftp://username:[email protected]/subdirectory for SFTP SFTP is only possible if you have the ssh2 extension in your PHP installation |
Deliver to local directory | To save the files in a local directory accessible and writable by the web server, enter it's full path here. |
Deliver to E-mail address | To send the files as an E-mail attachment, enter the address here. |
- The current settings for the cron will run this monthly on the 15th (confirm your settings with the picture:)
- Click Update Settings.
Updated on: 04/04/2023
Thank you!