Re: [Evolution] Backing up Evolution Data

2015-09-09 Thread Ángel González

Evolution uses different folders for different types of content,
following the XDG Base Specification, which is actually a good thing.

> From this info:
> https://help.gnome.org/users/evolution/stable/data-storage.html.en
> I understand want to copy this folder:
> 
> ~/.local/share/evolution
Here is the "general" data -including emails-.


> ~/.config/evolution

Whereas the files here are configuration settings that could be
recreated by the user if needed.


> ~/.cache/evolution

And this is data which can be safely discardewd.


> ~/.config/dconf (*)
> But into ~/.config/dconf are stored all DCONF setting of all other
> application, an in this case I want to copy only Evo settings, not
> the rest.

That's true, although it's a problem of dconf, not something specific
to evolution.

You can export only evolution-related data with: 

dconf  dump /org/gnome/evolution/
dconf  dump /org/gnome/evolution-data-server/


Zan wrote:
> One single .application directory like Firefox uses in .mozilla and
> Thunderbird in .thunderbird is far more manageable and useful.


Actually, Firefox no longer does this. It now uses: 

~/.mozilla/firefox//
~/.cache/mozilla/firefox//


Which is a perfect example of why the XDG spec split the folders in
this way, instead of saying "put everything about the program into
~/.apps/".

It makes no sense to include in a firefox backup hundreds of MB that
are just downloaded web pages and won't be of any use if restored
later. Excluding ~/.cache you can easily exclude from a backup the
unneeded data from all (conformant) programs.






___
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] Backing up Evolution Data

2015-09-09 Thread Dario Lesca
Il giorno mer, 09/09/2015 alle 16.47 +0200, Rudolf Künzli ha scritto:
> Sure, Dario. I just wonder why you're running TB and Evolution on the
> same system.

I use Evo for my primary email account POP3, and TB for extra various
IMAP/POP3 accounts, point to email servers of my clients for test only.

Also, my various clients use thunderbird, and so, I can suggest them
how to setting some functionality or account.

Also, Evo support more than one spell checker simultaneous (IT and EN
and Foo and ...) and TB no, it use only one spell checker at time.

   
-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)

___
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] Backing up Evolution Data

2015-09-09 Thread Pete Biggs

> > Evolution conforms to Gnome standards, because it's a Gnome
> > application.  Firefox/Thunderbird aren't Gnome applications - if they
> > were they should store their data according to Gnome guidelines.
> 
> Ok, then?

Look, I'm not saying one way or the other is correct.  They are
different.  Evo conforms to certain standards as is necessary for it to
be a well behaved Gnome application. Plenty of other applications do
the same thing, just look in ~/.config - if anything TB & FF are the
exceptions.  (SSH is not a desktop application, so is not comparable.)


> 
> From this info:
> https://help.gnome.org/users/evolution/stable/data-storage.html.en
> I understand want to copy this folder:
> 
> ~/.local/share/evolution
> ~/.config/evolution
> ~/.cache/evolution

No, don't copy .cache - it's a cache and contains throwaway data.

> ~/.config/dconf (*)
> But into ~/.config/dconf are stored all DCONF setting of all other
> application, an in this case I want to copy only Evo settings, not
> the rest.

You don't want to copy dconf data using file copies unless you really
know what you are doing.

>  
> Some can suggest how to do a full restore of Evo settings and data
> from a backup to a new PC?
> 

Create a new temporary Linux account. Restore your home directory to
that, run Evolution and create a backup and save the file somewhere. De
lete the temporary account.  Restore the backup to your own account
within Evolution.

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] Backing up Evolution Data

2015-09-09 Thread Rudolf Künzli
Sure, Dario. I just wonder why you're running TB and Evolution on the
same system.
Just curious...
Ciao
-- 
Rudolf Künzli 
On Wed, 2015-09-09 at 16:41 +0200, Dario Lesca wrote:
> Il giorno mer, 09/09/2015 alle 16.32 +0200, Rudolf Künzli ha scritto:
> > I recently had to install my stuff to a new system.
> > I am a lazy guy, I just copied my whole /home folder from my backup
> > disk over the new virgin /home folder and did allow all data to be
> > merged.
> > Worked fine for me...
> > Fedora 22, evolution 3.16.5, firefox and so on...
> 
> Thanks Rudolf, I know this method, but I want copy only data and
> settings of Evo, FF, TB, and some other few application to my new PC.
> 
> I do not want transfer old and obsolete settings and data, I want to
> start with a clean new home...
> 
> Thanks.
> 
___
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] Backing up Evolution Data

