I’ve found the easiest way to backup Firefox and Thunderbird is through the use of AutoIt scripts and Mozbackup. After installing the programs, do the following:
Add the mozbackup installation directory to your system Path variable. This is so mozbackup can run from the command line in any directory.
Create your mozbackup profile files. They may look similar to this:
[General] action=backup application=Thunderbird profile=default output=X:\Alexs_Email_BAK\<application> <version> - <year>-<month>-<day>.pcv password=
Create your auto it scripts. They may look similar to this:
If ProcessExists("thunderbird.exe") Then ; Check if the thunderbird process is running. Local $iPid = ProcessExists("thunderbird.exe") ProcessClose("thunderbird.exe") EndIf Sleep(2000) if ProcessExists("thunderbird.exe") = False Then RunWait("mozbackup F:\Bakscripts\mozprofile\tbird.mozprofile") EndIf
Compile your autoit scripts into executables and add them to your task scheduler.