Ask / Submit
15

Aurajoki: Updating backup fails

asked 2016-07-29 14:52:21 +0200

wanderer gravatar image

updated 2016-10-26 15:16:52 +0200

jiit gravatar image

I have successfully updated my Jolla Phone to Aurajoki. Now when I select "Backup" in Settings, the Menu suggests to update the backups and select one of the existing ones as a starting point. I have two existing backups, but the update mechanism fails with both. It says "Could not update backup" with a sad smiley and no more useful information.

Anyway creating new backups to memory card works, but there seems to be no way to restore from existing backups. That functionality seems to be blocked due to the problem above.

Edit: Things became even worse, now I can't select backup menu at all, see here.

2nd Edit: This issue was fixed in SailfishOS 2.0.4.14 Fiskarsinjoki. Thanks!

edit retag flag offensive close delete

Comments

2

Had the same problem, my backup contains lots of photos so I guess it exceeded the 1GB /tmp. Thanks for reporting,

Feathers_McGraw ( 2016-08-11 22:43:26 +0200 )edit

@Feathers_McGraw - you say your backup contains a lot of photos, yet in the Backup application, it says Note that Gallery **images** and videos are not included in the cloud back up - how did you back up your images?, just curious :)

Edz ( 2016-09-16 18:52:02 +0200 )edit
1

Is that specific to the cloud backup? Pretty sure the normal backup includes photos.

Anyway, in the end I just copied the photos to an SD card and then started again.

Feathers_McGraw ( 2016-09-16 20:12:53 +0200 )edit

2 Answers

Sort by » oldest newest most voted
8

answered 2016-07-30 02:59:44 +0200

mosen gravatar image

Could this be your problem? I faced it too and only got aware by reading the release notes:

"Currently the backup and restore operations are limited to the size of the /tmp partition, which is typically around 1GB when empty. If this condition is not met, the backup operation creates an erroneous backup, or the restore operation fails to restore the backup correctly. A fix is underway for this, but in the meantime, you can clear the contents of /tmp before doing a backup or restore to maximize the available space. If you have very large files that cannot be well compressed (e.g. videos) or a sizeable collection of large files (e.g. photos) that will cause the /tmp limit to be exceeded, move these to the memory card or some other off-device location before starting the backup/restore. Note that videos and images are not included in cloud-based backups so this is predominantly an issue for memory card backup/restore operations."

edit flag offensive delete publish link more

Comments

Yes that could be the case. On my Jolla phone (the original one) the /tmp partition is only 405 MB according to the output of df -h /tmp.

Anyway it is a bit annoying that it doesn't work but there is no way to get around it.

wanderer ( 2016-07-30 21:48:48 +0200 )edit
2

The option to backup directly to SD card also fails with permission denied, at least in my case:

Start: tar-cvf /media/sdcard/ade74f71-1d5b-4e1b-864b-8b4b1e1e82b6/sailfish_backup_2016-08-07T11-23-23Z.tar /tmp/vault/vault
Done: tar [FAILED] Exit code: 2
Standard error was:
tar: /media/sdcard/ade74f71-1d5b-4e1b-864b-8b4b1e1e82b6/sailfish_backup_2016-08-07T11-23-23Z.tar: Cannot open: Permission denied
tar: Error is not recoverable: exiting now
pmelas ( 2016-08-07 15:38:47 +0200 )edit

Thanks @mosen for pointing this out! I had already forgotten that it was a known issues and said in the release notes.

Note: I got a happy smiley and was erroneously informed that backing up was successful, although it only went to a half way of my Gallery.

JoHe ( 2016-09-09 16:59:57 +0200 )edit

It appears tar is unable to create a file on the SD card. Are you able to write other files to the card? I wonder if the card has failed to mount correctly and thus is not writable, or if the application is trying to write to the wrong partition on the card for other reasons.

blam ( 2016-09-13 10:33:04 +0200 )edit
1

answered 2016-09-15 22:35:47 +0200

cemoi71 gravatar image

I make my question as answer, because i don't want that no one pas it.

in my case i have a backup file with a size around 460mb.
I observe that it collects during the process a lot's things like pictures videos, contact, etc...
I remark this issue described above.
But furthermore, in the archive there is no contact file.
Is it a known issue too?

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2016-07-29 14:52:21 +0200

Seen: 784 times

Last updated: Oct 25 '16