2015-09-09 Thread Dario Lesca
Il giorno mer, 09/09/2015 alle 16.32 +0200, Rudolf Künzli ha scritto:
> I recently had to install my stuff to a new system.
> I am a lazy guy, I just copied my whole /home folder from my backup
> disk over the new virgin /home folder and did allow all data to be
> merged.
> Worked fine for me...
> Fedora 22, evolution 3.16.5, firefox and so on...

Thanks Rudolf, I know this method, but I want copy only data and
settings of Evo, FF, TB, and some other few application to my new PC.

I do not want transfer old and obsolete settings and data, I want to
start with a clean new home...

Thanks.

-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)

___
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] Backing up Evolution Data

2015-09-09 Thread Rudolf Künzli
I recently had to install my stuff to a new system.
I am a lazy guy, I just copied my whole /home folder from my backup
disk over the new virgin /home folder and did allow all data to be
merged.
Worked fine for me...
Fedora 22, evolution 3.16.5, firefox and so on...
-- 
Rudolf Künzli 
On Wed, 2015-09-09 at 16:18 +0200, Dario Lesca wrote:
> Il giorno mar, 08/09/2015 alle 18.21 +0100, Pete Biggs ha scritto:
> > > 
> > > Evolution and Gnome itself are very unhelpful with this by
> > spreading
> > > necessary information into at least three different directories:
> > > .local,
> > > .config and gsettings / dconf / gconf / whatever-conf.
> > > 
> > > One single .application directory like Firefox uses in .mozilla
> > > and
> > > Thunderbird in .thunderbird is far more manageable and useful.
> > 
> > Evolution conforms to Gnome standards, because it's a Gnome
> > application.  Firefox/Thunderbird aren't Gnome applications - if
> > they
> > were they should store their data according to Gnome guidelines.
> 
> Ok, then?
> 
> If I want restore for example only Evo, TB, FF, .ssh from my home's
> backup of my old PC (old.dom.tld) dead, on my new PC, fresh installed
> with some Linux and Evo, TB, FF version, called "new.dom.tld"?
> 
> For TB, FF and .ssh is simple: I copy from home's backup the folders
> ~/.thunderbird, ~/.mozilla, and ~/.ssh to new PC and all work fine.
> 
> For Evo, what folder I must copy?
> 
> From this info:
> https://help.gnome.org/users/evolution/stable/data-storage.html.en
> I understand want to copy this folder:
> 
> ~/.local/share/evolution
> ~/.config/evolution
> ~/.cache/evolution
> ~/.config/dconf (*)
> But into ~/.config/dconf are stored all DCONF setting of all other
> application, an in this case I want to copy only Evo settings, not
> the rest.
> Also, if I copy (rsync) the tree or more Evo's folders from backup of
> old PC to new PC, I understand there is some selinux issue to
> resolve...
>  
> Some can suggest how to do a full restore of Evo settings and data
> from a backup to a new PC?
> 
> Many thanks.
> 
___
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] Backing up Evolution Data

2015-09-09 Thread Dario Lesca
Il giorno mar, 08/09/2015 alle 18.21 +0100, Pete Biggs ha scritto:
> > 
> > Evolution and Gnome itself are very unhelpful with this by
> spreading
> > necessary information into at least three different directories:
> > .local,
> > .config and gsettings / dconf / gconf / whatever-conf.
> > 
> > One single .application directory like Firefox uses in .mozilla and
> > Thunderbird in .thunderbird is far more manageable and useful.
> 
> Evolution conforms to Gnome standards, because it's a Gnome
> application.  Firefox/Thunderbird aren't Gnome applications - if they
> were they should store their data according to Gnome guidelines.

Ok, then?

If I want restore for example only Evo, TB, FF, .ssh from my home's
backup of my old PC (old.dom.tld) dead, on my new PC, fresh installed
with some Linux and Evo, TB, FF version, called "new.dom.tld"?

