On Dec 28, 2008 5:32am, Alain Spineux <aspineux@gmail.com> wrote:<br />> On Sat, Dec 27, 2008 at 11:25 PM,  Lucidblue0@gmail.com> wrote:<br />> <br />> > Thanks Alain,<br />> <br />> ><br />> <br />> > this is the output of the >rpm -qa "bdb*" "db*":<br />> <br />> ><br />> <br />> > Current Server:<br />> <br />> > dbus-1-mono-0.63-28<br />> <br />> > dbus-1-1.0.0-7<br />> <br />> > dbus-1-glib-0.71-26<br />> <br />> > db-4.4.20-16<br />> <br />> > dbus-1-x11-1.0.0-7<br />> <br />> > dbus-1-python-0.71-28<br />> <br />> > db-utils-4.4.20-16<br />> <br />> ><br />> <br />> > New Server:<br />> <br />> ><br />> <br />> > dbus-1-glib-0.74-25<br />> <br />> > dbus-1-1.0.2-59<br />> <br />> > db-utils-4.5.20-29<br />> <br />> <br />> <br />> I was expecting a db-?? on your new server !<br />> <br />> db-utils-4.4 vs db-utils-4.5 means the version has changed between<br />> <br />> your two server.<br />> <br />> <br />> <br />> Anyway I dont know how your version of cyrus-imap is linked with the<br />> <br />> berkeley db library in the Suse package<br />> <br />> and then wich version it's using !<br />> <br />> <br />> <br />> Anyway doing a conversion in between should always solve the problem<br />> <br />> in any case (even if the source and the targed<br />> <br />> imap server are identical platforms)<br />> <br />> <br />> <br />> OPS: did I say you have to do the export using the cvt_cyrusdb of the<br />> <br />> source server and do the import using the one of the target server ?<br />> <br /><br />Nope, you didn't mention that, but I'd gathered as much.  Sounds like this should work, I'll do some testing to see if that's the case.  <br /><br />Even after this gets working, I still need to figure out how to sync up the toltec connector with the new server, in talking to Joon, it seems that the only way might just be to let toltec push all the old messages onto the new server.  Apparently there's no way to keep the folder UID's from changing, I haven't heard back on my latest email, so that may have been in response to my questions about using imapsync to do the work.  Any thoughts on this are good, I would assume it would be similar issues when dealing with Kontact as a client as well...<br /><br />Thanks<br />> <br />> <br />> Regards<br />> <br />> <br />> <br />> ><br />> <br />> ><br />> <br />> > -- I don't know what I'm looking for here, I wouldn't imagine any of the<br />> <br />> > dbus packages would have anything to do with it, the db-utils is newer, and<br />> <br />> > I'm missing the db-?.?.?? package, must not be used in the new install (I'm<br />> <br />> > going non gui because it just wastes space)...<br />> <br />> ><br />> <br />> > I'll try the script stuff after trying to just copy it manually and see if<br />> <br />> > it yells again..<br />> <br />> ><br />> <br />> > thanks,<br />> <br />> > -Skip<br />> <br />> ><br />> <br />> > On Dec 27, 2008 1:35am, Alain Spineux aspineux@gmail.com> wrote:<br />> <br />> >> On Sat, Dec 27, 2008 at 8:54 AM,  Lucidblue0@gmail.com> wrote:<br />> <br />> >><br />> <br />> >> > Hi all,<br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >> > I'm trying to migrate a current install of 2.1 to a 2.2 server.<br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >> > I first exported the LDAP on the original system. I ran kolab_bootstrap<br />> <br />> >> > -b<br />> <br />> >><br />> <br />> >> > on the new system and then cleared out the new LDAP, changed the hashes<br />> <br />> >> > for<br />> <br />> >><br />> <br />> >> > the nobody and manager accounts in the exported ldif file, then had a<br />> <br />> >><br />> <br />> >> > successful import. This finally was the easiest approach, even after<br />> <br />> >> > trying<br />> <br />> >><br />> <br />> >> > to find all the config files, I guess the hash was still different even<br />> <br />> >><br />> <br />> >> > though it was the same pass...<br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >> > Next I was able to export and then import the mailboxes.db.<br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >> > The last vital step (aside from rsync'ing the mail), is to somehow copy<br />> <br />> >> > the<br />> <br />> >><br />> <br />> >> > annotations.db, I remember when I tried to do this in the past, I just<br />> <br />> >><br />> <br />> >> > copied the file and I was getting DB_ERROR's in the log files.<br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >> > After much googling, I'm not seeing anything that actually mentions how<br />> <br />> >> > to<br />> <br />> >><br />> <br />> >> > do this, all the backup docs I've found just skip over it, saying "and<br />> <br />> >> > you<br />> <br />> >><br />> <br />> >> > might want to backup the annotations.db too".<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> Yes, you have to copy the annotation.db too<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> Happy New Year !<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >> > Should I be able to just copy that file and put it into the new install?<br />> <br />> >> > I<br />> <br />> >><br />> <br />> >> > have multiple calendar and contact folders on group account and also one<br />> <br />> >> > or<br />> <br />> >><br />> <br />> >> > more per user account.<br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >> > Any ideas about this would be great. The migration is going from a SuSE<br />> <br />> >> > 10.2<br />> <br />> >><br />> <br />> >> > native (Kolab 2.1) to a SuSE 10.3 native (Kolab 2.2).<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> .... hum, it depent the Berkely DB package, run this on both machine and<br />> <br />> >> compare<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> # rpm -qa "bdb*" "db*"<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> If they is enought different then it could be not compatible.<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> If so here it part of my backup/restore restore script :<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >>   # backup<br />> <br />> >><br />> <br />> >>   su $eg_cyrus_user -c "/kolab/bin/cvt_cyrusdb $ANNOTATIONS_DB<br />> <br />> >><br />> <br />> >> berkeley $ANNOTATIONS_BAK skiplist"<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >>   # restore<br />> <br />> >><br />> <br />> >>   chown $eg_cyrus_user.$eg_cyrus_user $ANNOTATIONS_BAK<br />> <br />> >><br />> <br />> >>   su $eg_cyrus_user -c "/kolab/bin/cvt_cyrusdb $ANNOTATIONS_BAK<br />> <br />> >><br />> <br />> >> skiplist $ANNOTATIONS_DB berkeley"<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >> > Thanks,<br />> <br />> >><br />> <br />> >> > -Skip<br />> <br />> >><br />> <br />> >> > _______________________________________________<br />> <br />> >><br />> <br />> >> > Kolab-users mailing list<br />> <br />> >><br />> <br />> >> > Kolab-users@kolab.org<br />> <br />> >><br />> <br />> >> > https://kolab.org/mailman/listinfo/kolab-users<br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >> ><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> --<br />> <br />> >><br />> <br />> >> Alain Spineux<br />> <br />> >><br />> <br />> >> aspineux gmail com<br />> <br />> >><br />> <br />> >> May the sources be with you<br />> <br />> >><br />> <br />> >><br />> <br />> >><br />> <br />> >> _______________________________________________<br />> <br />> >><br />> <br />> >> Kolab-users mailing list<br />> <br />> >><br />> <br />> >> Kolab-users@kolab.org<br />> <br />> >><br />> <br />> >> https://kolab.org/mailman/listinfo/kolab-users<br />> <br />> >><br />> <br />> <br />> <br />> <br />> <br />> <br />> <br />> --<br />> <br />> Alain Spineux<br />> <br />> aspineux gmail com<br />> <br />> May the sources be with you<br />>