Ubuntu – How to access and backup ~/.gvfs and ~/.cache/dconf


I am creating backup and after completion I got this..

Could not back up the following files. Please make sure you are able to open them.


I through terminal to open these file using

cd /home/vinay/.cache/dconf

It shows

bash: cd: /home/vinay/.cache/dconf: Permission denied

How can I get access to these files?

Is it fine to get permissions or leave as it is and not creating any backup for these files?

Best Answer

You don't need to backup your ~/.cache and ~/.gvfs folders since:

~/.cache contains only the cached data and is used only to speed up access


~/.gvfs folder is the place where GVFS mounts volumes, it would usually be empty if you have not mounted any folders inside it. (Many a times, this is where mobile systems are mounted).

You could ignore this error while backing up.

However, if you really want to back it up, you could read the data using sudo:

sudo cp ~/.cache/dconf/ <destination> -r
sudo cp ~/.gvfs/ <destination> -r

replacing <destination> with the location where you want to backup to, and then enter your administrative password.