For TB, FF and .ssh is simple: I copy from home's backup the folders
~/.thunderbird, ~/.mozilla, and ~/.ssh to new PC and all work fine.

For Evo, what folder I must copy?

>From this info:
https://help.gnome.org/users/evolution/stable/data-storage.html.en
I understand want to copy this folder:

~/.local/share/evolution
~/.config/evolution
~/.cache/evolution
~/.config/dconf (*)
But into ~/.config/dconf are stored all DCONF setting of all other application, 
an in this case I want to copy only Evo settings, not the rest.
Also, if I copy (rsync) the tree or more Evo's folders from backup of old PC to 
new PC, I understand there is some selinux issue to resolve...
 
Some can suggest how to do a full restore of Evo settings and data from a 
backup to a new PC?

Many thanks.

-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)
___
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] Backing up Evolution Data

2015-09-09 Thread Dennis Reichel

> just a little clarification about backing up any remote data
> (including
> IMAP, NNTP, EWS, CalDAV, WebDAV, On The Web, ... basically anything
> what stores its data into ~/.cache), the built in backup doesn't
> store/restore these caches, because that's only a local copy of the
> server data, which is about to change the next time the mail folders,
> calendars,... are updated. What the backup stores is the description
> of
> the account, thus the next start after restore the evolution can
> connect to the server and get fresh data from it. Of course, it has a
> disadvantage of loading folder summaries from scratch, which can take
> its time when the folders are large. It's still less data than
> backing
> up copy of the server content.
>   Bye,
>   Milan

Thanks Milan, this is important to know.

___
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] Backing up Evolution Data

2015-09-09 Thread Patrick O'Callaghan
On Wed, 2015-09-09 at 10:25 +0200, Roy Reese wrote:
> On Wednesday, 09/09/2015 Andrea Vai wrote:
> > I was also wondering about a better name... what about "Export
> > Evolution data" and "Import Evolution data"? Despite they would be
> > similar to the below "Import..." menu item, I think that they would
> > be clearly understood as different things (evo vs external data)
> 
> There is probably not a perfect solution to this, but the back and
> forth reminds me that in the Spanish translation Evo uses "respaldar"
> which has the sense of providing support (to back someone/something)
> or in some cases to guarantee. Using "respaldar" for "to back up" may
> be an accepted sense in some Latin American dialects, but here in
> Spain you back up by making a backup copy ("hacer una copia de
> seguridad"). So, in a curious way the Evo "backup" here is already
> distinct from the "backup" we generally think of in English.

Interesting. AFAIK "respaldar" is universally used in Latin America. I
didn't know Spain was different (but then it often is :-)

poc

___
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] Backing up Evolution Data

2015-09-09 Thread Pete Biggs

> Not all of us are on servers.  Also, my laptop (where mail evo with
> my business-related e-mail) is on 24/7 except when going through
> airport security, etc.  The same for my two desktops.  I cannot
> afford to loose what I have on the evo on my laptop. 

If you are doing periodic backups of your home directory on your
laptop, then that is sufficient to backup your Evolution data.

If your email is important to you, which it obviously is, then you
really need to find some way of working with it that doesn't mean that
your definitive copy is only on your laptop.  I'm not trying to tell
you how you should do things, but it seems to me to be inherently more
risky to rely on a laptop that can be lost, dropped, stolen, etc. never
mind the failure aspect.

>  Yes, one of my business e-mail accounts is IMPAX, but the ISP's
> server does not store sent e-mail.

So tell Evo to store your sent mail in some random IMAP folder on the
ISP - call it something like "From Me" rather than "Sent" or "Sent
Mail" or whatever.

>   Incremental backups are a thing of the past with large capacity 2.5
> inch SSDs.

Really??  My backups are stored on a 5Pb system - I still do
incremental weekly backups as there is no way I want my system spending
hours upon hours backing up the same 4Tb every time.

>   The partition where I keep by evo backups (about 6 GB each still
> has more than 60 GB free space).  They are also backed up on
> SpiderOak.  I do not see the objection to doing what works.
> 

