This forum has been archived. All content is frozen. Please use KDE Discuss instead.

issue restoring akonadi backup

Tags: None
(comma "," separated)
biasquez
Registered Member
Posts
34
Karma
0
OS

issue restoring akonadi backup

Tue Aug 02, 2011 9:45 am
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
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: issue restoring akonadi backup

Sat Aug 06, 2011 4:07 am
This appears to be a bug in the Akonadi data restore tool unfortunately. It is trying to use Bash syntax, which isn't working. Please try executing, in your terminal:

Code: Select all
/usr/bin/mysql --socket=/home/omega/.local/share/akonadi/socket-omg-lin/mysql.socket --database=akonadi < /tmp/kde-omega/akonadiZLHE6k/db/database.sql


That should restore the backup.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
biasquez
Registered Member
Posts
34
Karma
0
OS

Re: issue restoring akonadi backup

Sat Aug 06, 2011 9:14 am
bcooksley wrote:This appears to be a bug in the Akonadi data restore tool unfortunately. It is trying to use Bash syntax, which isn't working. Please try executing, in your terminal:

Code: Select all
/usr/bin/mysql --socket=/home/omega/.local/share/akonadi/socket-omg-lin/mysql.socket --database=akonadi < /tmp/kde-omega/akonadiZLHE6k/db/database.sql


That should restore the backup.


your command restore fine backup but when i can't restore config file (for example account settings)...moreover i see that akonadi tool has problem to do a backup too...( missing bzip2 or mysqldump)...how can i restore config file or install akonadi tool with backup/restore working?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: issue restoring akonadi backup

Mon Aug 08, 2011 6:49 am
Unfortunately i'm not sure how to restore the configuration. Please send an email to the kdepim-users@kde.org mailing list regarding this.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]