0
How to Backup Buffered Sender Sessions (version 23)
Knowledge Base / Version 23 / System Admin Duties / Data Collection
By default, after a buffered session is processed by the Sender service, the session file is deleted. Configuring the system to backup the buffered files allows the data to be stored in a temp directory for a set amount of time before it is rolled off or manually deleted.
Configuration
- Open the CanarySender.exe.settings file. By default, this is stored in C:\Program Files\Canary\Sender.
- Under the 'senderSettings', add a new parameter, 'backupDays'. (It is case sensitive.)
- Set it to a value from 0 to 10. Zero will be off. If it is set higher than 10, 10 will be used anyway. Once the buffered files exceed the set days, they will be rolled off.
- Restart the Sender service to pick up this change. A message will appear in the message log indicating the set amount of days.
How It Works
Backup files will be stored in C:\ProgramData\Canary\Sender\Backup alongside the Buffer folder. After a buffered file is finished processing, and before it gets deleted, the Sender checks to see if it should be backed up. If it does, it will be moved to the Backup folder instead of being deleted where it will remain until it is rolled off.