-- do i need to specify full path of directory(as I have done), and it needs to be
enclosed in < > ?
Yes, full path of directory is ok. But no need of “<” and “>”.
-- is template name "nokias60" or "Nokia S60" , In GUI drop down it
shows as "Nokia S60"
I think it shouldn’t be template name. It should be config name. Because the config
contains the information about where to restore the data(such as evolution).
'--restore' option is used to restore the data saved before or after a sync to
your local database, like evolution.
So make sure you have a config which specify the database you want to restore to.
1) syncevolution --template Ovi myovi #create a template, its default database is
evolution
2) syncevolution --restore /home/suyog/.cache/syncevolution/virus-2010-07-28-01-13
--before myovi memo #restore data from 'virus-2010-07-28-01-13' to your
evolution specified by config 'myovi'
*warning: please remember that your memo of your evolution will be overwritten by the
memos in your "/home/suyog/.cache/syncevolution/virus-2010-07-28-01-13" once
using '--restore' command.
Cheers,
Yongsheng
From: Suyog [mailto:suyog@ovi.com]
Sent: Wednesday, July 28, 2010 2:29 PM
To: Zhu, Yongsheng; Ohly, Patrick
Cc: syncevolution(a)syncevolution.org; Zhu, Yongsheng
Subject: Re: RE: Please help - restore from backup syncevolution
syncevolution --restore
</home/suyog/.cache/syncevolution/virus-2010-07-28-01-13> --before --dry-run
"nokias60" memo
Please don’t use the ‘—dry-run’ option to restore . This option is used to try the command
without doing any changes. This command will restore the data stored in that directory to
your local PC(evolution).
I tried above command without "--dry-run" but nothing happened. Data was not
restored to Evolution. I cant not see log directory also being created for this.Please
confirm if I am using correct syntax here.
-- do i need to specify full path of directory(as I have done), and it needs to be
enclosed in < > ?
-- is template name "nokias60" or "Nokia S60" , In GUI drop down it
shows as "Nokia S60"
Your quick reply will be highly appreciated.
Best Regards,
Suyog
From: Suyog [mailto:suyog@ovi.com]
Sent: Wednesday, July 28, 2010 5:03 AM
To: Ohly, Patrick
Cc: syncevolution(a)syncevolution.org; congwu.chen(a)intel.com
Subject: Please help - restore from backup syncevolution
Patrick,
Today I had very bad day with sync, initially normal sync from my Nokia E52 with
ovi.com
messed up many contacts with numbers from different contacts getting into different
people.
So i decided to clean phone,
ovi.com and restore from PC. Then I did sync with phone and
PC with
Ovi.com
Somehow I forgot to set sync direction for Notes and Notes were deleted from both phone
and PC(Outlook)
I still have contacts, Calendar but not sure if it's all well.
So my only reliable data was in Evolution which I had synced few days back. I decided to
try that with syncevolution on bluetooth. To be on safer side I decided to start with
calendar+todos and memo(notes)
Since I wanted to restore these to my phone, I had disabled "receive changes from
phone" but when i did sync it was completed with no change log in main screen. But I
found that now data was gone from both phone and Evolution. I thought as if I lost
everything. But then i released that there is some backup.
When I checked log directory, i indeed found that before/after states being recorded for
each sync. I then tried your suggestion as in following link.
http://www.mail-archive.com/syncevolution@syncevolution.org/msg01286.html
But it didnt help. actually i couldnt understand it to be honest. could you please help me
here? I am attaching my screenshots of log directory. Please let me know how to enter
command.
i want to restore before states in directory virus-2010-07-28-01-13, i tried in following
command with memo
but when i used this command nothing happened
syncevolution --restore </home/suyog/.cache/syncevolution/virus-2010-07-28-01-13>
--before --dry-run "nokias60" memo
Also in syncevolution GUI , i cant see any backup which i can restore. see screenshot
attached.
Could you please help me? I am really in trouble as I have lost all notes, calendar,
contacts and Evolution logs are only last hope.
Best Regards,
Suyog
-------------------------------------------------------------- Ovi Mail: Making email
access easy
http://mail.ovi.com
-------------------------------------------------------------- Ovi Mail: Making email
access easy
http://mail.ovi.com