JBakup
JBakup is an application that is running on the JNIOR to help extend the life of your log files. It does this by monitoring the filesystem for the creating of a .log.bak
file. This logic runs just once every 15 minutes. When a .log.bak
file is found that has NOT been previously processed then it is added to the .zip of the same name in the flash/baks
directory.
The JAVA application doesnt take care of the zipping of the backup file data but rather creates a script that the OS executes using the ARC
command.
The code is small and should be easy to follow.