Re: [Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-07 Thread Patryk Benderz
Dnia 2012-08-06, pon o godzinie 09:52 -0600, Brian A Anderson pisze:
 How do I migrate from one machine running Evolution 2.24.5
[cut]
thats some ancient version. I would try to upgrade Evo to newer one on
old hardware, which should change data structures of storage. Then try
to make backup on old, and restore on new hardware.
-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-07 Thread Pete Biggs
On Mon, 2012-08-06 at 13:24 -0600, Brian A Anderson wrote:
 On Mon, 2012-08-06 at 17:26 +0100, Pete Biggs wrote:
  On Mon, 2012-08-06 at 09:52 -0600, Brian A Anderson wrote:
   How do I migrate from one machine running Evolution 2.24.5 to another
   machine running Evolution 3.4.3.
  
 
 I tried using this procedure but it did not work.
 I used the backup from the old version 2.24.5 it produced a
 evolution-backup.tar.gz

Sorry, it didn't impinge on my brain that you were using such an old
version.

 So I killed all the programs and removed all the files in my user space
 and restarted evolution 3.4.3 on the new machine

Did you try restarting Evolution without removing the files to see if it
migrated the data to the new format?

  and downloaded files
 from my ISP provider.
 So far so good.  But no files from before.

Sometimes it is better to start from scratch and rebuild all the data -
it depends on how many mail accounts you have, how your accounts are
accessed and how complex your setup is.  I'm going to have to do it at
some point because I have crud in my Evo folders from much testing of
various mail types, calendars, contacts and so on, and I have no idea
which I can safely delete!  So, look on the bright side 

P.


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-07 Thread Pete Biggs
On Mon, 2012-08-06 at 13:31 -0600, Brian A Anderson wrote:
 This sounds a bit like I have a mission impossible.
 Looks like Evolution 3.0 does the conversion.
 I don't have 3.0.

It's in Fedora 15, so the easiest way of accessing Evo 3.0 is to
install F15 on a virtual machine and use that to do the conversion - but
see below.

 
 If I follow what you said below,  Does this mean that I have to convert
 2.24.5 data to 2.32 data and then to 3.4 or is it just one conversion?

It's more likely to work properly if you go in small steps - there was a
big change in data going to 2.32 and a similar big change going to 3.0.
3.4 introduced another change in the way the configuration data are
held.  Evo can probably cope with a single conversion, but it is more
likely to get it wrong.  The safest way is to go to 2.32 first, then 3.0
then 3.4.  Andre was saying that it should be OK to miss out the 2.32
step and use 3.0 to convert that data from the 2.24 format.  It is
unlikely though that the Evolution backup files will work from 2.24 (the
tar.gz file doesn't just contain data, it also contains settings that
need to merged into gconf as part of the restore process, that's why you
can't just untar the file and expect it to work). So you need to upgrade
your (failing) machine first to Fedora15 - after taking a back up copy
of your data!  Then use that to create an Evolution backup file that can
be imported into 3.4 on F17

 Is there a utility that someone has that might do this job?

Yes, it's built in to Evolution - I don't think there's an official
stand alone utility to do it, although someone may have cobbled together
a script for it.

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-07 Thread Zan Lynx
On Mon, 2012-08-06 at 16:33 -0400, Matthew Barnes wrote:
 On Mon, 2012-08-06 at 13:31 -0600, Brian A Anderson wrote:
  If I follow what you said below,  Does this mean that I have to convert
  2.24.5 data to 2.32 data and then to 3.4 or is it just one conversion?
  Is there a utility that someone has that might do this job?
 
 You don't HAVE to, but I think what Andre meant is the bigger the jump
 the bigger the risk.
 
 Migration routines are written to convert data from the previous major
 release to the upcoming major release at the time of writing.  So if I
 wrote a new routine today it would convert something from the way it's
 represented in 3.4 to the way it will be represented in 3.6, and that's
 about as much testing as it receives prior to release.
 
 The theory goes, as the routines execute chronological order, the data
 undergoes one or possibly multiple conversions but should end up in the
 currently supported representation.  But as time passes, old migration
 routines may bit rot and silently break.
 
 Case in point: I believe the mbox-to-Maildir conversion itself still
 works in 3.4 but the detection for when the conversion needs to run is
 currently broken because it relies on some subtle aspect of the startup
 sequence that has changed since 3.0.
 

In my experience, one of the better ways to do data conversion is to
write an independent program to do it. Name it something like
evolution-convert-3.2-3.4. After enough time, you would have a
conversion program for each version and they could be run in order. They
could also run without requiring a full working Gnome/Evolution
environment so they could be used to convert offline data. On a backup
server for example.

-- 
Knowledge Is Power
Power Corrupts
Study Hard
Be Evil


signature.asc
Description: This is a digitally signed message part
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-07 Thread Brian A Anderson
I believe I have found a procedure to follow to do a migration/merge of
data from a backup.tar.gz file from the old 2.24.5 version to the newer
3.4.3 version.

The key piece of info that I needed was the format of the two different
versions.   Since I was only really using evolution as a mail system I
could ignore most of the other files.  I was only really interested in
extracting the mail messages from the old version and saving them.

Meanwhile I had started to use 3.4.3 so I had msgs that I did not want
to lose so a full restore was out of the question.  And the project
became a merge of data from the old into the newer version.

As I said before the prospect of upgrading the version on the dying
machine was not available.

I am in the process of writing a summary/procedure of what I did and how
it works so that it can be done by those who suffer from the same
problem I encountered.I will post those notes to this mailing list.
I warn it is a bit long.   But I hope it would help some.

Thanks to those that responded and provided me the info needed to learn
what I learned.

Thanks,
Brian Anderson
 




On Mon, 2012-08-06 at 09:52 -0600, Brian A Anderson wrote:
 How do I migrate from one machine running Evolution 2.24.5 to another
 machine running Evolution 3.4.3.
 
 Please note that the older machine (running 2.24.5) is dying a slow
 hardware death.
 
 I tried backup on old machine and restore on new machine.
 No go.  It appears that the data is totally different in organization.
 
 Thanks in advance for any help.
 
 
 ___
 evolution-list mailing list
 evolution-list@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-list


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-06 Thread Brian A Anderson
How do I migrate from one machine running Evolution 2.24.5 to another
machine running Evolution 3.4.3.

Please note that the older machine (running 2.24.5) is dying a slow
hardware death.

I tried backup on old machine and restore on new machine.
No go.  It appears that the data is totally different in organization.

Thanks in advance for any help.


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-06 Thread Andre Klapper
On Mon, 2012-08-06 at 09:52 -0600, Brian A Anderson wrote:
 How do I migrate from one machine running Evolution 2.24.5 to another
 machine running Evolution 3.4.3.

Maintenance of 2.24 by upstream Evolution developers basically ended
with the release of 2.28 in 2009.
Changes that have happened in the meantime:
With 2.32, Evolution started to store its data and preferences according
to the XDG Base Directory Specification.
Evolution 3.0 converted the default format from mbox to maildir.
Evolution 3.4 uses GSettings/dconf instead of gconf for storing
preferences.

 I tried backup on old machine and restore on new machine.
 No go.  It appears that the data is totally different in organization.

In case you used the Backup/Restore functionality of Evolution: It's
very likely untested for such a big change in version numbers.

My vague recommendation would be to install 3.0 on a machine and let
Evolution pick up your data and settings to convert them, and then do
the same again on a 3.4 machine.

andre
-- 
mailto:ak...@gmx.net | failed
http://blogs.gnome.org/aklapper

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-06 Thread Pete Biggs
On Mon, 2012-08-06 at 09:52 -0600, Brian A Anderson wrote:
 How do I migrate from one machine running Evolution 2.24.5 to another
 machine running Evolution 3.4.3.

You back it up from within Evolution, then restore it in the new
version.  See

 http://library.gnome.org/users/evolution/3.4/backup-restore.html.en

 
 Please note that the older machine (running 2.24.5) is dying a slow
 hardware death.
 
 I tried backup on old machine and restore on new machine.
 No go.  It appears that the data is totally different in organization.
 

How did you backup the data?

And yes the file locations are different, but Evolution is intelligent
enough to migrate data if it detects data in the old locations.

P.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-06 Thread Brian A Anderson
On Mon, 2012-08-06 at 17:26 +0100, Pete Biggs wrote:
 On Mon, 2012-08-06 at 09:52 -0600, Brian A Anderson wrote:
  How do I migrate from one machine running Evolution 2.24.5 to another
  machine running Evolution 3.4.3.
 

I tried using this procedure but it did not work.
I used the backup from the old version 2.24.5 it produced a
evolution-backup.tar.gz
I moved that file to the new machine then went to the restore from
backup selection.   Selected the above file and watched while it ran.
I could see no information using evolution 3.4.3.
THe set of what appears to be 4 files per 2.24.5 folder were present in
the new tree.  But all the other stuff was gone.
Evolution was fundamentally useless at this point.
So I killed all the programs and removed all the files in my user space
and restarted evolution 3.4.3 on the new machine and downloaded files
from my ISP provider.
So far so good.  But no files from before.

 You back it up from within Evolution, then restore it in the new
 version.  See
 
  http://library.gnome.org/users/evolution/3.4/backup-restore.html.en
 
  
  Please note that the older machine (running 2.24.5) is dying a slow
  hardware death.
  
  I tried backup on old machine and restore on new machine.
  No go.  It appears that the data is totally different in organization.
  
 
 How did you backup the data?
 
 And yes the file locations are different, but Evolution is intelligent
 enough to migrate data if it detects data in the old locations.
 
 P.
 
 ___
 evolution-list mailing list
 evolution-list@gnome.org
 To change your list options or unsubscribe, visit ...
 https://mail.gnome.org/mailman/listinfo/evolution-list


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-06 Thread Brian A Anderson
This sounds a bit like I have a mission impossible.
Looks like Evolution 3.0 does the conversion.
I don't have 3.0.

If I follow what you said below,  Does this mean that I have to convert
2.24.5 data to 2.32 data and then to 3.4 or is it just one conversion?
Is there a utility that someone has that might do this job?

Again thanks in advance for any help.
Brian.


On Mon, 2012-08-06 at 18:23 +0200, Andre Klapper wrote:
 On Mon, 2012-08-06 at 09:52 -0600, Brian A Anderson wrote:
  How do I migrate from one machine running Evolution 2.24.5 to another
  machine running Evolution 3.4.3.
 
 Maintenance of 2.24 by upstream Evolution developers basically ended
 with the release of 2.28 in 2009.
 Changes that have happened in the meantime:
 With 2.32, Evolution started to store its data and preferences according
 to the XDG Base Directory Specification.
 Evolution 3.0 converted the default format from mbox to maildir.
 Evolution 3.4 uses GSettings/dconf instead of gconf for storing
 preferences.
 
  I tried backup on old machine and restore on new machine.
  No go.  It appears that the data is totally different in organization.
 
 In case you used the Backup/Restore functionality of Evolution: It's
 very likely untested for such a big change in version numbers.
 
 My vague recommendation would be to install 3.0 on a machine and let
 Evolution pick up your data and settings to convert them, and then do
 the same again on a 3.4 machine.
 
 andre


___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Data migration Evolution 2.24.5 to 3.4.3

2012-08-06 Thread Matthew Barnes
On Mon, 2012-08-06 at 13:31 -0600, Brian A Anderson wrote:
 If I follow what you said below,  Does this mean that I have to convert
 2.24.5 data to 2.32 data and then to 3.4 or is it just one conversion?
 Is there a utility that someone has that might do this job?

You don't HAVE to, but I think what Andre meant is the bigger the jump
the bigger the risk.

Migration routines are written to convert data from the previous major
release to the upcoming major release at the time of writing.  So if I
wrote a new routine today it would convert something from the way it's
represented in 3.4 to the way it will be represented in 3.6, and that's
about as much testing as it receives prior to release.

The theory goes, as the routines execute chronological order, the data
undergoes one or possibly multiple conversions but should end up in the
currently supported representation.  But as time passes, old migration
routines may bit rot and silently break.

Case in point: I believe the mbox-to-Maildir conversion itself still
works in 3.4 but the detection for when the conversion needs to run is
currently broken because it relies on some subtle aspect of the startup
sequence that has changed since 3.0.

I do plan to fix that this week for 3.4.4, which is coming up soon.  I
believe that may be the cause of at least some of your troubles, as well
as for others on this list that have recently reported similar problems
after upgrading from 2.x.

Matthew Barnes

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list