July 13, 2022, 2:26pm
Hi! I recently stepped over kopia when looking for an alternative to the unmaintained BackInTime and I fell in love
For me, it took some time to figure out, what should be ignored in the backups. Of course, this surely depends a lot upon the use case. But I guess that there might be a typical set of files that can typically be ignored under Linux or Windows.
I post here the config I’m currently using to backup my home dir (both for Linux and Windows). Suggestions are welcome!
Have you thought about including typical configs you can easily as basis to create your own policies?
BTW: The policy “ignore well-known cache directories” is described by “ignore directories containing CACHEDIR.TAG and simliar”. What exactly is ignored when I set this to true?
July 13, 2022, 2:49pm
In case you want to backup your complete Linux system, you might want to add
July 20, 2022, 11:09pm
@peter I think this might be a good place to start building the list. You already have a few things going on, here’s what I have for backing my linux home directory:
.socket files are particularly required as they are locked by systemd, so Kopia will have errors backing them up.
August 14, 2022, 10:38am
Thanks for adding your version
August 18, 2022, 2:13am
On Windows, here is my ignore for my home directory:
Do you guys know of applications or CLI commands that give total disk space utilized by a list of folders, in windows as well as Linux?
For Windows I like to use
WinDirStat, for Linux ncdu.
I use both of them! But instead of providing total space from a given folder+child folders, I was looking for a way to input a list of folders (my excluded folders)
Ah, sorry, I misunderstood. For linux it might be useful to use:
du -csh `cat folders.txt`
(or simply list the folders after du -csh).
March 8, 2023, 11:33am
Quick question, how would one correctly capture all of these exclusions: