How to exclude Flatpaks from TimeShift?
Which folders and files do I need to exclude from TimeShift?
Also is there a way to also exclude programs installed as .deb ?
I doing this to reduce Backup size as I have limited storage.
100GB - Windows 11
400GB - Storage
400GB - Mint
100GB - TimeShift
Sorry, I don't know where flatpacks are installed (probably in /home/user/.local or /var/lib), but i want to nit-pick:
Its directories, not folders.
So, Folders is a Windows term ?
Edit: it just found this
Exactly:)
Ok now I feel bad for being pedantic and to really helping:
flatpacks are installed
~/.local/share/flatpak
and/var/lib/flatpak
, depending on distro/flatpak installation I think. On my machine they are in~/.local/share/flatpak
, but there are people reporting having them in/var/lib/flatpak
.Source: https://www.reddit.com/r/flatpak/comments/f6uq3z/where_are_flatpaksflatpak_apps_installed/
Btw, I'd also exclude
~/.cache
(for obvious reasons) and everything out outside of/home
.Thank You for helping
I just included my every hidden files and folders in
~/
and now I feel stupid.Are there any other files and folders that I can exclude to save storage in TimeShift ?
Everything outside of your home dir? This will prevent applications and logs and configuration to be backed up.
You can use ncdu cli to see which dirs take the most space.
Thank you.
Ignore the folder .var/app In your homedir, I think this should do the trick
my
/var
doen't have any folder calledapp
. Do you mean/var/lib/flatpak/app
?No,
~/.var/app
Thank You.
I also found
/var/lib/flatpak/app
has significant storage use, because runtimes are stored there.