You can use the maemo backup tool to backup the Maemo PC Connectivity configuration on your maemo device, that is, the environments and the configuration of connections and tools. Following the steps bellow, you can upgrade the OS of your maemo device and keep all Maemo PC Connectivity configuration:
Your backup is now created. This backup can updated anytime you want. When you upgrade the OS of your maemo device or reflash it, you should simply go to the backup tool again, then Settings - Backup/Restore menu option and restore the backup previously created.
This may reboot your maemo device. After that, all your Maemo PC Connectivity
configuration should be restored.