Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I found a folder called ~/.local/share/TpLogger/logs. If I just copy that folder, and paste it into a new installation, will my logs be preserved? Or will they not be associated with the new accounts? I don't want to risk it until I know for sure.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Yes, that will work on Ubuntu 10.10.

On 10.04 (and I assume older versions), the folder you need to copy is ~/.local/share/Empathy/logs/ .

If you use nautilus (the default file manager) to copy/paste the folder, you will need to allow it to 'merge' the folders when you paste.

You could use this command to backup:

cp -r ~/.local/share/Empathy/logs/* /path/to/backup/directory/empathy-logs

or cp -r ~/.local/share/TpLogger/logs/* /path/to/backup/directory/empathy-logs

And this command to restore:

 cp -r /path/to/backup/directory/empathy-logs/* ~/.local/share/Empathy/logs/

or cp -r /path/to/backup/directory/empathy-logs/* ~/.local/share/TpLogger/logs/

share|improve this answer
    
There is no folder ~/.local/share/Empathy on my Maverick install. Only ~/.local/share/TpLogger/logs, which definitely contains my Empathy logs (I can read the XML files in plain text to make sure). –  Matthew Sep 17 '10 at 20:13
1  
Sorry, I didn't notice the 10.10 tag. I have now corrected my answer. –  dv3500ea Sep 18 '10 at 13:30

~/.local/share/TpLogger/logs is the path to the empathy logs. The version of Empathy in Maverick uses telepathy-logger to log.

I haven't tested restoring those, but I think account names are consistent, so should work.

share|improve this answer
2  
Just tested on a fresh install of the Maverick beta. The account/folder names are consistent, and everything worked as expected. –  Matthew Sep 18 '10 at 0:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.