2

I was thinking whether it is a good idea to backup of all directories starting with dot in my home folder, so that all settings can be restored if anything goes wrong. I just had an instance when I had to clear the home folder as Ubuntu was not logging in. As my home folder is huge, I don't want to backup the entire thing.

  1. How can I backup just the .folders.
  2. Will there be any permission issue when I restore.

Is this a good backup option.

4 Answers4

2

Usually, I do backup to external HDD just several .folders simply by copying them in Krusader (I like this manager, because it recalls me old-time Norton Commander :) ). I personally copy the following folders:

  1. .mozilla (there are Firefox settings and other Mozilla stuff)
  2. .thunderbird (copy of offline backup of my emails)
  3. .skype (it's so easy to restore Skype setting and especially History by restoring this folder back)
  4. .dropbox

Of course, you can copy other folders (like gnome-related directories). But I like to configure it 'from scratch'.

Good luck.

Vincenzo
  • 2,685
1

It's not too trivial, becuase if you try to specify hidden files as .*, you automatically include involuntary . and .. - the current and above directory.

tar -cjf configs.tar.bz2 $(find ./ -mindepth 1 -type d -name ".*")

I started the command from a testdir with ./ for find, because the browser-cache, which is quiete big, would take some minutes to be stored on my system.

user unknown
  • 6,892
1

My trick for "just the dot files" is to use a path of .??* that is, dot followed by at least two characters. This avoids implicitly including the parent directory.

0

You can backup skype history to the cloud storages via skyhistory tool