The problem is that I (we?) are not entirely sure that it will always
work or work reliably because you are using a feature for a purpose it
wasn't designed for - and when it doesn't work, it will be Evolution's
fault won't 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] Backing up Evolution Data

2015-09-09 Thread Milan Crha
On Tue, 2015-09-08 at 11:01 -0400, Dennis Reichel wrote:
> Cron or scheduled within Evolution, automatic data backups would be a
> great feature.

Oops, I missed this in the previous email.

The backup/restore built in the Evolution is very simple and it is done
by a separate binary, which takes some arguments. The binary is
evolution-backup, located in
   /usr/libexec/evolution/
in my Fedora. Evolution calls it as:
   /usr/libexec/evolution/evolution-backup --gui --backup $FILENAME

It closes the evolution before the backup is run, thus be careful. Also
use --help to get more information about the possible arguments.

In any case, as was said in this thread, the backup/restore is meant to
be used rather for movements of the data between computers, or to have
a backup before update, it's not meant to be used for regular backups.
There are better applications for it.
Bye,
Milan
___
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] Backing up Evolution Data

2015-09-09 Thread Milan Crha
On Tue, 2015-09-08 at 11:01 -0400, Dennis Reichel wrote:
> Thanks John,
> 
> That's helpful information.  My understanding of IMAP is that either
> the message header or header with message body may be downloaded. 
>  For
> a backup to be most useful, the message body should also be included.
>   
> 
> Cron or scheduled within Evolution, automatic data backups would be a
> great feature.
> 
> Also, I'd appreciate a notification when message bodies are not
> available to be backed up and a configuration option to attempt
> downloading missing bodies for backup.

Hi,
just a little clarification about backing up any remote data (including
IMAP, NNTP, EWS, CalDAV, WebDAV, On The Web, ... basically anything
what stores its data into ~/.cache), the built in backup doesn't
store/restore these caches, because that's only a local copy of the
server data, which is about to change the next time the mail folders,
calendars,... are updated. What the backup stores is the description of
the account, thus the next start after restore the evolution can
connect to the server and get fresh data from it. Of course, it has a
disadvantage of loading folder summaries from scratch, which can take
its time when the folders are large. It's still less data than backing
up copy of the server content.
Bye,
Milan
___
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] Backing up Evolution Data

2015-09-09 Thread Roy Reese
On Wednesday, 09/09/2015 Andrea Vai wrote:
> I was also wondering about a better name... what about "Export
> Evolution data" and "Import Evolution data"? Despite they would be
> similar to the below "Import..." menu item, I think that they would
> be clearly understood as different things (evo vs external data)

There is probably not a perfect solution to this, but the back and forth 
reminds me that in the Spanish translation Evo uses "respaldar" which has the 
sense of providing support (to back someone/something) or in some cases to 
guarantee. Using "respaldar" for "to back up" may be an accepted sense in some 
Latin American dialects, but here in Spain you back up by making a backup copy 
("hacer una copia de seguridad"). So, in a curious way the Evo "backup" here is 
already distinct from the "backup" we generally think of in English.
___
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] Backing up Evolution Data

2015-09-09 Thread Andrea Vai
Il giorno mer, 09/09/2015 alle 00.13 +0100, Patrick O'Callaghan ha scritto:
> On Tue, 2015-09-08 at 10:17 -0600, Zan Lynx wrote:
> > > As has been said repeatedly, the "backup" command in Evo is not
> > > intended for periodic backups but for when you need to move your
> > Evo
> > > installation to another machine.
> > 
> > If the Evolution developers are reading this I'd like to point out
> > (again) that expecting people to remember and use an obscure,
> > application-specific backup feature is unrealistic.
> 
> Imagine for a moment that the commands weren't called "backup" and
> "restore", but (say) "pack" and "unpack". See what I mean? They have
> nothing to do with backups as that term is normally understood. In 
> that
> light, the only obscure thing about them is their name, which as 
> I've
> said I think should be changed.

I was also wondering about a better name... what about "Export 
Evolution data" and "Import Evolution data"? Despite they would be 
similar to the below "Import..." menu item, I think that they would 
be  clearly understood as different things (evo vs external data)

Bye,
Andrea

> 
> poc
> ___
> 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