Well, not a noob, more like an idiot 😂 EDIT: Yes, on the same drive as my Home folder, etc. And yes, technically they’re snapshots, not backups.

  • xilophor@lemmy.world
    link
    fedilink
    English
    arrow-up
    54
    ·
    edit-2
    15 hours ago

    500 GiB syslog

    I’ve been in a similar situation

    edit: For context, there was a bug with the graphics driver that was putting out an error every frame, at 200+ fps… needless to say, I could actively see the log growing in size

    • MangoPenguin@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      7
      ·
      13 hours ago

      This is what confuses me about Linux defaults, why would it let them grow that large?

      We can tune logging settings to resonable values for the max size and everything, it just doesn’t come that way for some reason.

      • faerbit@sh.itjust.works
        link
        fedilink
        arrow-up
        13
        ·
        12 hours ago

        If you don’t use archaic technologies it actually does. systemd-journald is limited to max(10% FS size, 4GB) per default.

      • Chrobin@discuss.tchncs.de
        link
        fedilink
        arrow-up
        8
        ·
        13 hours ago

        Well, Linux is also made for servers and super computers, and just imagine it refusing to keep logs because the file’s too large

          • Chrobin@discuss.tchncs.de
            link
            fedilink
            arrow-up
            3
            ·
            11 hours ago

            But I think it’s better for it to fail from expected behavior vs unexpected behavior. Your storage being full is very transparent and expected, but that a file reaches max size and starts cutting off is unexpected and would surprise a lot of people.

            I myself use supercomputers and the log files can get into a lot of GB, and I would hate it if it just cut off at some point.

            • MangoPenguin@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              1
              ·
              9 hours ago

              I mean that’s fair, but a supercomputer would be heavily customized so disabling log limits would be part of that if needed.

    • rumba@lemmy.zip
      link
      fedilink
      English
      arrow-up
      5
      ·
      15 hours ago

      Mmmm somebody need some log rotate in their life.

      Oh my production s***'s on point but all the Dave and QA s*** I need at least one failure before I get around to doing law rotate. I guess I should spend the time to make the ansible job.

  • FauxLiving@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    14 hours ago

    Best thing that I’ve ever done was to write automate a weekly script that makes a ZFS snapshot and then deletes any that are over a month old.

    • Logical@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      13 hours ago

      That’s a very good idea. Might wanna keep an additional yearly one too though, in case you don’t use the computer actively for a while and realize you have to go back more than a month at some point.

      • FauxLiving@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        12 hours ago

        Ya, I offsite backup the entire zpool once a year at least. I have quarterly and yearly snapshots too.

        But the weeklies have saved me on several occasions, the others haven’t been needed yet.

  • hansolo@lemmy.today
    link
    fedilink
    arrow-up
    70
    ·
    20 hours ago

    If it makes you fell any better, after doing a fresh install, I tried a “finally finished setting everything up” backup and was immediately out of space.

    Turns out it was saving backups to my boot sector. 🤦🤦🤦🤦🤦🤦

  • PotatoesFall@discuss.tchncs.de
    link
    fedilink
    arrow-up
    41
    ·
    19 hours ago

    we are all noobs in some regard. I’ve been using linux for private and work for 3 years and I don’t know shit about tineshift. linux is such a diverse ecosystem and there’s so many places to make mistakes and learn. It never stops. I fully expect to be bricking my machine on accident well into my 60s

    • lapislazuli@sopuli.xyzOP
      link
      fedilink
      arrow-up
      24
      ·
      edit-2
      19 hours ago

      Learning about new things is the best thing about Linux. I keep a folder with screenshots and saved html pages for all the fixes, workarounds and settings I’ve accumulated over the two years I’ve used Linux on my desktop. Highly recommend keeping a similar folder.

      • pool_spray_098@lemmy.world
        link
        fedilink
        arrow-up
        15
        ·
        18 hours ago

        Yup.

        Every time I fix something difficult I document it in great detail in Obsidian. It’s a good feeling of, ‘‘I’ll never have to be confused by this problem again’’.

        I reference it constantly too, so it isn’t a waste of time. The waste of time would be not doing it.

        • iopq@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          17 hours ago

          I just edit my configuration.nix and commit it to source control. The commit message is the documentation. If I’m feeling extra generous I’d add a comment

      • Elvith Ma'for@feddit.org
        link
        fedilink
        arrow-up
        12
        ·
        19 hours ago

        Everytime I stumble upon something it take some quick notes and put “I should start blogging this” on my bucket list. Then immediately forget about the blogging part until I take the next note…

      • bridgeenjoyer@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        15 hours ago

        I keep a text file with all useful commands on the desktop and have a alias in terminal to access it quickly via nano. Works very well.

    • Tja@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      16 hours ago

      I have been using Linux for over 20 years and this post is the first time I’ve heard about timeshift. I use Arch, btw.

      • PotatoesFall@discuss.tchncs.de
        link
        fedilink
        arrow-up
        5
        ·
        15 hours ago

        ironically, arch users are the only users who I’ve heard talking about timeshift because apparently its the best way to roll back after an update breaks sth?

        • Tja@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          14 hours ago

          Hmmm… My laptop is an x200s I bought new in 2008 and I still have the original install, I dd’d it to an ssd circa 2014 or so and has been happility running since. I have a desktop from 2018 same story, it never broke it beyond repair.

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    13 hours ago

    I recently realized I forgot to use reflink copy on an XFS filesystem and ran duperemove which freed ~600GB of data

        • lapislazuli@sopuli.xyzOP
          link
          fedilink
          arrow-up
          15
          ·
          edit-2
          20 hours ago

          Yeah, snapshots. It would make more sense to store them on a different drive, but I can’t add an additional drive into my PC (it’s a prebuilt so I’m waiting until I can afford a new PC) and I can’t be bothered with saving them to an external hard drive.

          • chellomere@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            18 hours ago

            To be fair, I wouldn’t consider storing it on one additional drive in the same PC to be backup either. One theft, lightning strike, fire or even just a stupid mistake on your own part and that “backup” is a goner

          • gonzo-rand19@moist.catsweat.com
            link
            fedilink
            arrow-up
            1
            ·
            16 hours ago

            Why not just get a bigger case and upgrade the prebuilt over time? A PC is inherently modular, you can replace what you’ve already got pretty easily, piece by piece. Unless you think all of the components are trash and you want to completely start over, of course.

            Even still, an upgraded GPU or CPU will make an immediate impact even on shitty hardware.

  • Sidhean@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    17 hours ago

    “dust” is my go-to cli thing for finding what’s taking up hard drive space.

    Speaking of, I should check my timeshirt settings