-----Original Message-----
From: Milan Crha via evolution-list <evolution-list@gnome.org>
Reply-To: Milan Crha <mc...@redhat.com>
To: evolution-list@gnome.org
Subject: Re: [Evolution] Address Book not Restoring
Date: Tue, 01 Sep 2020 19:01:23 +0200

On Tue, 2020-09-01 at 10:31 -0500, BC wrote:
> thought that was the purpose of regularly running backups.

        Hi,that's true. What I've been trying to figure out whether, for
somereason, you'd not downgrade the evolution version by changing
thedistribution. That would make it hard to restore from a backup,
becausethe code know the past, not the future (aka when the internal
formatchanges, the past code doesn't know what to do, while the new code
knowwhat to do with the old data format to upgrade it to the new
dataformat).
> Should I try uninstalling Evolution and then reinstalling it,
> thenopening withterminal and then restoring the backup???-- 

Oh. That's a good news, I hope. Does it fail with the recent backup?The
warnings from console about CSS and gtk and the like are allunrelated.
> One thing I just thought of, I uninstalled thunderbird from
> thecomputer, including lightning, when setting up my new
> install.  Can'tremember if I did that before or after restoring
> Evolution.Could that possibly be a contributing factor?

No, I do not think so. The two applications are completely independent.
When you check the content of the Evolution's backup file, it containsan
evolution.dir file, which has stored what version the Evolution waswhen
the backup had been created. The backup itself has similarstructure as
described here:
https://help.gnome.org/users/evolution/stable/data-storage.html
Thus you can,e ventually, restore the files manually. The only problemis
to have all evolution-related processes closed when playing with
theinternal files, which is not always possible (as for example
GNOMEShell keeps restarting evolution-calendar-factory, which runs
otherbackground processes). You can eventually run:
    $ evolution --force-shutdown
and then verify the processes are down:
    $ ps ax | grep evolution
and/or run the force-shutdown also after manual restore.
How to extract only contacts from the sqlite3 database you can find
atthe end of:
https://mail.gnome.org/archives/evolution-list/2015-October/msg00089.html
That might be easier than to restore everything. You just need to
pointsqlite3 to the correct database file (from the backup file). And
todelete old contacts in the target address book.
        Hope it helps,  Milan
_______________________________________________evolution-list mailing 
listevolution-l...@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


        
        
        

Milan,


OK, I extracted the contacts DB on my backup drive.  I deleted all of the 
contacts from my email system.  I had to install sqlite3, and then ran the 
command.  I got the ">" prompt and nothing else?  Not sure what to do with that.



Command: root@me:/media/drivename/Backup
I/Evolution Data and Firefox Profile Backup/addressbook/system#
sqlite3 /media/Ben/Backup
I/Evolution
Data and Firefox Profile Backup/addressbook/system/contacts.db
\"SELECT vcard From folder_id">contacts.ics

>







Thanks,

-- 

Barry


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

Reply via email to