Darkwing-Duck
September 14th, 2009, 12:58 AM
So what I’m going to try and do here is give you a simple tutorial on installing Barry and configuring it to sync your blackberry with Evolution and to use the backup/restore features.
To save some time and running about I have made an install script for the first part. You can download it here (http://david.wonderly.com/files/blackberry.tar.gz).
Once you have it downloaded open your terminal and go to the folder where you downloaded the file. (I also have in the tar.gz file a copy of this tutorial.)
Once you’re in the folder where you downloaded the file unzip the tar.gz
tar -xvfz blackberry.tar.gz
Okay open the folder and there will be 3 files in there. install, README and syncit.
Run the install script
./install
Once it is done installing the packages you are ready to backup and restore your blackberry. Plug it in and type barrybackup to launch the program!
Now, if you are like me and wanted to sync your blackberry with Evolution there is a little more work to do. First off you want to make sure you have all your information in Evolution backed up. With evolution open click File >> Backup Settings…
Follow those directions and it will back everything up for ya.
Now, to the fun stuff. Configuring opensync to run with Evolution and your Blackberry.
Run these commands one at a time.
msynctool --delgroup EvoBarry
msynctool --addgroup EvoBarry
msynctool --addmember EvoBarry evo2-sync
msynctool --addmember EvoBarry barry-sync
msynctool --configure EvoBarry 1
Okay, at this point it will bring up a text editor to configure the file. While it may look like a GUI it really isn’t. To navigate you should use the arrow keys. This file is setup like a XML file. You should change the contents to reflect what I have below. The only thing you need to custom change is the XXXXX to whatever your home folder is (If your login is direct the the XXXXX will be direct).
<config>
<address_path>file:///home/XXXXX/.evolution/addressbook/local/system</address_path>
<calendar_path>file:///home/XXXXX/.evolution/calendar/local/system</calendar_path>
<tasks_path>file:///home/XXXXX/.evolution/tasks/local/system</tasks_path>
</config> Press Ctrl+X to close and and press Y to save.
Now, your ready for the second configuration.
msynctool --configure EvoBarry 2
Here there are a couple of things you will need to change or update. You will need to update your device PIN and if you have a password for your device you will need to delete the # that is before Password and change the work secret to whatever your password is.
#
# This is the default configuration file for the barry-sync opensync plugin.
# Comments are preceded by a '#' mark at the beginning of a line.
# The config format is a set of lines of .
#
# Keywords available:
#
# DebugMode - If present, verbose USB debug output will be enabled
#
# Device - If present, it is followed by the following values:
# PIN number - PIN number of the device to sync with (in hex)
# sync calendar - 1 to sync calendar, 0 to skip
# sync contacts - 1 to sync contacts, 0 to skip
#
# Password secret - If present, specifies the device's password in plaintext
#
#DebugMode
Device 3009efe3 1 1
#Password secret
Once again, press Ctrl+X to exit and Y to save.
Now for the last command.
msynctool --showgroup EvoBarry
Now that everything is good to go you can run the syncit file.
./syncit
If you have any problems or have any questions please feel free to email me.
To save some time and running about I have made an install script for the first part. You can download it here (http://david.wonderly.com/files/blackberry.tar.gz).
Once you have it downloaded open your terminal and go to the folder where you downloaded the file. (I also have in the tar.gz file a copy of this tutorial.)
Once you’re in the folder where you downloaded the file unzip the tar.gz
tar -xvfz blackberry.tar.gz
Okay open the folder and there will be 3 files in there. install, README and syncit.
Run the install script
./install
Once it is done installing the packages you are ready to backup and restore your blackberry. Plug it in and type barrybackup to launch the program!
Now, if you are like me and wanted to sync your blackberry with Evolution there is a little more work to do. First off you want to make sure you have all your information in Evolution backed up. With evolution open click File >> Backup Settings…
Follow those directions and it will back everything up for ya.
Now, to the fun stuff. Configuring opensync to run with Evolution and your Blackberry.
Run these commands one at a time.
msynctool --delgroup EvoBarry
msynctool --addgroup EvoBarry
msynctool --addmember EvoBarry evo2-sync
msynctool --addmember EvoBarry barry-sync
msynctool --configure EvoBarry 1
Okay, at this point it will bring up a text editor to configure the file. While it may look like a GUI it really isn’t. To navigate you should use the arrow keys. This file is setup like a XML file. You should change the contents to reflect what I have below. The only thing you need to custom change is the XXXXX to whatever your home folder is (If your login is direct the the XXXXX will be direct).
<config>
<address_path>file:///home/XXXXX/.evolution/addressbook/local/system</address_path>
<calendar_path>file:///home/XXXXX/.evolution/calendar/local/system</calendar_path>
<tasks_path>file:///home/XXXXX/.evolution/tasks/local/system</tasks_path>
</config> Press Ctrl+X to close and and press Y to save.
Now, your ready for the second configuration.
msynctool --configure EvoBarry 2
Here there are a couple of things you will need to change or update. You will need to update your device PIN and if you have a password for your device you will need to delete the # that is before Password and change the work secret to whatever your password is.
#
# This is the default configuration file for the barry-sync opensync plugin.
# Comments are preceded by a '#' mark at the beginning of a line.
# The config format is a set of lines of .
#
# Keywords available:
#
# DebugMode - If present, verbose USB debug output will be enabled
#
# Device - If present, it is followed by the following values:
# PIN number - PIN number of the device to sync with (in hex)
# sync calendar - 1 to sync calendar, 0 to skip
# sync contacts - 1 to sync contacts, 0 to skip
#
# Password secret - If present, specifies the device's password in plaintext
#
#DebugMode
Device 3009efe3 1 1
#Password secret
Once again, press Ctrl+X to exit and Y to save.
Now for the last command.
msynctool --showgroup EvoBarry
Now that everything is good to go you can run the syncit file.
./syncit
If you have any problems or have any questions please feel free to email me.