Bug 279145 - i can't restore akonadi backup done with akonaditray
Summary: i can't restore akonadi backup done with akonaditray
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 09:49 UTC by omega
Modified: 2012-05-21 23:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.4


Attachments
Patch to solve the restore akonadi backup problem (838 bytes, patch)
2012-05-21 21:21 UTC, Prasad Murthy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description omega 2011-08-02 09:49:48 UTC
Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

hi, i'm using kde 4.7 on kubuntu oneiric...i'm trying to restore akonadi backup using akonaditray but i have this error:


ERROR 1049 (42000): Unknown database '</tmp/kde-omega/akonadizlhe6k/db/database.sql'
akonaditray(3777) Restore::restore: Executed: "/usr/bin/mysql" ("--socket=/home/omega/.local/share/akonadi/socket-omg-lin/mysql.socket", "--database=akonadi", "</tmp/kde-omega/akonadiZLHE6k/db/database.sql")  Result:  1 

Reproducible: Always

Steps to Reproduce:
- run akonaditray
- click on restore backup

Actual Results:  
 fail to restore

Expected Results:  
success to restore

OS: Linux (x86_64) release 3.0.0-7-generic
Compiler: gcc
Comment 1 Prasad Murthy 2011-10-31 19:53:42 UTC
Same problem occurs in KDE 4.7.2
Comment 2 Myriam Schweingruber 2011-10-31 19:55:29 UTC
Confirmed by comment #1
Comment 3 humufr 2012-03-20 19:15:52 UTC
Problem still here with 4.8
Comment 4 Prasad Murthy 2012-05-21 21:21:31 UTC
Created attachment 71275 [details]
Patch to solve the restore akonadi backup problem
Comment 5 Prasad Murthy 2012-05-21 21:22:47 UTC
Use the above patch
Comment 6 Allen Winter 2012-05-21 23:12:34 UTC
Git commit c5aa7bf7a73d1d3b6cfb3ce2875d38902e6d2e8d by Allen Winter.
Committed on 22/05/2012 at 01:11.
Pushed by winterz into branch 'master'.

Fix restore akonadi backup
Thanks for the patch phoenix_firebrd!
FIXED-IN: 4.8.4
MERGE: 4.8

M  +2    -2    tray/restore.cpp

http://commits.kde.org/kdepim-runtime/c5aa7bf7a73d1d3b6cfb3ce2875d38902e6d2e8d
Comment 7 Allen Winter 2012-05-21 23:13:02 UTC
Git commit eac525394d19c034ba51960b42a2608703116f94 by Allen Winter.
Committed on 22/05/2012 at 01:11.
Pushed by winterz into branch 'KDE/4.8'.

Fix restore akonadi backup
Thanks for the patch phoenix_firebrd!
FIXED-IN: 4.8.4
MERGE: 4.8
(cherry picked from commit c5aa7bf7a73d1d3b6cfb3ce2875d38902e6d2e8d)

M  +2    -2    tray/restore.cpp

http://commits.kde.org/kdepim-runtime/eac525394d19c034ba51960b42a2608703116f94