B2LogBackup Program 
Authored by Krishna Gopalan
becky@krishna-gopalan.com
+----------------------------------------------------------------------+
Introduction

This is a simple Application  program to backup your Becky Mail emails.
+----------------------------------------------------------------------+
Disclaimer.

You can copy this program, share it, analyze it, jump on it, do whatever you want.....
But.....no guaranties. Though this program has been tried and trusted over a long time
I am not responsible for what could possible happen as a consequensce of this program.
Do not get scared. I have been using this for a long time without any problem.
+------------------------------------------------------------------------------------------------------------------------------------------+
Description

This program will save your B2 mail backup logs in the specified zippped Rar file date wise.	
Inside the rar file <named B2LogsZip.rar> the mail log files are arranged as 
<B2mailboxname>yyyymmdd.bkl for incoming mails
<B2mailboxname>yyyymmdd.bks for outgoing mails
i.e each mailbox stores its backup files seperately datewise so that it is easy for  locating an archived mail.
Note rar file format is used because rar compression utility is faster and more compact than winzip.

+------------------------------------------------------------------------------------------------------------------------------------------+
Installation
1. 	IMPORTANT : To use this programs the Save Backup Logs Option	should   be checked in B2 mail program.
	To do this Go to Tools > General Setup > Recieve > Backup Logs - 
	Check Backup Incoming message and Backup Outgoing message.
	It does not matter what number you give for Delete after ....days.
	 If you want to retain the original log files in this directory for 'x' days put this value 'x' in the text box.
	
2.	Unzip the  downloaded file B2LogBackup.zip to any folder 
         (for eg. C:\Backups\B2Mail\B2LogBackup)

3.	The contents of the unzipped folder are:
	1.	B2LogBackup.exe (The Application)
	2.	rar.exe   (the compression utility)
	3.      B2Backup.ini (The configuration file)
	4.      Readme1st.txt  (this file)
	
	Do Not Delete any of the above Four files.
	
4.     Open the B2Backup.ini in any text editor like Notepad.
        One way of opening the file is to right click it , click open with and choose Notepad (or any other editor)
         or Open notepad first, click File >Open , browse to this directory, select files of all types and then open the .ini file.
         
 5.   In the B2Backup.ini file make the following changes:
 	1.  Change the Backup Directory <BackupDir> to  your Backup Directory (say C:\Backups\B2Mail)  
 	     You don't have to create the Directory. It it doesn't exist it is automatically created.
 	 
 	 2.  If you want change the name of the backup archived compressed file (B2LogsZip.rar) the file should be in the format FileName.rar
 	 
+------------------------------------------------------------------------------------------------------------------------------------------+
Operation
 
 1.  To run this file just double click on the B2LogBackup.exe
 2.  You should be generating a file called B2LogsZip.rar in the Backup directory you defined, which contains the B2mail archive logs.
 3   You can run this batch program as a Scheduled Task from the Windows Task scheduler.
 5.  To do this go to Start>Programs>Accessories>Scheduled Task from the Windows Start Menu.
 6.  Click Add scheduled task
 7. Click Next.
 8.  Browse to the Directory where the B2LogBackup.exe is installed and double click on this  file.
 9. Give the Task any name you choose (or leave it as the default)
 10. Schedule the task (daily , weekly or whatever) (I have set it on Daily at 11:50 pm)
 11 In case of Windows XP or Windows 2000 you have to enter the windows user name and password if the option appears.
 12 You can set other options for this task by checking Open Advanced Options.
 13  Click OK and close the Task Scheduler.
 14. Note the above procedure is given for Windows XP.  The actual steps may vary depending on the Windows version.
 
+------------------------------------------------------------------------------------------------------------------------------------------+
  Restoration
 
1. To restore your backed up archives Unzip the B2LogsZip.rar file (or the rar file you have named) to any folder of your choice using Winrar.
    You can download WinRar from http://www.rarlab.com. Carry out installation instructions given with WinRar.
    If you do not want to download the Windows GUI version of WinRar, do the following.
    From the command prompt go the directory where the Application (and rar.exe) is installed
    type rar e <path to Backed up rar file>  <Directory Path to Extract>\  (don't forget the backslash)
    example : rar e C:\Backups\B2mail\b2logzip.rar C:\Backups\B2mail\Restore\
    and press enter. 
 2.  Open the mail folder in  B2Mail where you want to import your mails.
 3.  Go to File>Import Backup Logs
 4.  Browse to the folder where you have extracted the Archives. (example C:\Backups\B2Mail\Restore)
 5.  Select the file(s) (one or more) (named as <MailboxName><date>.bkl for the Incoming mails to import.
 6. Click Open.  The mails are imported into your Current Mailbox folder.
 7. To Import Sent mails, The window in step 5 does not by default list the *.bks (Sent Log files).
 8.  To view the .bks files -  type *.bks in the File Name text box (or *.* to view all types of files) and Click Open.
 6.  Select the archived file(s) which you wish to import and Click Open.
 7.  There you are........
+------------------------------------------------------------------------------------------------------------------------------------------+
Questions:

For any queries / errors please feel free to mail me at becky@krishna-gopalan.com
Please note that this is a simple application without much features but serves the purpose for which it is intended.

