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

cant find .vault [answered]

asked 2014-02-12 11:57:17 +0200

algirdukas gravatar image

updated 2014-02-12 12:22:07 +0200

after 1.0.3.8 update folder .vault is invisible when connecting to pc. (cant copy backup), any solution to solve problem ?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by molan
close date 2017-11-14 16:16:43.286667

Comments

As you can see using Android OI File Manager for example, the /home/nemo/.vault folder is still there (File Browser does not show it with standard settings). However, it is hidden -- certainly by purpose. Because there is no sense in just copying to the PC (see answer below), it does not make sense to expose it to the PC. Using Terminal you can as a user (i.e. without rot access):

  • See the directory: dir -a ~/
  • Access the directory: cd ~/.vault.
jgr ( 2014-02-12 17:40:36 +0200 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2014-02-12 12:31:54 +0200

chemist gravatar image

It is not a good idea to just copy .vault over as permissions and ownership are not exported to MTP. just copying it over to the sdcard is not a good idea either but

you may export it to your sdcard (or to a folder exported to MTP) as a .tar

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

read this https://together.jolla.com/question/53/how-user-can-take-backups-out-of-device/

edit flag offensive delete publish link more

Comments

1

Use czf for additional gzip compression.

marsch ( 2014-02-12 13:42:02 +0200 )edit

@marsch compression will only consume processor power and time but most probably will not allow to save significant amount of space: biggest files are ordinary pictures and videos and they are already compressed

dez ( 2014-02-12 17:58:28 +0200 )edit

This command does not work for me. What am I doing wrong?

Last login: Wed Feb 12 22:25:57 2014 from silver-pc.lan NOTICE: Env value ignored QT_GSTREAMER_CAMERABIN_FLAGS=15 ,--- | SailfishOS 1.0.3.8 (Naamankajärvi) (armv7hl) '--- [nemo@localhost ~]$ # tar cf $XDG_RUNTIME_DIR/media/sdcard/vault.tar -C $HOME .v ault [nemo@localhost ~]$

Silwer ( 2014-02-12 23:19:49 +0200 )edit

@dez YMMV, but images/videos consume neglectable space on my handset, thus compression makes quite some sense. BTW it would make more sense to symlink .vault to an appropriately formatted sdcard anyway, since this is where the majority of backups go usually.

marsch ( 2014-02-12 23:38:07 +0200 )edit

@Silwer Check with echo if your environment variables are set. If not, cd to ~ and issue tar cvf vault.tar .vault and mv your vault.tar archive wherever you want. You surely know where your sdcard is mounted.

marsch ( 2014-02-12 23:40:25 +0200 )edit

Question tools

Follow
1 follower

Stats

Asked: 2014-02-12 11:57:17 +0200

Seen: 635 times

Last updated: Feb 12 '14