Can you safely delete the /home/nemo/.vault directory ? [answered]
This directory takes up 3GB on my Jolla. Can I delete it? I am thinking it is related to backups...
We have moved to a new Sailfish OS Forum. Please start new discussions there.
This directory takes up 3GB on my Jolla. Can I delete it? I am thinking it is related to backups...
It contains all your backups. If you delete it you will loose all your backups, but nothing else will happen.
Edit: Please read the comment from @rcasta74 below before deleting the .vault folder! Please have also a look at the comment from @dez in this answer.
If you remove it, you will no more able to run backup gui. To restore it try to executed following command from terminal or ssh session (it worked for me):
the-vault -V /home/nemo/.vault -a init -g "user.name=Happy Sailor,user.email=sailor@jolla.com"
this command creates a folder .vault in your home and creates .git and .vault into it To restore original permissions execute
chmod g-w -R /home/nemo/.vault/
and (as root)
chown -R nemo:privileged /home/nemo/.vault
After that, running backup gui, folder .modules will be created and you will be able to make backups again.
I hope this information is usefull to someone
rcasta74 ( 2014-01-15 22:05:35 +0200 )editBecause of some very large files I deleted I had 9GB in .vault. Somehow I couldn't clear it even by deleting the backups. So I deleted the .vault folder. That's where the trouble started. The instructions given above didn't work! There's something wrong about the syntax of it. In particular the-vault cannot parse user.name with spaces. Git can, but it seems the-vault cannot.
So the fix is
the-vault --vault=/home/nemo/.vault --action=init --git-config="user.name=Happy_Sailor,user.email=sailor@jolla.com"
Then continue with the two other commands
Note the underscore instead of the space. I suppose you can really give any name and email you like. Preferably your own real one. the-vault also allows to pass a global identity with the --global switch.
I'm also curious to know if I could have fixed that .vault space problem in a cleaner way by giving the command 'the-vault --vault=/home/nemo/.vault --action=clear' I did not try it.
DownTwist ( 2015-05-04 18:09:54 +0200 )editThis thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2013-12-25 23:23:42 +0200
Seen: 1,107 times
Last updated: Jan 24 '14
Deleted backup in settings but remains in ~/.vault taking space
What's wrong with making backup of Gallery? [answered]
[feature-request] Ability to abort the backup process & enhance usability
.vault uses 95% of /home directory
Which directories to back – and which not?
Backup won't restore all data correctly
Finding your contacts in Backup.tar
Vault backup to sd in recovery mode