MozBackup works as intended when using the GUI interface, but I'm running
into an error ("The selected user profile is corrupted. The program will
exit") when I use the command line interface.
I'm using the author's suggested .bat and config files:
Here is my batch file:
**********************
Echo Backing up my Thunderbird Profile with MozBackup.
cd "c:\Program Files\Mozbackup\"
mozbackup.exe Thunderbird.mozprofile
Echo Resultant .pcv can be renamed .zip
**********************
Here is the Thunderbird.mozprofile config file:
**********************
[General]
action=backup
application=Thunderbird
profile=October2008
output=c:\backup.pcv
password=
**********************
October2008 is the correct name for the profile. MozBackup is happy with
this profile when I run Mozbackup.exe directly, but not happy when I use
the command line interface. Thunderbird has been happy with this profile
since, well, October 2008.
--
Mike "Rocket J Squirrel"
Bend, Oregon
-------- Original-Nachricht --------
For me it sounds like a wrong profile name.
Bernd
For me, it sounds like a corrupted profile file. Wrong profile name
should say 'File not found: Thunderbird.mozprofile'.
In any case, sounds like a bug. Unless the file is corrupted; I do not
know the file structure.
Your manuscript is both good and original, but the part that is good is not
original and the part that is original is not good.
-- Samuel Johnson
-------- Original-Nachricht --------
1. that's in contradiction with the OPs statement that all is OK when
using the GUI
2. My theory is that the profile name October2008 is an existing Windows
folder (even the profile !) but NOT the profile in Mozbackup's sense. So
Mozbackup cannot find the TB files, it wants to backup.
3. I don't know what information Mozbackup needs as profile name;
possibly the same syntax as in the profiles.ini e.g.
Path=Profiles/ga0htn5u.default
with a PATH relative to the "Thunderbird" folder.
Bernd
Thank you, Bernd.
The sample configuration file provided by the author shows how the profile
is meant to be written:
[General]
action=backup
application=Firefox
profile=Default
output=c:\backup.pcv
password=
No pathing there.
But I tried changing the config file with full pathing, i.e.,
[General]
action=backup
application=Thunderbird
profile="C:Documents and Setting/Mike/Application
Data/Thunderbird/Profiles/jo2wqdbf.October2008"
output=c:\backup.pcv
password=
(The wrap above is due to TB's editor.)
And still not working. I'll have to give a thumbs-down to MozBackup when
driven from the command line. Anyone got a handy non-Mozbackup profiles
backup setup they'd like to share? Just copy all the files? It needs to be
command-line driven.
profile="c:\Documents and Settings\Mike\Application
Data\Thunderbird\Profiles\jo2wqdbf.October2008"
-------- Original-Nachricht --------
Now I have tested it myself with the help of Process Monitor from
Sysinternals. It's a bug in Mozbackup. It looks for the file prefs.js to
validate the profile. The path it constructs is wrong, two complete
paths are concatenated, so the file is not found.
You are right blaming Mozbackup. I feel with you :-)
Bernd
I will recover from my sadness one day. But thank you for testing the
program. Propman was right: I used "/" in my path instead of "\" (UNIX
still has it right), but even with the properer slashes, MozBackup still
does not work.