How I can backup a hidden directory?
example: I want backup only the thunderbird directory /home/username/.thunderbird o /home/username/.mozilla
???
How I can backup a hidden directory?
example: I want backup only the thunderbird directory /home/username/.thunderbird o /home/username/.mozilla
???
EDIT:
Dampyr_D, have you tried to use the setting “Default directories to backup:” for the Linux client (Separate settings for this client)?
Another way to backup specific folders - and the way I do it - is to use the program urbackupclientctl
with a terminal using the parameter add-directory
. You can get a help by using the following command:
urbackupclientctl add-directory --help
Maybe try the following command to add your paths:
urbackupclientctl add-directory -x -f -d /home/username/.thunderbird
and
urbackupclientctl add-directory -x -f -d /home/username/.mozilla
EDIT:
I’ve got a similar question. I want to skip all hidden files and folders. Thus, ignore all files and folder which starts with a dot.
I recognized that if I backup my home directory, all hidden folders are also backed up. I’m not interested in backing up those files so I’d like to ignor/skip them.
How can I manage that using Linux (Mint 18.1).
Thanks!
I tried to set an exclude filter under the client settings of my Linux machine (Separate settings for this client). I set the filter to: .*
But this didn’t help!
Some other ideas or tipps?
/EDIT:
Sorry for multi-posting, but I had to try something out. Well, it seems that the wildcards in Linux don’t take effect.
I tried the following as “Excluded files (with wildcards):” values:
.*
(unfortunately, didn’t work).a*;.b*;........
(didn’t work).adobe;.cliqz;.cache;.dmrc;.local;.bash_history;.bash_logout;.....
(WORKED!)Well, as you see, only method 3 worked out. So maybe this can be fixed so that Linux clients can use .*
as “Exclude files” option
You should try */.*
. Only in the home directories: /home/:/.*
Perfect, uroni, this works perfectly. So you just add :/.*
to the folder you want not to backup hidden files/folders and that’s it. Really nice.
Is that documented somewhere?