this post was submitted on 04 Jul 2024
12 points (92.9% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1063 readers
1 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 1 year ago
MODERATORS
 

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
you are viewing a single comment's thread
view the rest of the comments
[–] verstra@programming.dev 2 points 4 months ago (1 children)

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.

[–] gpstarman 1 points 4 months ago (1 children)

Ok now I feel bad for being pedantic No need man🀝🏽

Thank You for helping

I'd also exclude ~/.cache

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 ?

[–] verstra@programming.dev 2 points 4 months ago (1 children)

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.

[–] gpstarman 1 points 4 months ago