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
  • Krafting
    link
    fedilink
    22 months ago

    Ignore the folder .var/app In your homedir, I think this should do the trick

  • @verstra
    link
    22 months ago

    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.

        • @verstra
          link
          22 months ago

          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.

          • @[email protected]OP
            link
            fedilink
            12 months ago

            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
              link
              22 months ago

              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.