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

How user can take backups out of device [released]

asked 2013-12-12 00:46:35 +0300

dez gravatar image

updated 2014-04-14 13:52:15 +0300

If user wants to perform factory reset (s)he needs to save backup snapshots outside of device internal memory. Is it possible?

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by dez
close date 2014-04-14 13:53:37.498812

Comments

1

now backup stores contacts, sms, browser history, gallery, accounts and playlists but doesn't store notes; should be better if it could

michdeskunk ( 2014-01-18 16:37:14 +0300 )edit

I would welcome the function to export the backups to my OwnCloud instance.

Hirager ( 2014-01-31 07:54:21 +0300 )edit

@Hirager Backup software (the-vault) is open source (UI is not yet, but anyway it is just plain qml/js), so features and fixes are welcome :)

dez ( 2014-02-12 09:47:28 +0300 )edit

@michdeskunk It is planned to be added. Also it can be added by users with sw engineering skills: backup script "api" is very simple

dez ( 2014-02-12 09:49:14 +0300 )edit

5 Answers

Sort by » oldest newest most voted
27

answered 2013-12-12 00:55:47 +0300

dez gravatar image

Now it is possible to take it out only if Developer mode is on, it can be done through ssh connection or from Terminal. Backup snapshots storage is stored in the /home/nemo/.vault directory and the best way is to make a tar archive from it and store it on SD card. So, to get backups archived on SD card (do not forget to insert it :-) ) one can execute (in ssh session or in Terminal):

# tar cf $XDG_RUNTIME_DIR/media/sdcard/vault.tar -C $HOME .vault

and to get it back after factory reset (it should not touch sdcard contents):

# cd $HOME && tar xpf $XDG_RUNTIME_DIR/media/sdcard/vault.tar
edit flag offensive delete publish link more

Comments

When I connect the Jolla to the PC using USB and PC mode, I can see the .vault folder in the PC file manager. Wouldn't it be sufficient to:

  1. Create backup (using the feature provided in the Settings).
  2. Copy the .vault folder to the PC.

(continued in next comment)

jgr ( 2014-01-02 17:01:09 +0300 )edit

.3. When needed (i.e. after factory reset), copy the .vault folder back to the Sailfish | Phone Memory (i.e. $home directory)

.4. Restore it (using the feature provided in the Settings | Backup).

???

(Sorry, did not fit into 1 comment.)

jgr ( 2014-01-02 17:01:33 +0300 )edit
2

@jgr Do you mean Windows PC? If so - surely no, Windows drops information about permissions/ownership. If Linux - maybe also not: iirc MTP does not expose this information.

Soon there will be ability to export/import backups to/from SD card.

dez ( 2014-01-03 12:10:15 +0300 )edit

Is the backup a hidden file? After running that command File Browser says SD card is empty.

Bubbles ( 2014-01-05 22:45:24 +0300 )edit

@Bubbles SD card does not contain backup now. It is in the internal (!6Gb) flash memory. And this is hidden directory

dez ( 2014-01-06 22:04:15 +0300 )edit
7

answered 2013-12-28 17:29:33 +0300

Jutsco gravatar image

It would be nice that user could backup it to computer through WiFi or USB. And when it's needed to do some recovery actions, it would be nice that user can transfer it from PC to phone and after few taps and reboot all should be done.

edit flag offensive delete publish link more

Comments

2

@Jutsco Yeah, it seems like right now you have to be at least a level 42 rocket scientist to pull it off :P

gukke ( 2013-12-30 03:51:28 +0300 )edit

Rocket science is simple, rocket engineering is difficult.

brisalta ( 2014-10-01 17:40:53 +0300 )edit
3

answered 2013-12-13 15:29:37 +0300

rainisto gravatar image

updated 2013-12-13 15:30:22 +0300

You can also use rsync and/or http://code.google.com/p/rsync-backup/ which also handles incremental backups. (If you have developer mode enabled).

edit flag offensive delete publish link more
2

answered 2014-04-14 13:53:13 +0300

dez gravatar image

Use Dump/restore to/from memory card from Backup UI menu. It is available since Update #4

edit flag offensive delete publish link more

Comments

but it's not working... See here : https://together.jolla.com/question/33933/backup-to-sd-10420/

pizzulicchio ( 2014-04-24 02:31:33 +0300 )edit
1

answered 2013-12-12 13:02:04 +0300

Liz gravatar image

Do not forget to reboot after you have restored from backup.

edit flag offensive delete publish link more

Comments

5

Mandatory reboot after restoration should appear in some upcoming update

dez ( 2013-12-12 13:09:00 +0300 )edit

Question tools

Follow
21 followers

Stats

Asked: 2013-12-12 00:46:35 +0300

Seen: 7,927 times

Last updated: Apr 14 '14