We have moved to a new Sailfish OS Forum. Please start new discussions there.
38

Backup restore from jolla1 to C not work

Tracked by Jolla (In release)

asked 2016-06-20 13:05:52 +0300

Bysmyyr gravatar image

updated 2016-07-22 15:04:06 +0300

jiit gravatar image

Hi,

I tried to make an backup and move it to C. I only see some of them(oldest first btw) but not all. Also atleast that one which I tried did not worked.

update: after taking oldest of them, I see also the most recent one, lets see if that works. update2: that not work

edit retag flag offensive close delete

Comments

1

restore to a device works reliably only when the backup is done from same (or close lower) softwaare version.

juiceme ( 2016-06-20 14:10:04 +0300 )edit
16

Reported to the team.

Joona Petrell ( 2016-06-20 15:21:42 +0300 )edit
1

Yeap, reported to the team already. I don't heaven have the time to post on TJC :) Thanks for this Joona !

occirol ( 2016-06-20 20:11:22 +0300 )edit
2

How do you restore a backup on the Jolla C? I can only see an option to Update Backup.

skanky ( 2016-07-18 15:40:55 +0300 )edit

4 Answers

Sort by » oldest newest most voted
14

answered 2016-07-21 19:56:20 +0300

kelvan gravatar image

updated 2016-07-21 21:26:13 +0300

I converted my Jolla1 backup data to the JollaC by hand

My starting point was a new backup tar file created on JollaC.
I copied it and the content of .vault (Jolla1) to my Linux machine.
Than I simply copied the content of each folder in .vault (Phone, People, ...) in the /tmp/vault/vault folder of the tar archive (using gnome file-roller)

After copying the changed tar file to the JollaC sdcard I was able to restore it in Settings->Backup.

Edit: written a small script to convert old Jolla1 backup to new version: https://gist.github.com/kelvan/8457fe760852359b05d4a495bad9ce75

If called without parameters it tries to extract backup from .vault folder (on Jolla1), provide path to Backup.tar to run on your local Linux machine (needs git installed)

edit flag offensive delete publish link more

Comments

the manual procedure described above worked for me! Thanks!

argonius ( 2016-07-22 20:27:06 +0300 )edit

thank you very much! At first it did not work. but a short check on /tmp revealed that it was way too full to work. After removing all the contents i tried restoring the file created by your script and it worked like a a charm. The official way of upgrading the backup file did not work.

Shoppinguin ( 2016-08-01 00:22:45 +0300 )edit

The script worked, thanks. However, for People (Contacts), a manual import of all.vcf was needed.

Rolfa ( 2016-08-30 09:32:31 +0300 )edit
8

answered 2016-07-21 14:52:21 +0300

chalupa gravatar image

updated 2016-07-21 14:53:12 +0300

Any backup made with a Sailfish version prior to 2.0.2.43 will not work at all with Jolla C since the format has slightly changed. But using the file provided by Sailfish 2.0.43/.45 will work flawlessly with Jolla C: contacts, sms, calendar & accounts are well restored. As a side note, to make the sdcard to work with Jolla C is likely that you have to solve by hand a reported bug of wrong permissions.

edit flag offensive delete publish link more

Comments

3

than it would be time to provide an official release of that version for Jolla 1 ?

dmnk ( 2016-07-21 14:58:40 +0300 )edit
3

@dmnk: since they haven't released it yet (which is rather a faulty behaviour), they should hurry up to bring it out as soon as posible. Being in vacation time doesn't help either, so it seems that the schedule has not been very well arranged.

chalupa ( 2016-07-21 15:10:33 +0300 )edit
2

This could be a workaround for some, but it is not a solution. I made the backup when my Jolla was still working, then I used the N900 for some time before getting Jolla C and now expected to be able to recover the backup.

I have little to no way of doing the thing suggested. Besides, I think that changing the way backups work without providing backwards compatibility is a no-go.

nodevel ( 2016-07-21 17:49:10 +0300 )edit
1

Backup utility on Jolla 1 under 2.0.2.43/5 has the option to update files made with the old format. But I tried once with not a big success, so in the end the easiest way for me was to make a new one and, then, everything fine. I have to agree with nodevel that this is not the most proper way of dealing with such a susceptible thing as backups.

chalupa ( 2016-07-21 18:11:39 +0300 )edit
4

am i the only one finding it a bit worrying that the backup restore does not handle old formats? Sure it's more work to be backwards compatible, but we are talking backups here. They are sort of made for us to be able to restore them at a later point.

slaveriq ( 2016-07-21 23:07:48 +0300 )edit
6

answered 2016-07-19 01:09:53 +0300

Nokius gravatar image

For me the Restore on the JollaC worked after I removed the old Backup.tar and all other backups from the sd-card. After that I created a new Backup on the Jolla1 and then I was able to restore successfully

edit flag offensive delete publish link more

Comments

not working for me :-(

meldolion ( 2016-07-19 21:41:37 +0300 )edit

which way are you going to restore? within the app i chose update but this is not working

meldolion ( 2016-07-19 21:44:06 +0300 )edit
3

Yes, the key is to make a backup using the new format given by 2.0.2.43/45 and the generated file in the sdcard, with filename pattern "sailfish_backup_2016-07-??T??-??-???.tar", will work out pretty well with the Jolla C. It is clear that the previous backup format, the one with filename 'Backup.tar', is no longer supported.

chalupa ( 2016-07-20 20:33:53 +0300 )edit
2

@chalupa: thx, deserves the status of an answer! So you mean only changing the format of the file name solves the problem. Could you check if everything was restored alright?

lakutalo ( 2016-07-21 13:55:21 +0300 )edit
3

@lakutalo: What I mean is that any backup made with a Sailfish version prior 2.0.2.43 will not work at all with Jolla C (as I said above, the format has slightly changed). But using the file provided by Sailfish 2.0.43 (or 45) will work flawlessly with Jolla C. Well, at least in my case everything was restored ok: contacts (tried before bluetooth sync but it didn't work so well, btw), sms, calendar & accounts. As a side note, to make the sdcard to work with Jolla C is likely that you have to solve by hand a reported bug of wrong permissions

chalupa ( 2016-07-21 14:41:18 +0300 )edit
1

answered 2016-10-27 14:38:59 +0300

jovirkku gravatar image

We have delivered a fix for the issue of "Backup restore from jolla1 to C not work" in 2.0.4.

edit flag offensive delete publish link more

Comments

Will there be an update to move from fellow Jolla 1 to Sailfishx / Xperia with less probs for non techies?

Look here

zemideluxe ( 2017-10-21 18:25:42 +0300 )edit
Login/Signup to Answer

Question tools

Follow
11 followers

Stats

Asked: 2016-06-20 13:05:52 +0300

Seen: 2,050 times

Last updated: Oct 27 '16